+ Reply to Thread
Results 1 to 6 of 6

Find the Week Ending Date

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    Davie, FL
    MS-Off Ver
    Excel 2013
    Posts
    83

    Find the Week Ending Date

    How would a formula look if I wanted to find the Week ending date of a certain date. The last day of the week being Saturday. Please see attached example. I was thinking I can always do a Vlookup but I still would need the formula. can anyone help me with this?

    Thank you,
    Trish

    Book1.xlsx
    Last edited by trosasco; 02-06-2014 at 10:33 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Find the Week Ending Date

    try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Find the Week Ending Date

    Sure, first make a little table to convert Month to a Month number.

    I put Jan in K2, 1 in L2 down to Dec in K13 and 12 in K13.

    In E2:

    =IF(7-WEEKDAY(VLOOKUP(B2,$K$2:$L$13,2,0)&"/"&C2&"/"&D2)<>0,7-WEEKDAY(VLOOKUP(B2,$K$2:$L$13,2,0)&"/"&C2&"/"&D2)+(VLOOKUP(B2,$K$2:$L$13,2,0)&"/"&C2&"/"&D2))

    and copy down

    Edit: And today I learned about a function called Datevalue()
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Registered User
    Join Date
    02-04-2014
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Find the Week Ending Date

    check the attached file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-04-2014
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Find the Week Ending Date

    Check the attached file
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-23-2012
    Location
    Davie, FL
    MS-Off Ver
    Excel 2013
    Posts
    83

    Re: Find the Week Ending Date

    Thank you all... That worked great.

+ 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. Sheets for every week + start and ending date of the week
    By wimexcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2012, 01:48 PM
  2. Week ending date help
    By PRodgers4284 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2009, 05:07 AM
  3. Get Week Ending Date in MM/DD/YY Format
    By mycon73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2009, 08:45 AM
  4. Formula to find week-ending date?
    By chave982 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2008, 10:48 AM
  5. week ending date?
    By SRussell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2008, 06:42 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