Need help with my Formula ....Trying to figure out a Formula where two values have to be less than or equal to 130/80...

tradich

New Member
Joined
Apr 18, 2018
Messages
1
Hi,

I'm trying to figure out a formula where someone has to meet BOTH values for Blood Pressure of 130/85.
1= met and 0 = not met
(both systolic and diastolic need to be met to earn)

So, If the BP of 125/80 they earn a 1 and if it's 130/90, they get a 0.

My formula is below but cannot figure out what I'm missing.... (O is diastolic and P is Systolic)

=IF(AND(O2<130,P2<85),1,0)

Thank you!! ;)
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
try either of

=IF(AND(O2<=130,P2<=85),1,0)

=AND(O2<=130,P2<=85)+0
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,728
Members
449,465
Latest member
TAKLAM

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