Make the date Bold if day is Sunday.

shyam

Active Member
Joined
Jul 18, 2005
Messages
302
I have a list of dates from 1st to 31st of the month in Column A. In column B, is the day, which is linked to column A correspondingly. Now, if the date in column A happens to be a Sunday, the column B should show Sunday in Bold.

eg.

column A Column B
1.9.06 Friday
2.9.06 Saturday
3.9.06 Sunday
4.9.06 Monday

column A Column B
4.8.06 Friday
5.8.06 Saturday
6.8.06 Sunday
7.8.06 Monday

Is there any formula/conditoning format whereby as and when I enter the date the day in next column if it falls on Sunday becomes Bold.?

Tks n rgds
Shyam
 
Select all the columns you want to highlight (so if your rows cross from Column A to Column J, select all those columns)

Click on Format, Conditional Format,
Change Cell Value is to Formula Is:
Put this in the formula box:
=WEEKDAY($A1)=1
Click on Format, select your formatting options
Click OK
Click OK

I'm using Column A in the formula because that's the column you said held the dates.
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Dear Mr. Hotpepper

Thank you for your reply. It is working great...

One more thing, alternatively, in case I want to colour the whole row, i.e. from a1 to iv1, without highlighting the range, then what would be the alternate formula ?

Tks n rgds
Shyam
 
Upvote 0
Hi Shyam

Apply the formula HOTPEPPER gave you to each column. Easiest way is to highlight your range and do Format>Conditional Format>select Formual is enter the formula, set the format
Click OK
ClickOK

KR


Dave
 
Upvote 0
Why don't you want to highlight the whole sheet? It can be done with one mouse click by clicking in the square in the left uppermost corner of the sheet between the row headers and the column headers.
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

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