+ Reply to Thread
Results 1 to 5 of 5

Trying to extract Year and Day out of a table

  1. #1
    Forum Contributor
    Join Date
    11-23-2013
    Location
    La Crosse, Wi
    MS-Off Ver
    Excel 2010
    Posts
    106

    Trying to extract Year and Day out of a table

    I am trying to extract tornado days from a large database. By entering the month, it goes and grabs the data and puts it into the table. It is fairly straightforward to grab the months, but I need to grab the days and years too. In some, cases they will be on the day of the month, but different year. In other cases, I might have 2 days in the same month and year. I have attached a spreadsheet with a desired results. It should be easy, but I am going blank on how to do this.

    Jeff B
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,116

    Re: Trying to extract Year and Day out of a table

    Still using Excel 2010??
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,101

    Re: Trying to extract Year and Day out of a table

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    dragged down & across

  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,759

    Re: Trying to extract Year and Day out of a table

    are you still using 2010 excel

    if you have 365 version or 2021 with FILTER()
    =FILTER(A2:C25,(A2:A25=H3))

    need to think about the 2010 version

    so this is just pulling a table based on the month = 5
    in cell H3
    Attached Files Attached Files
    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 Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,116

    Re: Trying to extract Year and Day out of a table

    Try:

    =INDEX(A:A,AGGREGATE(14,6,ROW($C$2:$C$50)/($A$2:$A$50=$H$3),$F6))

    copied across and down.

    loL. I'm slow today. Where did those other replies come from???
    Attached Files Attached Files

+ 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] Tediously adding data to a table year-over-year, looking for pivot ideas..
    By 360 in forum Excel Charting & Pivots
    Replies: 24
    Last Post: 03-19-2017, 08:59 AM
  2. Replies: 1
    Last Post: 09-15-2016, 12:06 AM
  3. [SOLVED] Extract First and last values for the given year
    By thilag in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-16-2015, 11:41 PM
  4. Extract data based on month/year to a simple table.
    By maax555 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2014, 09:55 AM
  5. Replies: 1
    Last Post: 08-18-2010, 02:43 AM
  6. Extract year
    By cjsasl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-20-2006, 01:03 PM
  7. [SOLVED] extract year
    By maryj in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-11-2005, 10:40 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