IF And statement for multiple cells - follow-up

the87boy

New Member
Joined
Aug 26, 2006
Messages
18
As I have made some modifications to the formula in this thread
http://www.mrexcel.com/forum/showthread.php?t=572061

I will make it easier for new helpers to help me, as they do not have to read the whole thread

The data is
A | B | C | D
1 | 1.9 | a | b
2 | 2.9 | b | c
... and so on

In F I have some numbers e.g. 1.5 and 2.3, and the formula I need is similar to this, but I will hear, if it is possible to limit the IF-statements and how
=IF(NOT(AND(F2>=A1;F2<=B1));IF(NOT(AND(F2>=A2;F2<=B2));"Error";2);1)

I need 1 and 2, so I can both get C and D
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

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