+ Reply to Thread
Results 1 to 3 of 3

Multiple IF's and Lookups

  1. #1
    Registered User
    Join Date
    09-19-2011
    Location
    QLD, Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Multiple IF's and Lookups

    Ok so I'm doing some excel invoices and can't for the life of me remember how to do what I need it to do.

    Since we will have a few users it needs to be as simple as possible so we are using drop down boxes, one box with the code for the equipment being sold and another for for what discount section they are in

    Now I have 4 other tabs with the pricing for these discounts and I want it to lookup for example
    Discount code is f1 then go to the tab labelled f1 and produce the information for the equipment code (ex gst, gst, discounts etc) that is in the second drop down box

    Someone suggested multiple if statements with a vlookup both of which I can do seperately but just can't make it work together

    Thanks!
    Last edited by xbitterflyx; 09-20-2011 at 07:20 AM.

  2. #2
    Registered User
    Join Date
    09-14-2011
    Location
    Newton Abbot, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Multiple IF's and Lookups

    Quote Originally Posted by xbitterflyx View Post
    Now I have 4 other tabs with the pricing for these discounts and I want it to lookup for example
    Discount code is f1 then go to the tab labelled f1 and produce the information for the equipment code (ex gst, gst, discounts etc) that is in the second drop down box
    Im no expert but would it be easier to put the discounts all on the same sheets but just in different columns and then change the lookup return column accordingly ?

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Multiple IF's and Lookups

    For 4 tabs, a nested VLOOKUP would probably be ok.

    You, can however use 1 VLOOKUP with an INDIRECT reference to the appropriate sheet.

    eg.

    =VLOOKUP(A1,INDIRECT("'"&B1&"'!A1:B100"),2,FALSE)

    This looks in range A1:A100 in the sheet named in Cell B1 of the active sheet. It looks for the item in A1 of the active sheet in column A and returns the item in column B of the referenced sheetB
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

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