Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 138
Default Writing an "IF" Statement

I am trying to write an "IF" statement into a spreadsheet that will let the
user know if they are to advance to the next step or not. My formula will
incorporate the following information:

IF D2 is greater than or equal to 95.0 and E2 is less than 0 then I want the
answer to be 2

IF D2 is equal to 94.9 or greater than 85 and E2 is less than 0 then I want
the answer to be 1

IF D2 is less than 85 and E2 is less than 0 then I want the answer to be 0

Any assistance you can give to how I should write this statement is greatly
appreciated.
--
Paula
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Writing an "IF" Statement

Try something like this:

=SUM(--(D2={85,95}))*(E2<0)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Paula" wrote:

I am trying to write an "IF" statement into a spreadsheet that will let the
user know if they are to advance to the next step or not. My formula will
incorporate the following information:

IF D2 is greater than or equal to 95.0 and E2 is less than 0 then I want the
answer to be 2

IF D2 is equal to 94.9 or greater than 85 and E2 is less than 0 then I want
the answer to be 1

IF D2 is less than 85 and E2 is less than 0 then I want the answer to be 0

Any assistance you can give to how I should write this statement is greatly
appreciated.
--
Paula

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
embedding "ISERROR" function into an "IF" statement [email protected] Excel Worksheet Functions 8 January 4th 07 12:01 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
"IF" statement & "strikethrough" formatting jijy Excel Worksheet Functions 3 March 22nd 06 06:56 PM
writing an "if then" macro BitsofColour Excel Worksheet Functions 1 February 24th 06 02:53 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"