+ Reply to Thread
Results 1 to 3 of 3

Auto populate a cell when 3 options are selected

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    Seattle, WA
    MS-Off Ver
    PC 03/07/10 | Mac 08/11
    Posts
    43

    Auto populate a cell when 3 options are selected

    I'm gonna do this right since last time I did it I got told to do it right. (sorry about that)

    Anyway, I have a workbook that I've created that lists SKU for all the products that my company has (all variations). There are 3 drop down menus (validation) that when any combination is picked between the 3, the SKU number for that "item" auto populates in the 4th column. If the item doesn't exist, i'd like "DOES NOT EXIST" to auto populate in the 4th column if possible.

    I have attached the workbook for better clarification .. I know it involves vlookups and IF rules. Thanks for the help folks!
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Auto populate a cell when 3 options are selected

    Hi Dizzle,

    Hopefully this formula will work for you:

    =IF(COUNTA(A32:H32)=3,IFERROR(VLOOKUP(A32&D32&G32,ALL!D:E,2,0),"DOES NOT EXIST"),"")

    In Excel 2003 or earlier you would need to change it to:

    =IF(COUNTA(A32:H32)=3,IF(ISNA(VLOOKUP(A32&D32&G32,ALL!D:E,2,0)),"DOES NOT EXIST",VLOOKUP(A32&D32&G32,ALL!D:E,2,0)),"")
    Last edited by Paul; 06-28-2011 at 05:42 PM. Reason: Removed "CODES!" from each formula, since the formula will be on the CODES sheet anyway.

  3. #3
    Registered User
    Join Date
    07-14-2010
    Location
    Seattle, WA
    MS-Off Ver
    PC 03/07/10 | Mac 08/11
    Posts
    43

    Re: Auto populate a cell when 3 options are selected

    Quote Originally Posted by Paul View Post
    Hi Dizzle,

    Hopefully this formula will work for you:

    =IF(COUNTA(A32:H32)=3,IFERROR(VLOOKUP(A32&D32&G32,ALL!D:E,2,0),"DOES NOT EXIST"),"")

    In Excel 2003 or earlier you would need to change it to:

    =IF(COUNTA(A32:H32)=3,IF(ISNA(VLOOKUP(A32&D32&G32,ALL!D:E,2,0)),"DOES NOT EXIST",VLOOKUP(A32&D32&G32,ALL!D:E,2,0)),"")
    you = amazing.

    Thanks!

+ 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