Macro or formuale help required comparing cel

Closed
NT - 13 May 2009 à 06:46
Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 - 14 May 2009 à 02:43
Hello,
I've got Excel 2003 with 2 columns of data A & B with people names in it. Column A is always populated with data (a name), column B isn't always populated (with a name) its either present or not.

I've got to a point whereby if there is nobodys name in a row cell for column B (i.e. its an empty cell) I want the contents to the right of that particular cell (i.e. persons name in column A) copied to another column i.e. C

Its probably simple but I'm not sure how to do this so any help would be appreciated.

Many thanks
NT

1 response

Excelguru Posts 261 Registration date Saturday 11 April 2009 Status Member Last seen 21 June 2011 307
14 May 2009 à 02:43
put the following formula in cell C1,
=if(B1="",A1,"")