Blank a dated cell

AlanStrobel

New Member
Joined
Aug 22, 2013
Messages
10
Trying to get the highlighted cells with Friday date to be be blank if it should and filled in if there is a 5th Friday.

1731072484395.png
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
why is the 2nd feb not highlighted

you could use conditional formatting and change font

using something like
=WEEKDAY(A1,1)=6
where a1 is a date

how do you know the year

what version of excel

Book3
AB
14MondayFALSE
15TuesdayFALSE
16WednesdayFALSE
17ThursdayFALSE
18FridayTRUE
19SaturdayFALSE
20SundayFALSE
21MondayFALSE
22TuesdayFALSE
23WednesdayFALSE
24ThursdayFALSE
25FridayTRUE
26SaturdayFALSE
27SundayFALSE
28MondayFALSE
29TuesdayFALSE
30WednesdayFALSE
31ThursdayFALSE
32FridayTRUE
33SaturdayFALSE
34SundayFALSE
35MondayFALSE
36TuesdayFALSE
37WednesdayFALSE
Sheet2
Cell Formulas
RangeFormula
B14:B37B14=WEEKDAY(A14,1)=6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A14:B37Expression=WEEKDAY(A14,1)=6textNO
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also, can you give us some sample data with XL2BB that includes some months that do have 5 Fridays as well as some months that do not have 5 Fridays?
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
On guess. Try.
In T3 copied down.
Excel Formula:
=IF(ROWS($T$3:$T3)=1,DATE(2024,1,1)+6-WEEKDAY(DATE(2024,1,1),1),IF(MOD(ROWS($T$3:$T3),5)=0,IF(MONTH($T2+7)=MONTH($T2),$T2+7,""),MAX($T$2:$T2)+7))
Format Cells as
Custom --> d mmm
1731251659941.png
 
Upvote 0

Forum statistics

Threads
1,223,941
Messages
6,175,535
Members
452,652
Latest member
eduedu

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