If one cell says "text" and one cell is # between range formula

adam1993

New Member
Joined
May 16, 2018
Messages
16
I am having trouble finding the right formula for cells.

In column A, I have the words either "Over 200" or "Under 225". In column B I have a range of numbers anywhere from 180 to 240. In column C is where I want the formula to work.

I am looking for a formula that goes like this..... If column A says Over 200 and column B is between 197 and 204 then column C says "Yes" but I also want it to include if column A says Under 225 and column B is between 220 and 230 then column C says "Yes", and if neither of these conditions are met, then it says "No".

Pleaseeeeee help me out. :confused:
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I made a mistake.

Formula in cell C1:

=IF(((A1="Over 200")*(B1>=197)*(B1<=204))+((A1="Under 225")*(B1>=220)*(B1<=230)),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,215,756
Messages
6,126,692
Members
449,330
Latest member
ThatGuyCap

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