Quick formula for "If, Then"

GMC The Macro Man

Board Regular
Joined
Mar 23, 2023
Messages
64
Office Version
  1. 2021
Platform
  1. Windows
Hi team
What would be the best way to write this formula
In C2 I want to ask....
If A2 is BLANK then STOP, IF A2 >=75 AND B2="Pass", then PROMOTED, else ""
I have been fooling about with this for hours and I cannot get it
Thanks as always

1692781366164.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
=IF( A2="","Stop", IF( AND( B2="PASS",A2 >=75),"promoted", ""))
 
Upvote 0
Solution
Hi Wayne
Many thanks for your reply, which was the same way I was trying to do it, so at least it made me feel I wasn't being stupid.
I found the reason why it would not work. In Col A, its a formula that returns the Test Result in a PERCENTAGE format so in the image above, A3 should actually read 70% and its the % symbol that I should be entering in the formula. I was just entering the number
=IF( A2="","Stop", IF( AND( B2="PASS",A2 >=70%),"promoted", ""))

Every day is a school day eh
Thanks again Wayne
 
Upvote 0

Forum statistics

Threads
1,216,533
Messages
6,131,216
Members
449,636
Latest member
ajdebm

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