Cell O5,P5, Q5,R5 & S5 are merged and contains one value. I need O7 to S9 to be conditionally formatted based on the value of Cells O5 TO S5. Request

anildubey

New Member
Joined
Jan 8, 2021
Messages
11
Office Version
  1. 2013
Platform
  1. Windows
Cell O5,P5, Q5,R5 & S5 are merged and contains one value.
I need O7 to S9 to be conditionally formatted based on the value of Cells O5 TO S5.
Request please help urgently
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi, you didn't mention the condition so this is just an example using the "with a formula" method.

Book15
OPQRS
55
6
760205
8351299
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O7:S9Expression=O7>=$O$5textNO
 
Upvote 0
Thanks for your prompt reply. Request, please help in the attached file wherever Saturday & Sunday comes all the columns below the merged cell shall become all "RED".
This should happen for all the SATURDAYS & SUNDAYS in the month and accordingly it should change dynamically on changing the month from cell C2.

Please help & will be obliged dear.
 
Upvote 0
Thanks for your prompt reply. Request, please help in the attached file wherever Saturday & Sunday comes all the columns below the merged cell shall become all "RED".
This should happen for all the SATURDAYS & SUNDAYS in the month and accordingly it should change dynamically on changing the month from cell C2.

Please help & will be obliged dear.
MREXCEL-AD-08-01-2021.xlsm
B
1
OT
 
Upvote 0
Hi, you need to select/highlight the cells that you want to show before pressing the "capture range" button and pasting here.
 
Upvote 0
As I mentioned in one of the other threads you started on this, there is a Test Here forum you can practice/test using this tool there before posting to this thread, to make sure that you are using it correctly.
 
Upvote 0
Hi, you need to select/highlight the cells that you want to show before pressing the "capture range" button and pasting here.
JANFirst Date#######Last Date#######
In OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOT
Sr. No.NameidgenFriSatSunMonTueWedThuFriSatSun
01-Jan02-Jan03-Jan04-Jan05-Jan06-Jan07-Jan08-Jan09-Jan10-Jan
1ALB110:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
2BS1110:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
3DFRTda21510:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
4ERTY2510:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
5UYTR5810:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
6FGHTR9810:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
7GHIK11210:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
8Harneet Kaur36910:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
9LKK25010:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
10TKK58910:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
11KK2810:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
12LL3310:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
13MM36610:00 AM7:30 PM9:308:450:4510:00 AM7:30 PM9:308:450:45
 
Upvote 0
Hi, you can try like this with the "using a formula" method of conditional formatting.

The formula is
Excel Formula:
=LEFT(LOOKUP(2,1/($E$5:E$5<>""),$E$5:E$5),1)="S"
which is applied to
Excel Formula:
E7:BB19

Book3
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABB
1
2JANFirst Date01/01/2021Last Date31/01/2021
3
4In OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOTIn OutWNOT
5Sr. No.NameidgenFriSatSunMonTueWedThuFriSatSun
601/01/202102/01/202103/01/202104/01/202105/01/202106/01/202107/01/202108/01/202109/01/202110/01/2021
71ALB1
82BS11
93DFRTda215
104ERTY25
115UYTR58
126FGHTR98
137GHIK112
148Harneet Kaur369
159LKK250
1610TKK589
1711KK28
1812LL33
1913MM366
Sheet1
Cell Formulas
RangeFormula
M2M2=DATEVALUE("1"&C2)
R2R2=EOMONTH(M2,0)
E5,AX5,AS5,AN5,AI5,AD5,Y5,T5,O5,J5E5=TEXT(E6,"ddd")
E6E6=M2
J6,AX6,AS6,AN6,AI6,AD6,Y6,T6,O6J6=IF(E6<$R$2,E6+1,"")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E7:BB19Expression=LEFT(LOOKUP(2,1/($E$5:E$5<>""),$E$5:E$5),1)="S"textNO
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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