Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Location: Washington DC
Posts: 5
Default Confusing multiple answer function

I am trying to figure out how to use an IF statement, but want more than two answer options.
I want to, based on a range determine if a score is low, within normal limits, or high. Here is what I am trying to do:
If c26 is less than 15 then "Low"
If c26 is greater than 14 and less than 34 then "WNL"
If c26 is greater than 33 then "high"

Thanks for any help you can provide.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Confusing multiple answer function

On Thu, 15 Nov 2007 20:16:01 +0000, mcowan3
wrote:


I am trying to figure out how to use an IF statement, but want more than
two answer options.
I want to, based on a range determine if a score is low, within normal
limits, or high. Here is what I am trying to do:
If c26 is less than 15 then "Low"
If c26 is greater than 14 and less than 34 then "WNL"
If c26 is greater than 33 then "high"

Thanks for any help you can provide.


=if(c2633,"high",if(c2614,"WNL","Low"))


--ron
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Confusing multiple answer function

Ron has given you an answer, but rather than "Confusing multiple answer" you
might have entitled your thread "Confusing question". You have defined a
condition for C26<15, but then your next condition starts with C2614, so
it's unclear what you want for values between 14 and 15. You have a similar
ambiguity between 33 and 34. You may wish to reconsider your requirements?
--
David Biddulph

"mcowan3" wrote in message
...

I am trying to figure out how to use an IF statement, but want more than
two answer options.
I want to, based on a range determine if a score is low, within normal
limits, or high. Here is what I am trying to do:
If c26 is less than 15 then "Low"
If c26 is greater than 14 and less than 34 then "WNL"
If c26 is greater than 33 then "high"

Thanks for any help you can provide.
--
mcowan3



  #4   Report Post  
Junior Member
 
Location: Washington DC
Posts: 5
Default

David, The numbers on this spreadsheet are all whole numbers, but I guess if I were to include everything between I would use <= 15, =14 and the same for 33 and 34.

Thanks for pointing out the flaw in my logic, i will adapt the answer to make sure I cover all of the bases.
Marshall

Quote:
Originally Posted by David Biddulph[_2_] View Post
Ron has given you an answer, but rather than "Confusing multiple answer" you
might have entitled your thread "Confusing question". You have defined a
condition for C26<15, but then your next condition starts with C2614, so
it's unclear what you want for values between 14 and 15. You have a similar
ambiguity between 33 and 34. You may wish to reconsider your requirements?
--
David Biddulph

"mcowan3" wrote in message
...

I am trying to figure out how to use an IF statement, but want more than
two answer options.
I want to, based on a range determine if a score is low, within normal
limits, or high. Here is what I am trying to do:
If c26 is less than 15 then "Low"
If c26 is greater than 14 and less than 34 then "WNL"
If c26 is greater than 33 then "high"

Thanks for any help you can provide.
--
mcowan3
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
VLookup confusing jag53 Excel Worksheet Functions 4 June 28th 07 04:26 PM
multiple lists that return an answer v&sr4JC Excel Worksheet Functions 1 March 24th 07 05:14 AM
Confusing Problem Cincy Excel Discussion (Misc queries) 2 July 13th 06 09:19 PM
Rebate incentive - Multiple tier payback - Confusing if Statement IntricateFool Excel Discussion (Misc queries) 2 March 28th 06 11:13 PM
Get Vlookup to look at multiple Rows for the answer KDuxbury Excel Worksheet Functions 1 October 12th 05 03:21 PM


All times are GMT +1. The time now is 01:09 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"