+ Reply to Thread
Results 1 to 4 of 4

vlookup??

  1. #1
    Registered User
    Join Date
    10-05-2004
    Posts
    17

    vlookup??

    I'm not sure how to do this but this is what I want to do.
    A B
    6/27/05 262A029
    6/23/05 267A042
    6/24/05 267A043
    6/24/05 271A001
    I want to search column A for a certain date and pull out the data on column B but some dates have multiple matches on column B. I need all the column B data that matches the date. So in the example I have...When I search for 6/24/05 in column A I get "267A043" and "271A001" from column B. Can someone please help me!!!

    Thanks

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Quote Originally Posted by cutsygurl
    I'm not sure how to do this but this is what I want to do.
    A B
    6/27/05 262A029
    6/23/05 267A042
    6/24/05 267A043
    6/24/05 271A001
    I want to search column A for a certain date and pull out the data on column B but some dates have multiple matches on column B. I need all the column B data that matches the date. So in the example I have...When I search for 6/24/05 in column A I get "267A043" and "271A001" from column B. Can someone please help me!!!

    Thanks
    Assuming your data range is A1:B50, try this ...

    1. Enter the date in, for example, Cell C1
    2. In Cell C2, enter this formula

    =index($B$1:$B$50,small(if($A$1:$A$50=C$1,row($B$1:$B$50)),row(1:1)))

    NOTE: This is an array formula so commit with Ctrl-Shift-Enter keys.

    3. Copy down this formula up to any cell where you want to stop (from C3 to anywhere you'd like to stop on Column C).

    ... hope this is the formula you are looking for.

    Regards.
    BenjieLop
    Houston, TX

  3. #3
    Registered User
    Join Date
    10-05-2004
    Posts
    17
    That is exactly what I needed. Thank you sooo much

  4. #4
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    You are welcome ... glad that I can be of help.

    Regards.

+ 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