+ Reply to Thread
Results 1 to 5 of 5

lookup? retrieving entire row of data...

  1. #1
    Registered User
    Join Date
    11-26-2007
    Posts
    6

    Smile lookup? retrieving entire row of data...

    Ok, I have a workbook that has these columns:

    category, line, status, carrier, billing, circuit, type, use, from, to, comments, budget, YTD spending, projected YE, variance, billing code (whew)

    on another workbook in the same spreadsheet, I put a drop down with data validation to select the line (second column in the data on the other page).

    upon selection, and clicking a button, I would like it to retreve the entire row that contains that line id...

    for example... I select LI-43 from the drop down, click the button and below would see

    ION (category), LI-43 (line), Active (Status), etc.

    the page withall the data is the range starting at A4 thru P400 on a sheet named "master all lines".

    I want the data to be displayed on a sheet named "Make Inactive" in row A15

    Any help would be greatly appreciated!!!

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Index/Match may be more beneficial in this situation. Assuming the validation list is in cell A5 of the "Make Inactive" sheet, copy this formula into cell A15, and copy over:

    Please Login or Register  to view this content.
    HTH

    Jason

  3. #3
    Registered User
    Join Date
    11-26-2007
    Posts
    6
    ok, I got it to function changing the cell reference (since my data validation dropdown is in cell D7), however, it only is retrieving the first cell back from the 'master all lines' sheet, not the entire row

    =INDEX('master all lines'!$A$4:$P$400,MATCH(D7,'master all lines'!$B$4:$B$400,0),COLUMN())

    Any help is appreciated

    thanks, thanks, thanks!
    terri
    Last edited by tfleming421; 11-28-2007 at 10:41 AM.

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Hi, Terri. You need to copy that formula across the multiple columns, in order for it to return the full row. You are correct in that the formula will only return the data in column A. Copy cell A15 over through cell P15, and it should return the correct data.

    HTH

    Jason

  5. #5
    Registered User
    Join Date
    11-26-2007
    Posts
    6
    ok, wow, that was really idiotic- why of course!

    thanks so much!!!

    works like a charm

    t

+ 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