+ Reply to Thread
Results 1 to 5 of 5

Need help with some kind of LOOKUP formula to generate a list of required documents

  1. #1
    Registered User
    Join Date
    03-02-2013
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Need help with some kind of LOOKUP formula to generate a list of required documents

    Use Case
    1. Table 1 contains the associated docs for a specific capability/service
    2. The user enters a Y for one or more of the required capability/services
    3. A formula checks for the required capability/services (Y entries) to determine which documents are required
    4. An x is generated in the Table 2 (required column) for the required document
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Need help with some kind of LOOKUP formula to generate a list of required documents

    hi postgre, welcome to the forum. it looks like your Table 2 is only based on "Need Oven"? you can try this formula in B17:
    =IF(HLOOKUP(A17,$C$7:$J$8,2,0)="X","X","")

    copy down

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    03-02-2013
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Need help with some kind of LOOKUP formula to generate a list of required documents

    using this formula I get #N/A value error (the required "Y" must drive the result entered in table 2)

    i modified the formula to account for a user that enters a Y (need an oven = Yes)

    =IF(B8="Y",IF(HLOOKUP(A17,$C$7:$J$8,2,0)="X","X",""),"")

    However, this doesn't work for the entire of table 2 even if the range is expanded to $C$7:$J$12.
    Last edited by postgre; 03-02-2013 at 11:43 AM.

  4. #4
    Registered User
    Join Date
    03-01-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Need help with some kind of LOOKUP formula to generate a list of required documents

    Here you go, tab 1 is your info, tab 2 is short if statement, saying if you have a Y in blue cell, then the "X" will apply, if you won't change your requirement often, i recommend this one. third tab is vlookup statement, if you have a long complicated requirement list based on given information (tab 1) then use the vlookup tab.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-02-2013
    Location
    VA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Need help with some kind of LOOKUP formula to generate a list of required documents

    Outstanding - thank you very much.

+ 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