Hi all,
I'm trying to use the if statement to check for blank cells and then do something if the cell is blank, and if not then leave the cell as is.
Below is the formula I'm currently using.
=IF(AP2="",IF(ISNUMBER(SEARCH(Sheet1!$B$2,BF2)),"Apartment",IF(ISNUMBER(SEARCH(Sheet1!$B$3,BF2)),"House",IF(ISNUMBER(SEARCH(Sheet1!$B$4,BF2)),"Office",IF(ISNUMBER(SEARCH(Sheet1!$B$5,BF2)),"Shop",IF(ISNUMBER(SEARCH(Sheet1!$B$6,BF2)),"Shop"," "))))),AP2)
Note that without the first part IF(AP2="" the formula is working perfectly. However, when I want it to apply only on blank cells it doesn't seem to work and for every cell it returns a zero.
I would appreciate any help.
Thank you!
I'm trying to use the if statement to check for blank cells and then do something if the cell is blank, and if not then leave the cell as is.
Below is the formula I'm currently using.
=IF(AP2="",IF(ISNUMBER(SEARCH(Sheet1!$B$2,BF2)),"Apartment",IF(ISNUMBER(SEARCH(Sheet1!$B$3,BF2)),"House",IF(ISNUMBER(SEARCH(Sheet1!$B$4,BF2)),"Office",IF(ISNUMBER(SEARCH(Sheet1!$B$5,BF2)),"Shop",IF(ISNUMBER(SEARCH(Sheet1!$B$6,BF2)),"Shop"," "))))),AP2)
Note that without the first part IF(AP2="" the formula is working perfectly. However, when I want it to apply only on blank cells it doesn't seem to work and for every cell it returns a zero.
I would appreciate any help.
Thank you!