+ Reply to Thread
Results 1 to 11 of 11

Need help color the current MONTH,WEEK and DAY

  1. #1
    Registered User
    Join Date
    03-08-2017
    Location
    Norway
    MS-Off Ver
    Professional Plus 2010
    Posts
    5

    Need help color the current MONTH,WEEK and DAY

    Hello!
    I am Working on a calendar project for work.
    I was wondering if there is possible to create a formula that automatic change the current Month, week and day as illustrated in the example file.
    I have experimented alot using conditional formatting with no luck.

    Thanks for the help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    What are the CF rules? Green for current Month, Week number and Day?

    It would be much better (easier) if the row 3 entries were Excel dates formatted as "D" rather just a number.

  3. #3
    Registered User
    Join Date
    03-08-2017
    Location
    Norway
    MS-Off Ver
    Professional Plus 2010
    Posts
    5

    Re: Need help color the current MONTH,WEEK and DAY

    Yes, Green for current Month, week number and day. If possible. othervise i would be happy with just the current day displaying green color. But then i need to format my cells to date? or am i wrong?

    The only reason why i am using just the number of the day in the month instead of a date is these small cells just show "##" when its to much text. I want my cells to be this small. So if it is a way to use date format and still be able to see the date it would be nice.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    If you enter the dates but format the cells as "d" you will just get the DAY value (1 to 31)

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    With dates in ROw3:

    Select row 3

    in CF

    =C3=TODAY()

    FORMAT==>Fill==> Colour==>OK
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    03-08-2017
    Location
    Norway
    MS-Off Ver
    Professional Plus 2010
    Posts
    5

    Re: Need help color the current MONTH,WEEK and DAY

    Sweet! that did the job! Thanks alot
    Do you have a solution for row 1 and 2?

    Edit:
    I changed the format for the month, and formatted it as "m". the cell now displays 1,2 and 3 (and with my formula month 3 is green). Is it possible to store these value but have january, february and mars displayed instead?
    Last edited by grenbeach; 03-08-2017 at 09:31 AM.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    If format as "mmm" or "mmmm" you will get "Jan" or "January" etc

  8. #8
    Registered User
    Join Date
    03-08-2017
    Location
    Norway
    MS-Off Ver
    Professional Plus 2010
    Posts
    5

    Re: Need help color the current MONTH,WEEK and DAY

    Thanks alot!
    So now ive got month and day to change color.

    Im reading on google how to format cells to week, and how to calculate week from date using WEEKNUM. But im stuck..
    Shout out if you have a solution for this aswell :D

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    For MONTH

    Select row 1

    CF

    =MONTH(C3)=MONTH(TODAY())


    Select row 2

    CF

    =C2=WEEKNUM(TODAY())
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    03-08-2017
    Location
    Norway
    MS-Off Ver
    Professional Plus 2010
    Posts
    5

    Re: Need help color the current MONTH,WEEK and DAY

    Thanks! Now it works perfectly

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,883

    Re: Need help color the current MONTH,WEEK and DAY

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. VBA to calculate AVERAGEIF and SUMIF for current week/month/year
    By lostest in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2016, 07:35 AM
  2. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  3. [SOLVED] Date Formula to Return Week Number in Current Month based on Reporting Period
    By jeversf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 12:10 PM
  4. Replies: 4
    Last Post: 03-21-2011, 05:37 PM
  5. Change color of current month only
    By Kutar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2010, 01:13 PM
  6. Show week number in current month
    By DKerr in forum Excel General
    Replies: 4
    Last Post: 02-23-2006, 05:25 PM
  7. [SOLVED] Change Cell Color if in current Month
    By Ron de Bruin in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 12:05 PM

Tags for this Thread

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