Results 1 to 3 of 3

Thread: look for values base on =Today()
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    New Member
    Join Date
    Aug 2019
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default look for values base on =Today()

    A B C D E F G H I J K L M N
    1 item1 Aug. Sep. Oct. Nov. Dec.
    2 item2 item1 100 200 300 1 2
    3 item3 item2 50 20 40 4 7
    4 item3 85 58
    5
    6
    7


    Dear Pros,

    I would like cell "B1" for "item1" to auto look for the value base on the month of "=TODAY()",
    i understand that it is not possible to do it with vlookup function,

    Please suggest on how to do this, thank you~

  2. #2
    MrExcel MVP FormR's Avatar
    Join Date
    Aug 2011
    Location
    UK
    Posts
    6,089
    Post Thanks / Like
    Mentioned
    24 Post(s)
    Tagged
    2 Thread(s)

    Default Re: look for values base on =Today()

    Hi, assuming the month names in J1:N1 are text and include the full stop / period, you can try..

    Excel 2013/2016
    ABCDEFGHIJKLMN
    1item1100Aug.Sep.Oct.Nov.Dec.
    2item250item110020030012
    3item385item250204047
    4item38558

    Sheet1



    Worksheet Formulas
    CellFormula
    B1=INDEX($J$2:$N$4,MATCH(A1,$I$2:$I$4,0),MATCH(TEXT(TODAY(),"MMM."),$J$1:$N$1,0))

    [code]your code[/code]

  3. #3
    New Member
    Join Date
    Aug 2019
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: look for values base on =Today()

    Quote Originally Posted by FormR View Post
    Hi, assuming the month names in J1:N1 are text and include the full stop / period, you can try..

    Excel 2013/2016
    A B C D E F G H I J K L M N
    1 item1 100 Aug. Sep. Oct. Nov. Dec.
    2 item2 50 item1 100 200 300 1 2
    3 item3 85 item2 50 20 40 4 7
    4 item3 85 58
    Sheet1

    Worksheet Formulas
    Cell Formula
    B1 =INDEX($J$2:$N$4,MATCH(A1,$I$2:$I$4,0),MATCH(TEXT(TODAY(),"MMM."),$J$1:$N$1,0))
    Thank you sir, you are awesome with such prompt response

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •