If cell = this, show this.

Asw091

New Member
Joined
May 28, 2017
Messages
24
Hi guys, from looking up formulas online I made this, where am I going wrong? it just returns an error.

=IF((d5)={<90%,<95%,<100%,>105%,<110%,<115%,<120%,<125%,<130%,<135%,>135%)},{C23,C24,C25,C26,C27,C28,C29,C30,C31,C32,C33}))

It may be something so simple but I can't for the life of me figure it out.

thanks.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
the formula should looks like

=if(D5<90%,C23,if(D5<95%,C24,if(D5<100%, etc etc ))))

or

=LOOKUP(D5-0.0001,{0,0.9,0.95,1,1.05,1.1,1.15,1.2,1.25,1.3,1.35},C23:C33)
 
Last edited:
Upvote 0
From Excel 2007 onward, you can nest up to 64 IF statements.
Good to know. I thought that it had changed, but wasn't sure with which version. I am surprised it is that far back. I thought it would be something like 2013 or 2016.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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