+ Reply to Thread
Results 1 to 5 of 5

Formula to subtract today date from lookup value

  1. #1
    Registered User
    Join Date
    11-12-2021
    Location
    London
    MS-Off Ver
    Microsoft 365 MSO (Version 2202)
    Posts
    72

    Formula to subtract today date from lookup value

    Hi All,

    Cell K12 =TODAY()
    Cell L12 =VLOOKUP(K12,Date!D:E,2,0)


    I would like a formula that subtracts todays date from the value of a vlookup.

    I have the above formulas, then another to subtract the two values.

    I'm sure all 3 can be combined. Can someone please advise what the formula should be?

    Many Thanks

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Formula to subtract today date from lookup value

    Kindly refer yellow banner on top of the page.
    Attach sample file with required result enter manually.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,697

    Re: Formula to subtract today date from lookup value

    Have you tried
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,795

    Re: Formula to subtract today date from lookup value

    =VLOOKUP(today(),Date!D:E,2,0) - today()
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,697

    Re: Formula to subtract today date from lookup value

    @telhearne1: You're welcome. Thanks for the rep.

+ 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] If today's date = December, it will automatically subtract December - November
    By thematrix05 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-04-2022, 05:20 PM
  2. If certain cell is empty, then subtract another cell value from Today's date
    By fatal.lordes in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-06-2018, 10:18 PM
  3. [SOLVED] subtract 3 calendar months from today's date
    By iracknback in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2017, 04:12 PM
  4. [SOLVED] Lookup current week using today's date
    By jidef in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2014, 12:02 PM
  5. Add 12 months to a date and then subtract TODAY()
    By ScottWilliams324 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2014, 09:57 PM
  6. Lookup date in row > today
    By spinoza83 in forum Excel General
    Replies: 6
    Last Post: 12-22-2011, 11:55 AM
  7. [SOLVED] How do I subtract today's date from one before 1900?
    By Bob Martin in forum Excel General
    Replies: 3
    Last Post: 10-12-2005, 08:05 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