IF Statements

gothung

New Member
Joined
Jun 3, 2002
Messages
32
Is there anyway to use more than 7 arguments in an IF statement? Or is there another function that can give you essentially the same results from IF statement without limitations on the number of arguments. (I need 10)


Any help would be greatly appreciated.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
gothung said:
Is there anyway to use more than 7 arguments in an IF statement? Or is there another function that can give you essentially the same results from IF statement without limitations on the number of arguments. (I need 10)



Any help would be greatly appreciated.


VLOOKUP...maybe

Post some data
 
Upvote 0
One option I have seen mentioned in this forum is to create a second set of conditions in another column. Check for the first 5 conditions in cell 1 and the 2nd 5 in cell 2 then add them together if the result is numeric as an example.
 
Upvote 0
if you're actually working in VBA instead of directly in a cell's formula, the Select Case code seems to work very well for any number of conditions.

-Joshua Wise
 
Upvote 0
you could always use AND or OR function in your IF statement. i believe they can take up to thirty different criteria options. if not enough, nest up to seven IF functions.

hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,716
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top