IF statement to return a text string linked to conditional formatting

MarkR3003

New Member
Joined
Aug 11, 2019
Messages
25
Could you please advise if its possible to have an IF formula statement in cell B7 when two conditions are true, one of which is using conditional formatting (red bold text based on a formula condition in another validation cell)?

AB
1NAMETITLE
2MarkManager
3
4NAMEDEPT
5Tom(blank)
6
7RESULT
NOK

<tbody>
</tbody>

<tbody>
</tbody>
Condition 1: Cell has conditional formatting applied (Red and Bold text) i.e A2 and A5 (I have multiple cells which are not adjacent to each other)
Condition 2: Cell to the right of condition 1 cell is not blank i.e B5
Result: If B2 or B5 are blank = "NOK". If both B2 and B5 contain a text or number = "OK"

Many thanks for your help as always

Mark
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
What's the rule for determining if values in column A are bolded in red? We can probably incorporate that into the B7 formula, but there's no formula way to determine if a cell has Conditional Formatting applied.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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