+ Reply to Thread
Results 1 to 4 of 4

Find and Return All Values for Selected Date

  1. #1
    Registered User
    Join Date
    06-03-2012
    Location
    Brizzel
    MS-Off Ver
    Excel 2007
    Posts
    10

    Find and Return All Values for Selected Date

    Greetings all.

    I'm currently in the progress of creating a spreadsheet but stuck and need some help please.

    I need to be able to find and return all values for the selected month and handle errors if the formula don't return any values.
    To sanity check what is returned, i will need a formual to count all values for the selected month.

    Example:

    Sheet 1
    Contains all the data
    A1: Start Date
    B1: End Date
    C1: Number of days
    D1: Total

    Sheet 2
    Summarise data
    A1 - Drop Down list of Months (Validation List)
    Formatted: mmmm yy

    B2 - {formula to count all values for the selected Month}
    A3: Start Date
    B3: End Date
    C3: Number of days
    D3: Total


    A4 - D4: Would contain a formula to return all the values for the Selected Date (Decemeber 12) from A1


    If i've missed anything let me know.

    Thanks in advance.

    Stu(pid)
    Last edited by stupidname; 12-16-2012 at 08:36 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Find and Return All Values for Selected Date

    Please post a small sample sheet, it will be easier to help

  3. #3
    Registered User
    Join Date
    06-03-2012
    Location
    Brizzel
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Find and Return All Values for Selected Date

    Sample Attached.

    cheers

  4. #4
    Registered User
    Join Date
    06-03-2012
    Location
    Brizzel
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Find and Return All Values for Selected Date

    I managed to work it out.
    So, i used the following formula:

    Return multiple records
    http://www.get-digital-help.com/2009...okup-in-excel/

    =INDEX($A$2:$C$7, SMALL(IF($B$9=$A$2:$A$7, ROW($A$2:$A$7)-MIN(ROW($A$2:$A$7))+1, ""), ROW(A1)),COLUMN(A1))

    I had to add column which converted the date to the following format: =text(b2, "mmmm yy"), which i used as the "lookup" value.



    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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