Hi,
I have the following table on the attached workbook.2020-02-10_11-58-15.jpg
Can you help me how excel can automatically color the week cells, based on the entered start and end week?
Thanks!
Hi,
I have the following table on the attached workbook.2020-02-10_11-58-15.jpg
Can you help me how excel can automatically color the week cells, based on the entered start and end week?
Thanks!
Last edited by JoakimBugge; 02-10-2020 at 07:25 AM.
Administrative note
Welcome to the forum
in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?
Please take a moment to read it and attach a sheet accordingly.
Thanks you for helping us help you
A B C D E F G H I J K L M N O 1 Month Jan Feb Mar 2 Week 1 2 3 4 5 6 7 8 9 10 11 12 13 3Start week End week 4 1 7 5 5 11 6 3 8
Macro colouring weeks as declared colour in col A.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
You can do it in one operation using conditional formatting with this rule:
=AND(C$2>=$A4,C$2<$B4)
This should apply to the range $C$4:$R$5, though this will just give you one fill colour for that range.
Hope this helps.
Pete
Agreeing with Pete but a slight amendment
=AND(C$2>=$A4,C$2<=$B4)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks