+ Reply to Thread
Results 1 to 3 of 3

Formatting by week

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Formatting by week

    Hi, I need help coloring for the week.
    In the attached file I would like to be able to color line 10 as line 16,
    by week and, changing the month, they adapt to the week
    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,458

    Re: Formatting by week

    This is a bit tricky, as I am not entirely clear how you want it to look, but you can use this in C17 drag copied across to calculate the week number:

    =WEEKNUM($C$2+COLUMNS($C17:C17)-1,2)

    You will need rules for each of the colours:

    =C17=$C17

    =C17=$C17+1

    =C17=$C17+2

    =C17=$C17+3

    =C17=$C17+4

    =C17=$C17+5
    Attached Files Attached Files
    Last edited by AliGW; 02-15-2020 at 05:53 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Formatting by week

    fast and perfect as always
    Thank you
    Solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional Formatting for days of the week
    By bryanhope in forum Excel General
    Replies: 3
    Last Post: 06-19-2017, 03:38 PM
  2. Replies: 2
    Last Post: 10-03-2016, 08:35 AM
  3. [SOLVED] Highlight week number using Conditional formatting - shows incorrect week
    By spliffter in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-26-2016, 09:52 AM
  4. [SOLVED] Conditional Formatting to show week over week improvement/decline
    By erikw48 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-15-2015, 10:22 AM
  5. [SOLVED] Conditional Formatting for Day of Week
    By mdt175 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-13-2014, 08:21 PM
  6. How to: identify repeat offenders within a 3 week period (week per week basis)
    By Heloc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2012, 12:43 AM
  7. Conditional Formatting Days of the Week
    By braydon16 in forum Excel General
    Replies: 3
    Last Post: 01-13-2011, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1