View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EddS EddS is offline
external usenet poster
 
Posts: 7
Default Using the IF Command

correction to G

=IF(C14<"",5,IF(D14=0,5,0))

"Eugene" wrote:

How do I set up my worksheet to use the IF Command.

I have Columns C D E G in a Row

C can only have a value of 1 to 5. If this value is filled in D & E must be
blank and G should be 5

D can only have a value of 0. If filled in C & E must be blank and G should
be 5

If C & D is blank E should have NA and G should be 0