I think it should be swapped. That is =IF(ISBLANK(B1),“”,A1)
OP wants something to happen if it’s not blank.
You may also be able to say =IF(B1=“”,“”,A1)
I might be off on the syntax, but I think that will say if B1 is blank, then leave it alone, else A1.
I’m sure there’s differences, but this one might be a bit more straightforward. Also, it gives you the ability to easily change it from checking to see if it’s blank to checking to see if it contains some specific value.
I wasn’t sure how much programming experience the OP has. A little bit of high school BASIC goes a loooong way with this kind of thing. In any case, I actually did (intentionally) sneak that in.
It does but =ISBLANK(Trim(a1)) returns a FALSE if a1 contains only a space.
TRIM doesn’t remove spaces between words and I guess it interprets a single space as “between words”
I’m sure there’s a way to nest these different functions into a single formula, but if there might be any spaces or other invisible characters in your “blank” column, it could be more intuitive to perform two separate steps: first copy column B and “cleanse” the copy, then use your ISBLANK formula on the cleansed column.
Various ways to clean up any spaces are shown here.