+ Reply to Thread
Results 1 to 5 of 5

Lookup a row of data

  1. #1
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Lookup a row of data

    I am working on a project database where I have multiple suppliers. Each row (columns A to DG) in the database (tab "Process Equipment") is one piece of equipment, valve or pump etc etc,
    I would like to have a separate tab for each supplier (Pentair, Burkert, BTL etc etc) to make ordering easier instead of cutting and pasting 20 to 50 rows of information cross to a new tab.

    Column N has the suppliers name in the cells.

    Thank for your help.
    Attached Files Attached Files
    Last edited by SloopJohnB; 09-04-2017 at 07:38 AM.

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

    Re: Lookup a row of data

    Make sure that the supplier name is in A2 of each sheet (as was the case ONLY for Pentair. Use this array formla in A6, copied across to DF and down as needed.

    =IFERROR(IF(INDEX('Process Equipment'!A:A,SMALL(IF('Process Equipment'!$N$6:$N$600='Pentair Valves'!$A$2,ROW('Process Equipment'!$N$6:$N$600)),ROWS(A$6:A6)))=0,"",INDEX('Process Equipment'!A:A,SMALL(IF('Process Equipment'!$N$6:$N$600='Pentair Valves'!$A$2,ROW('Process Equipment'!$N$6:$N$600)),ROWS(A$6:A6)))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...

    I've only done pentair...
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-17-2007
    Location
    Downunder NZ
    MS-Off Ver
    MS Office 365
    Posts
    82

    Re: Lookup a row of data

    Thank you very much for working out the formula, I would have never worked it out.

  4. #4
    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,053

    Re: Lookup a row of data

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Lookup a row of data

    Another way with regular formula. Uses a helper range.

    Unique suppliers in DI5:DY5 then in DI6 filled down and across identifies row numbers of each supplier.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    With sheets grouped this formula in A1 identifies the supplier from the sheet name.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then in A6 filled down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I was little slow typing.
    Attached Files Attached Files
    Dave

+ 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] VLOOKUP, gives #N/A error (if Range lookup=0) or wrong data (if Range lookup=empty)
    By Ebalinska in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 01-14-2016, 05:55 AM
  2. [SOLVED] lookup if my lookup array with my data position is vertical and horizontal
    By daboho in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2015, 05:35 AM
  3. [SOLVED] Lookup/Match from 2 worksheet & populate data based on lookup
    By plcouch in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2015, 08:16 PM
  4. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  5. [SOLVED] Lookup data that has repeated lookup values
    By mweichorn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2014, 02:20 PM
  6. [SOLVED] Data Validation, Lookup, multi lookup, referancing and other.
    By archasem in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-04-2013, 10:50 AM
  7. [SOLVED] Need to remove lookup but keep lookup data
    By upmm019 in forum Excel General
    Replies: 3
    Last Post: 07-11-2012, 10:20 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