Results 1 to 8 of 8

Basic Excel If Logic Question

Threaded View

  1. #1
    Registered User
    Join Date
    09-06-2008
    Location
    Philly
    Posts
    40

    Basic Excel If Logic Question

    I have a worksheet that I made for some manufacturing supervisors to use to plan their work out.

    There are a few different machines that I have in a data validation drop down box in cell B9 (referenced below). They call to a table named "Standards" that has the machine names and default performance results we expect when we don't know the intricacies of a new product.

    For each machine, I have a lookup table (with defined name nomenclature= _Mach#Standards, e.g. _124Standards). The lookup table gives us the different job names that run on each machine and their specific expected performance results.

    On the worksheet, once the supervisor chooses the machine (Ex. 124) the next box below it in B11 uses the indirect function ("_"$B9) to list the job names which they can choose from the _124 table. Based on which job name they choose, the rest of the spreadsheet will populated expected instantaneous speeds, hourly targets, waste targets, etc.

    However, if they do not choose a job name, I would like the formula to notice that B11 is blank and then do a vlookup of the machine in the default "Standards" table.

    You can see my logic below using nested if statements. I thought that using the last argument "VLOOKUP(B9,Standards,2,FALSE)" would tell excel "If everything has been false thus far, use this equation." However, Excel still returns a #N/A.

    Any ideas? Thanks!



    =IF(B9=124,VLOOKUP($B$11,_124Standards,2,FALSE),IF(B9=125,VLOOKUP($B$11,_125Standards,2,FALSE),IF(B9=127,VLOOKUP($B$11,_127Standards,2,FALSE),IF(B9=131,VLOOKUP($B$11,_131Standards,2,FALSE),IF(B9=135,VLOOKUP($B$11,_135Standards,2,FALSE),VLOOKUP(B9,Standards,2,FALSE))))))
    Last edited by ffmariners; 05-05-2010 at 03:01 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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