![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Apr 2002
Posts: 1
|
I am needing to use a function similiar to IF (which returns one value if a condition is True, and another value if the same condition is False), but have more than 2 conditions (requiring more than just True or False). Is there a function that will help me?
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
You can try some nested IF statements or IF with SUMPRODUCT. Maybe you need to use COUNTIF or COUNTA. Really hard to tell without an example or more information.
__________________
Kind regards, Al Chara |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,510
|
An example is definitely in order.
You could need to OR or AND some IF statements. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 11,730
|
If your test can be represented as a number instead of true or false, you can use the CHOOSE function. This will give you 31 options. If it can't, you might be able to combine VLOOKUP to get the desired result (ie A number from 1 -31)and then use CHOOSE.
|
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Monterrey, Mexico
Posts: 1,433
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|