IF And issue

Brown

Board Regular
Joined
Sep 14, 2009
Messages
198
Office Version
  1. 365
Thank you in advance for your assistance.
I have a data sheet I am trying to pull specific ranges from onto two other sheets. I am looking to identify all grades >69 <80, and the corresponding name . I am able to use IF to locate the names of people below 70 (<70) and above 89 (>89) for two of my sheets. When I try to use the IF(AND I am not getting a return. Here is the formula I am using =IF(AND('60 Day DATA'!B:B>69,'60 Day DATA'!B:B<80),'60 Day DATA'!A:A," ") Can you help me understand where I am going wrong?
I appreciate your assistance.
Brown
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
AND destroys all ranges and reduces them to one value. So if you are trying to maintain an array, do something like:

Excel Formula:
=IF(('60 Day DATA'!B:B>69)*('60 Day DATA'!B:B<80),'60 Day DATA'!A:A," ")

So I replaced the AND with just multiplying the two comparisons together. This will maintain the array.

note - if you wanted OR, you'd add the expressions instead of multiplying.

But - I'm not at all sure that I understand what you wanted.
 
Upvote 0
That worked perfectly! Thank you so much!
Have a great day.
Brown
 
Upvote 0

Forum statistics

Threads
1,215,124
Messages
6,123,187
Members
449,090
Latest member
bes000

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