Formula for IF greater than a value include in current formula

AdamAU

New Member
Joined
Sep 15, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I am trying to get a excel formula to display a certain text if a cell value is greater than a number and include it in the formula i currently have below. I must keep the formula below, so just want to incorporate another step i guess in this formula.



=IF(EG34<=50.61,"Fail",IF(AND(EG34>=50.61,EG34<52.62),"Pass with Error"))



All i need is to be able to include is if cell eg34 value is greater than 52 then it will display "Pass".



currently the cell is just displaying FALSE but i need it to display PASS based on is the other cell is greater than a number/value.



How can i incorporate that into the above formula? Every time i have tried it won't work.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I am trying to get a excel formula to display a certain text if a cell value is greater than a number and include it in the formula i currently have below. I must keep the formula below, so just want to incorporate another step i guess in this formula.



=IF(EG34<=50.61,"Fail",IF(AND(EG34>=50.61,EG34<52.62),"Pass with Error"))



All i need is to be able to include is if cell eg34 value is greater than 52 then it will display "Pass".



currently the cell is just displaying FALSE but i need it to display PASS based on is the other cell is greater than a number/value.



How can i incorporate that into the above formula? Every time i have tried it won't work.
Does this work? You also need to figure out if Fail is less than 50.61 or if Pass with Error is greater than 50.61. Both conditions should not include equal to. Currently as you have it, 50.61 exactly will never get to Pass with Error because it satisfies the Fail condition.

Excel Formula:
=IF(EG34<50.61,"Fail",IF(AND(EG34>=50.61,EG34<52.62),"Pass with Error","Pass"))
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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