Expanding this formula

Mikest

New Member
Joined
Mar 5, 2002
Messages
20
Hi All,

I want to add extra condition to this statement, but having problems doing so.

Standard formula
=IF(G6<=2200,L10)
This works fine, want to add IF(G6>2200,< 2500,L11) OR IF(G6>2500 <3000,L12)

Any help is much appreciated..
Ta
Mike
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try this:

=IF(G6<=2200,L10,IF(G6<2500,L11,IF(G6<3000,L12,"")))

You can embed up to 7 if statements. If you need more than that, there are ways around it by using more than one cell, each with your "maximum IF" equation, then a consolidation cell that sums the other cells containing your "maximum IF" equations. There are likely more efficient ways to do this, but since I don't know any better, I've found this works for me.

Dale
 
Upvote 0
On 2002-04-17 21:24, dpolson wrote:
Try this:

=IF(G6<=2200,L10,IF(G6<2500,L11,IF(G6<3000,L12,"")))

You can embed up to 7 if statements. If you need more than that, there are ways around it by using more than one cell, each with your "maximum IF" equation, then a consolidation cell that sums the other cells containing your "maximum IF" equations. There are likely more efficient ways to do this, but since I don't know any better, I've found this works for me.

Dale

Hi Dale,

Don't sell yourself short. Your response is *the* standard way to do this, and it is so for a reason -- because it is straightforward and it works (very well). Nobody will find a solution that is significantly more efficient.

Nice job.

Bye,
Jay
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,924
Members
448,533
Latest member
thietbibeboiwasaco

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