+ Reply to Thread
Results 1 to 2 of 2

Select column based on date

  1. #1
    Registered User
    Join Date
    02-21-2014
    Location
    Illinois, US
    MS-Off Ver
    Excel 2010
    Posts
    1

    Select column based on date

    I have monthly data listed in columns. I want to select the data in the column with a header that matches the current month.
    Any suggestions?

    Jan 2014 Feb 2014 Mar 2014 Apr 2014 May 2014 Jun 2014 Jul 2014 Aug 2014 Sep 2014 Oct 2014 Nov 2014 Dec 2014
    99 77 44 25 95 16 12 88 88 56 56 12

    I know to get the current month using =month(today()) but not sure how to use that to select the value in the column with that header.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Select column based on date

    something like this maybe
    A1 to C1 -header dates

    =SUMPRODUCT((MONTH(A1:C1)=MONTH(TODAY()))*A2:C2)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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] Auto fill a column based on date and color a column if past that date
    By thegunder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2013, 03:06 PM
  2. [SOLVED] select a value in row based on column value
    By madhatter40 in forum Excel General
    Replies: 1
    Last Post: 06-15-2013, 12:28 PM
  3. Select a Date between Two Date Rows, then the Column State and return Table Matrix Values
    By InNeedofHelpASAP in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 11:03 AM
  4. Select the oldest date of based on "P" in another column
    By MarioBotelho in forum Excel General
    Replies: 5
    Last Post: 08-17-2011, 10:37 AM
  5. Select certain columns based on date
    By segeorge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2007, 12:03 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