+ Reply to Thread
Results 1 to 7 of 7

Prereq table reverse... VLOOKUP doesn't work

  1. #1
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    Prereq table reverse... VLOOKUP doesn't work

    I have a syllabus table that is built manually. Each event in the syllabus has up to 4 prerequisites assigned to it. (This is the left-hand table in the attached file.)

    To help me built a flow chart, I want Excel to automatically do the REVERSE of the syllabus chart by generating the right-hand table. As the right-hand table in the attached file shows, I can see which event(s) each event is a prerequisite FOR. It's sort of the converse of the left-hand table.

    For example, the left-hand chart shows that TR-C has TR-B and AL-106 as prerequisites. I want Excel to tell me automatically in the right-hand table that AL-106 is a prereq for TR-C and AL-102. With both tables, I can see which prereq each event NEEDS (input by me), and which events are PROVIDED as prereqs (generated by Excel).

    I couldn't get VLOOKUP to do this for me, as it only sees the first event that meets the criteria. In this syllabus, an event may be a prereq for more than one event, or sometimes not at all.

    Thanks in anticipation!
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Prereq table reverse... VLOOKUP doesn't work

    Hi Hambone70,

    L12 should be BFM-A as there are three TRC in table 1 on left side .. check and confirm. thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    Re: Prereq table reverse... VLOOKUP doesn't work

    Good catch!

    There are indeed three TR-Cs in the left-hand table, so L12 should be BFM-A.

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Prereq table reverse... VLOOKUP doesn't work

    Try this Array Formula (Cntrl+Shift+Enter, not just Enter) In Cell J6:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down and across

    Hope this helps
    Attached Files Attached Files
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  5. #5
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    Re: Prereq table reverse... VLOOKUP doesn't work

    Perfect!

    Thank you very much.

  6. #6
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Prereq table reverse... VLOOKUP doesn't work

    Hi Hambone70

    As you have Excel 2010 (Profile) you can use the index and aggregate for a non array formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  7. #7
    Forum Contributor
    Join Date
    01-16-2011
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2010
    Posts
    234

    Re: Prereq table reverse... VLOOKUP doesn't work

    Thanks, Kevin.

    That works just as well.

+ 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