+ Reply to Thread
Results 1 to 4 of 4

Lookup formla to allocate a calendar date to a week based on a table

  1. #1
    Registered User
    Join Date
    10-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    52

    Lookup formla to allocate a calendar date to a week based on a table

    Hi all gurus,

    Attached, a file where in column L, i am looking for a formula that assigns a week reference for the date input in column J. The formula should refer to the table in cells C3:E55 as a lookup range.

    Is there a quick solution for this?

    Thank you
    S
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Lookup formla to allocate a calendar date to a week based on a table

    Put in L4:

    =INDEX($E$4:$E$55,MIN(IF(($J4>=$C$4:$C$55)*($J4<=$D$4:$D$55),MATCH(ROW($E$4:$E$55),ROW($E$4:$E$55)))))

    and press F2 botton to open the formula, after that press all together CTRL+SHIFT+ENTER button, when succes you'll see curly brackets "{}" that enclosed the formula
    Last step copied down as necessary

    if still fail try follow this link

    https://simpan.ugm.ac.id/s/SwOSHtMQsCINAVE

  3. #3
    Registered User
    Join Date
    10-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    52

    Re: Lookup formla to allocate a calendar date to a week based on a table

    Thank you.

    It worked.

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,367

    Re: Lookup formla to allocate a calendar date to a week based on a table

    Glad it worked

+ 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] How to count value based on start and end date in calendar table
    By lia86 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-10-2016, 05:21 AM
  2. Replies: 4
    Last Post: 11-14-2015, 12:13 PM
  3. allocate costs into matrix based on week number
    By avdbos in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2015, 04:09 PM
  4. Replies: 4
    Last Post: 09-26-2012, 11:21 PM
  5. Calendar VBA auto filling week and month based on calendar entry.
    By perrymagic in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-18-2011, 02:00 PM
  6. date --> calendar week number
    By jmwismer in forum Excel General
    Replies: 8
    Last Post: 10-03-2009, 10:39 AM
  7. Macro to allocate amt to different period, based on date range
    By raj8000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2009, 08:02 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