#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default IF questions

Is it possible to setup a question in excel that can have more than two
answers for example:

If over 50 do A
If over 70 do B
If over 90 do C

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF questions

When you say 'Do A' you can't call a macro but you can have an If statement
that checks a value for 3 conditions:-

=IF(A190,"Do C",IF(A170,"Do B",IF(A150,"Do A","Unspecified")))

Because you don't say what you want if the condition is less that 50 the if
statement above will reyrun 'Unspecified'

If you really want to 'Do something' i.e. run a macro then this would
require a different approach.

Mike

"andiparsons29" wrote:

Is it possible to setup a question in excel that can have more than two
answers for example:

If over 50 do A
If over 70 do B
If over 90 do C

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default IF questions

=IF(A190,actionC,IF(A170,ActionB,actionA))

Note order of tests.

There is an Excel limit of 7 IF tests (unless this changed in 2007 whichI
don't have)

HTH

"andiparsons29" wrote:

Is it possible to setup a question in excel that can have more than two
answers for example:

If over 50 do A
If over 70 do B
If over 90 do C

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default IF questions

64 in 2007, I think.

http://office.microsoft.com/en-us/ex...738491033.aspx
--
David Biddulph

"Toppers" wrote in message
...
....
There is an Excel limit of 7 IF tests (unless this changed in 2007 whichI
don't have)

....


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
007 questions Gklass Charts and Charting in Excel 5 February 5th 07 04:40 PM
007 questions Gklass Charts and Charting in Excel 0 February 4th 07 05:05 PM
Max / IF questions G Excel Discussion (Misc queries) 1 October 12th 05 03:27 AM
Questions??? Metalteck Excel Discussion (Misc queries) 2 May 24th 05 08:18 PM
I have tow questions: filo666 Excel Discussion (Misc queries) 1 March 2nd 05 05:34 PM


All times are GMT +1. The time now is 01:22 AM.

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

About Us

"It's about Microsoft Excel"