Not sure about how you say if a cell is blank to do this, but just sort the data so all the empty titles cells are at the top then put this formula in column D:Originally Posted by TTej
=IF(G1="male","Mr","Ms")
THIS IS ASSUMING THAT G ONLY CONTAINS 'male' or 'female' Otherwise this code will put Mr for 'male' and Female for anything else (e.g. if male had been mistyped)
Hope this helps,
Tim.
Bookmarks