conditional formatting on selected cells only

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello guys,

This is again about conditional formatting. The values in cells A: I in row9 are a must to be in row5. If the Headings from A:I, are not in row5 from A to Z then I would like to color only those values in row9, like in the image with the help of conditional formatting.
Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1
2
3
4
5DateParticularsAddressVoucher No.NarrationABCDEFGHIJKLMNOPQRST
6
7
8
9DateParticularsVoucher No.Supplier Invoice No. & DateGross TotalRound OffGSTIN/UINNarrationAddressAEIMQUYCGKOSWX123456
10
11
Color compulsory values
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Got it. Thanks to jtakw. Edited his previous formula and got it right.?
Rich (BB code):
=AND(A9<>"",COUNTIF($A5:$AA5,A9)=0)
Rich (BB code):
=$A$9:$I$9
 
Upvote 0
Solution
Got it. Thanks to jtakw. Edited his previous formula and got it right.?
Rich (BB code):
=AND(A9<>"",COUNTIF($A5:$AA5,A9)=0)
Rich (BB code):
=$A$9:$I$9

Hi,

Happy you were able to modify the CF formula from your previous post for your new requirement. (y)
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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