+ Reply to Thread
Results 1 to 6 of 6

If and Vlookup Formula

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    Lester, IA
    MS-Off Ver
    Excel 2003
    Posts
    46

    If and Vlookup Formula

    I'm trying to get a cell {in the attached spreadsheet 'Order Form' Sheet- Cell 'B13'}, to bring up the corresponding product description {'Products' Sheet- Column C}. For the cell that is to bring up the product description {'Order Form' Sheet- Cell 'C13'}, the following is the formula I'm trying to use, but is coming up "#N/A":
    =IF(C13>1000,VLOOKUP(A13,Products!$A$2:$D$12,3),IF(C13>287,VLOOKUP(A13,Products!$A$14:$D$25,3),IF(C13>0,VLOOKUP(A13,Products!$A$28:$D$38,3)," "))).

    I could also use some assistance determining the appropriate formula to pull up the correct corresponding cost/bottle. I haven't attempted the "Cost/Bottle" formula yet {'Order Form' Sheet- Cell 'D13'}, but it needs to correspond the product number {'Order Form' Sheet- Cell 'A13'} and the quantity ordered {'Order Form' Sheet- Cell 'C13'}, with the cost/bottle on the that quantity found on 'Products' Sheet, Column D.

    Thank you.
    Attached Files Attached Files
    Last edited by Cleman04; 06-17-2009 at 06:29 PM.

  2. #2
    Registered User
    Join Date
    03-05-2009
    Location
    Lester, IA
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: If and Vlookup Formula

    Sorry, I didn't have the formula plugged into the attachment file as I mentioned in the last post- This attachment contains the formula that is giving me the "#N/A".
    Attached Files Attached Files

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: If and Vlookup Formula

    Products!$A$28:$D$38 has nothing in it!
    also doesnt exist
    103CL or 165CL
    on products sheet
    and now i notice
    it links to
    Chile -New Template where's that then?
    Last edited by martindwilson; 06-15-2009 at 03:51 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    03-05-2009
    Location
    Lester, IA
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: If and Vlookup Formula

    I deleted the links now. I'm still having problems getting these formulas to return the correct product description and price. Could you again review this attachment and give me your input?
    Attached Files Attached Files

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: If and Vlookup Formula

    b13 should be
    =IF(C13>1000,VLOOKUP(A13,Products!$A$2:$D$8,3,FALSE),IF(C13>287,VLOOKUP(A13,Products!$A$10:$D$16,3,FALSE),IF(C13>0,VLOOKUP(A13,Products!$A$19:$D$25,3,FALSE)," ")))
    d13 should be
    =IF(C13>1000,VLOOKUP(A13,Products!$A$2:$D$8,4,FALSE),IF(C13>287,VLOOKUP(A13,Products!$A$10:$D$16,4,FALSE),IF(C13>0,VLOOKUP(A13,Products!$A$19:$D$25,4,FALSE)," ")))

  6. #6
    Registered User
    Join Date
    03-05-2009
    Location
    Lester, IA
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: If and Vlookup Formula

    Thank you for your help!

+ 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