View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Danny Lewis Danny Lewis is offline
external usenet poster
 
Posts: 44
Default Simple If formula but can't get my head around it!

Hi Cheryl

=IF(A2="","",IF(A2=326,"Pass","Fail"))

Danny

"Cheryl" wrote:

I have column A which has a score in it . In column B I have the formula:

=IF(A2=326,"Pass","Fail")

This works ok but enters Fail even if there is no entry in column A. I want
to add to the formula the condition that if the cell is blank then the cell
in column B should also be blank.

I would be grateful for any help,

Thanks,

Cheryl