+ Reply to Thread
Results 1 to 5 of 5

March Month Last day value for every year

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    March Month Last day value for every year

    Hello Friends


    File name : <March Month Last day value for every year.xlsx>
    File Version : MS Office 2010

    I want to lookup and display the value in Column B for the Last date of march month for the given year, All the values to be plotted in respective light green color cells.


    thanks

    thilag

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: March Month Last day value for every year

    use this formula

    =VLOOKUP(DATE(RIGHT(D5,4),3,31),$A$1:$B$1180,2)

    maybe use CF for the shading

    EDIT : Sorry thought you also wanted to shade column B. Ignore last comment
    Last edited by Crooza; 02-11-2015 at 03:16 AM.
    Happy with my advice? Click on the * reputation button below

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: March Month Last day value for every year

    Nice 1 Crooza, you beat me to it

    =VLOOKUP(DATE(RIGHT(D5,4),3,31),$A$1:$C$1180,2,1)

    If you only want to show those values, use a helper with this, copied down in C2...
    =IF(MONTH(A2)=3,IF(MONTH(A2)=MONTH(A3),"",B2),"")

    Then apply filters and uncheck blanks
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: March Month Last day value for every year

    @FDibbins. Thanks and Thanks for the rep points

  5. #5
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: March Month Last day value for every year

    Perfect solutions

    thanks to Crooza and Ford

    thanks again

    thilag

+ 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. Graphing dates by month/year with 2 bars per month/year
    By Ellpoyohlokoh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-22-2014, 05:25 AM
  2. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  3. How to add Month-on-Month and Year-on-Year %Variance into a pivot table
    By emeritus1812 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-09-2013, 02:37 AM
  4. If Column A Month and Year = ColumnB Todays Month and Year then send email
    By HACCStaff in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:47 AM
  5. March 2005 Actual Info vs March 2006 Plan Info
    By Al in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2005, 03:06 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