+ Reply to Thread
Results 1 to 12 of 12

Active week with dates

  1. #1
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Active week with dates

    Hey guys,

    Please I a list of weeks and dates
    I.e Week 1 ( Jan 1-8 ) Week 2 ( Jan 9-14) Week 3 ( 15 -22) up to Week 52 ( Dec 24-31)
    for instance today is jan 15 , therefore as soon as open the spreadsheet , I would like to have this active Week 3 shown as well as
    last and next week



    Please any help

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    Hi kuzna26, if you just want to hide other weeks perhaps you can try using Conditional Formatting to hide/show it?
    I.e. make the font of all your weeks as White (or same as cell background), then use CF to make last/this/next week font to something visible, say Black...



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Active week with dates

    Quote Originally Posted by alvin-chung View Post
    Hi kuzna26, if you just want to hide other weeks perhaps you can try using Conditional Formatting to hide/show it?
    I.e. make the font of all your weeks as White (or same as cell background), then use CF to make last/this/next week font to something visible, say Black...



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

    Please would send me how to use CF to do so , please if you can send me a spreadsheet

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    Sure, but perhaps it's much easier/speedy if you could share a sample spreadsheet and we could try on it thereafter?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  5. #5
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Active week with dates

    Quote Originally Posted by alvin-chung View Post
    Sure, but perhaps it's much easier/speedy if you could share a sample spreadsheet and we could try on it thereafter?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

    Please find attached the spread sheet
    Thank you ,
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    It took me a while to realize that it was in Portugese language and your week start from Saturday
    I had modified your dates in row 5 to real dates for cf calculation and created 2 cf so that each time you re-open the file current week will be highlighted in orange and last/next week will be highlighted in gray

    See attached...



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Active week with dates

    Quote Originally Posted by alvin-chung View Post
    It took me a while to realize that it was in Portugese language and your week start from Saturday
    I had modified your dates in row 5 to real dates for cf calculation and created 2 cf so that each time you re-open the file current week will be highlighted in orange and last/next week will be highlighted in gray

    See attached...
    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

    Thank you for the help , just a quick question is there a way to keep the active week and the others two in a specific cell range
    i.e
    C1:G29 for last week,
    H1:N29 Active cell
    O1:T29 Next week


    Thanks

  8. #8
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    You're welcome

    Provided that you do not need to modify the contents you can create formulas for your weeks/days/date in a fixed range, else I would imagine that vba needs to be involved.




    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  9. #9
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Active week with dates

    Quote Originally Posted by alvin-chung View Post
    You're welcome

    Provided that you do not need to modify the contents you can create formulas for your weeks/days/date in a fixed range, else I would imagine that vba needs to be involved.




    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin
    hello Alvin.

    yes the dates will be in fixed range, Could please show me how to create these formula;

    Thanks

  10. #10
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    Try this:
    1. C3="Last Week", J3="This Week", Q3="Next Week"
    2. Format C3:I29 and Q3:W29 as gray, J3:P29 as orange
    3. Enter this formula in C5 and copy till W5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    4. Format C5:W5 as dd

    And whenever you open the workbook, the dates in C5:W5 will always be showing from last week till next week.



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  11. #11
    Forum Contributor
    Join Date
    01-03-2013
    Location
    Toulouse
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Active week with dates

    Quote Originally Posted by alvin-chung View Post
    Try this:
    1. C3="Last Week", J3="This Week", Q3="Next Week"
    2. Format C3:I29 and Q3:W29 as gray, J3:P29 as orange
    3. Enter this formula in C5 and copy till W5
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    4. Format C5:W5 as dd


    Thanks,


    And whenever you open the workbook, the dates in C5:W5 will always be showing from last week till next week.



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin



    Hello Alvin ,
    Please show me on the attached file ,
    I couldn't figure it out and I am sorry
    Attached Files Attached Files

  12. #12
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Active week with dates

    No worries, see if this is what you're looking for.



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin
    Attached Files Attached Files

+ 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. [SOLVED] Counting how many dates in a range fall into this week and last week
    By AneelK in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-08-2013, 09:38 AM
  2. Active formula that reads dates and compare them with week sheets
    By Ramzes in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-22-2010, 08:59 AM
  3. How to chart active projects per week in Excel 2007
    By FilliamHMuffman in forum Excel General
    Replies: 1
    Last Post: 03-26-2009, 03:24 AM
  4. day of the week dates
    By JK (New England Coffee) in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2006, 11:35 AM
  5. need to convert list of dates to count no. of dates by week
    By neowok in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2006, 11:54 AM

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