+ Reply to Thread
Results 1 to 5 of 5

IF and VLookUp Formula, Need Assistance in correct Formula

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Colorado
    MS-Off Ver
    MS Office 2011 for Mac (Version 14.4.9)
    Posts
    2

    IF and VLookUp Formula, Need Assistance in correct Formula

    Good Afternoon fellow members,

    Yes, I'm new to this forum but I could greatly use some assistance. I'm using Excel to create a a worksheet that will read, if G14 reads Silver (G14 is a dropdown box that a user can select three options - Gold, Silver, Brass), then B21 will be read and then match with a price in another sheet.

    I've used this formula, =IF(B21="","",(VLOOKUP(B21,'2015PriceList'!B$1:F$1027,3,FALSE)) with worksheets where I just have 1 column of prices. But now I would like for it to read G14 first for (Gold, Silver, or Brass), then read B21 for the model number and then match up the correct price.

    In the formula above I know the 3 refers to which column reads to produce the price, therefore in my multiple price sheet 3 refers to Gold, 4 refers to Silver, and 5 refers to Brass pricing.

    I've started with this =IF(G14=SILVER,IF(B19="","",(VLOOKUP(B19,'2015NEMOArmsPriceList'!A$1:F$1027,5,FALSE))) but I get the #NAME? error.

    Can I lump all this into one forumla? I thought I could nest this many things into an IF formula, but I don't know how to correct write it.

    Any assistance would be greatly appreciated, trying to make my self employed business more efficient. I can create 3 separate worksheets, but I'm almost positive I can do this in one.

    Thank you for your time!
    Buzz1423

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: IF and VLookUp Formula, Need Assistance in correct Formula

    Not sure if this resolves everything, but, try putting SILVER in quotes so it reads =IF(G14="SILVER".... It also looks like you might be missing a ) at the end of the formula.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF and VLookUp Formula, Need Assistance in correct Formula

    Hi,

    There are no doubt a few ways of doing this. An INDEX(lookup_range,MATCH(row_no),MATCH(col_no)) formula is one, but using your existing VLOOKUP create a helper cell and in that cell enter

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


    This will return either 3, 4 or 5 depending on G14. Now in your VLOOKUP instead of the '3' you currently have enter the helper cell address instead.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    07-07-2015
    Location
    Colorado
    MS-Off Ver
    MS Office 2011 for Mac (Version 14.4.9)
    Posts
    2

    Re: IF and VLookUp Formula, Need Assistance in correct Formula

    I greatly appreciate the help, the "Silver" corrected the issue and allowed me to finish the formula usingnesting IF statements. I may try the other suggestion in the future.

    Thanks again,
    Buzz1423

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: IF and VLookUp Formula, Need Assistance in correct Formula

    You're welcome Buzz, glad it worked for you. Can you help us out and mark this thread as SOLVED (under Thread Tools of your original post)...please? Thank you.

+ 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] IF and Vlookup Formula Assistance Please!
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2015, 05:57 AM
  2. Vlookup/If formula assistance
    By Jess0121 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2014, 03:18 PM
  3. [SOLVED] Assistance with my VLOOKUP Formula....Please help...
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2013, 08:52 PM
  4. [SOLVED] Assistance with PTO Accrural Possible VLOOKUP Formula
    By bwelter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-10-2013, 10:00 PM
  5. vlookup formula assistance
    By jman667 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2013, 04:58 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