IF statement to return a text string linked to conditional formatting

MarkR3003

New Member
Joined
Aug 11, 2019
Messages
23
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
 

Some videos you may like

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Eric W

MrExcel MVP
Joined
Aug 18, 2015
Messages
10,781
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,128,107
Messages
5,628,729
Members
416,333
Latest member
Time2Learn

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
Top