+ Reply to Thread
Results 1 to 5 of 5

call up value in cell range by today's date

Hybrid View

  1. #1
    Registered User
    Join Date
    07-12-2019
    Location
    bali
    MS-Off Ver
    excel 18
    Posts
    3

    call up value in cell range by today's date

    Hi !

    Would be great, if you could help me for the following:

    PROBLEM A

    Let's say cell range A1 - A31 contains the dates 1 July 2019 - 31 July 2019

    And cell range B1 - B31 contains different numeric values for each date, so for example 15 July 2019 (A15) has the number 22 (B15) next to it.

    I am looking for a solution for a daily report to automatically call up the data as per its corresponding date from another excel workbook.

    --> If today's date is 15 July 2019, call up the corresponding value from range B1 - B31 (the answer is "B15" or "22") .

    PROBLEM B

    Cell range A1 - A31 contains the dates 1 July 2018 - 31 July 2018

    And cell range B1 - B31 contains different numeric values for each date, so for example 12 July 2018 (A12) has the number 14 (B12) next to it.

    I am looking for a solution :

    If today's date is 12 July 2019, call up the corresponding value from last year 12 July 2018, cell range B1 - B31 (the answer is "B12" or "14")


    Thanks a lot, have a great day

    Best Regards,

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: call up value in cell range by today's date

    Hi
    if A1:A31 contains dates from this month, try this:


    =OFFSET(A1,MATCH(TODAY(),A1:A31,0)-1,1)

    if A1:A31 contains dates from the corresponding month last year, try this:


    =OFFSET(A1,MATCH(DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())),A1:A31,0)-1,1)

  3. #3
    Registered User
    Join Date
    07-12-2019
    Location
    bali
    MS-Off Ver
    excel 18
    Posts
    3

    Re: call up value in cell range by today's date

    excellent! it works .... thanks very much

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,103

    Re: call up value in cell range by today's date

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    07-12-2019
    Location
    bali
    MS-Off Ver
    excel 18
    Posts
    3

    Re: call up value in cell range by today's date

    Quote Originally Posted by AliGW View Post
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Done... 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. [SOLVED] Finding Dates Within Date Range (Based on Today's Date) Whilst Matching Name?
    By EduardStoo in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-08-2019, 10:31 AM
  2. Highlight Cell if date range is within today
    By Noahtea in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2018, 09:59 PM
  3. VBA to loop through range to find date closest to today's date
    By esbencito in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2017, 02:08 AM
  4. Highlight a date range if today's date falls within that range
    By sdarnell in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2014, 10:03 AM
  5. Replies: 4
    Last Post: 09-12-2013, 11:32 PM
  6. Replies: 1
    Last Post: 09-17-2012, 01:07 AM
  7. MAX figure within a date range as a function of today()'s date
    By irvine79 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-06-2006, 12:45 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