If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Basic formula issue.. Stuck

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-07, 11:08
Brent Blevins Brent Blevins is offline
Registered User
 
Join Date: Jun 2007
Posts: 65
Basic formula issue.. Stuck

I have the following formula.


=IF(D10>(C10+20),"B",IF(D10<=C10,"G"))


Basically if the value of Cell D10 is = to C10 + 20, I want to place a "B" in my cell. If D10 is Less Than or Equal To C10 I want a "G" placed in my cell.

When I type the numbers in the cells i get the following results:
If D10 is Greater than C10 the formula does not work and the value in the cell is "FALSE".

If D10 is Less Than or Equal To C10, the formula works

I hope this makes sense, any ideas?
Reply With Quote
  #2 (permalink)  
Old 10-10-07, 11:36
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Try this
Code:
=If(D10=C10+20, "B", If(D10<=C10, "G", ">C10"))
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On