+ Reply to Thread
Results 1 to 6 of 6

Find value in a column at today month date

  1. #1
    Registered User
    Join Date
    08-31-2017
    Location
    LONDON
    MS-Off Ver
    Excel for Mac 2011 v14
    Posts
    20

    Find value in a column at today month date

    Find value in a column at today month date

    I need to find a positive value (if there is one) based on current month return
    In summary:
    A5:A16 are months Jan through to Dec
    H5:H16 are returns for any values for that month
    H19 is to return the latest value in the column
    =LOOKUP(2,1/(H4:H16<>""),H4:H16) works fine but will record latest historic value entered.
    I need to expand this to give the latest value for the current month.
    See attachment - as it is August I need the H12 value for August returned to H19 not a 0 from H16. When it becomes Sept (tmrw) I will need the H13 value from Sept returned.
    Hope that makes sense
    Appreciate any help, Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: Find value in a column at today month date

    Try this ...

    =VLOOKUP(TEXT(TODAY(),"mmm"),$A$5:$H$16,8,0)

  3. #3
    Registered User
    Join Date
    08-31-2017
    Location
    LONDON
    MS-Off Ver
    Excel for Mac 2011 v14
    Posts
    20

    Re: Find value in a column at today month date

    Thanks - on testing pulls in August value. So clearly working for current month of August
    Will it find the Sept value tmrw ?
    I cannot seem to follow the logic in the formula to see how it knows to look in a different cell in column H each month. What doe the ,8,0 at end of formula do?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Find value in a column at today month date

    To test to see that the formula works for Sept. put a +1 after TODAY()
    It returns 3 as expected.
    The 8 tells VLOOKUP which column to look in, column H is the 8th column in the range A:H
    The zero tells VLOOKUP to only look for exact matches.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    08-31-2017
    Location
    LONDON
    MS-Off Ver
    Excel for Mac 2011 v14
    Posts
    20

    Re: Find value in a column at today month date

    Thanks all

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Find value in a column at today month date

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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] Find the value in a column next to the last date before today
    By mike.abz in forum Excel General
    Replies: 10
    Last Post: 03-05-2015, 09:59 AM
  2. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  3. Date Subtraction from Today's and 6 Month Bin and 8 Month Bin.
    By bigman8424 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-19-2014, 09:33 PM
  4. [SOLVED] Find first date of the month in range and return column number
    By jben86 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2013, 08:30 PM
  5. [SOLVED] Date formula using TODAY() and MONTH()
    By Sophster in forum Excel General
    Replies: 2
    Last Post: 06-08-2012, 10:06 AM
  6. Formula = Today's date + 1 month
    By jermsalerms in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-08-2006, 05:51 AM
  7. Changing today's date to the first of the month
    By Scott in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2005, 10:25 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