Hi everyone.
I need to find anytime a cell has the word 'floor' (not case sensitive) in it, then grab the word floor with the word before it.
For example: I have a cell that contains '1 Batesville Blvd./1st floor'. I need to be able to see if the cell has 'floor' in it (which this cell does) and then return '1st floor'.
Sometimes the cell may say ''1 Batesville Blvd./1st floor/120' and I need to be able to only pull the '1st floor' part. (the 120 refers to a room)
So far, all I have is
which allows me to see if the cell has 'floor' in it.
Ideas? Thank you in advance for your help!!!
John
I need to find anytime a cell has the word 'floor' (not case sensitive) in it, then grab the word floor with the word before it.
For example: I have a cell that contains '1 Batesville Blvd./1st floor'. I need to be able to see if the cell has 'floor' in it (which this cell does) and then return '1st floor'.
Sometimes the cell may say ''1 Batesville Blvd./1st floor/120' and I need to be able to only pull the '1st floor' part. (the 120 refers to a room)
So far, all I have is
Code:
=IF(ISNUMBER(SEARCH("*floor*",A1)),"floor","")
Ideas? Thank you in advance for your help!!!
John