+ Reply to Thread
Results 1 to 7 of 7

Complex Vlookup Formula

  1. #1
    Registered User
    Join Date
    09-22-2009
    Location
    Sydney,Australia
    MS-Off Ver
    MS Office 365
    Posts
    39

    Complex Vlookup Formula

    Hi All,

    I need a some help with a complex formula for the atatched spreadsheet in short I need two things done if possible.

    1. Ordersheet : - Based on information from A2 it will match columns B,D & E from Master Data columns C,D & E the idea is that Master Data is the sheet where the information is changed and kept up to date. The order sheet is where the kitchen orders the stock. Cell A2 is the drop down field for the supplier and the information is then brought up in the relevant columns.

    2. Purchase Orders – columns B:E pulls the information from the order sheet (qty) if there is a value more than 1.
    Attached Files Attached Files
    Last edited by douggie; 08-28-2016 at 06:50 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Complex Vlookup Formula

    Please state the nature of your problem in your question. I won't open a macro-enabled file without any explanation of what you are trying to achieve.

  3. #3
    Registered User
    Join Date
    09-22-2009
    Location
    Sydney,Australia
    MS-Off Ver
    MS Office 365
    Posts
    39

    Re: Complex Vlookup Formula

    Hi,

    In the order sheet when you select the suppleir in the drop down list if shows all the articles available from that supplier with the information peulled form the master data file. With Purchase Orders, the items are then copied across from the Order Sheet but only if the has been any values in the qty field.

    Thanks

  4. #4
    Registered User
    Join Date
    09-22-2009
    Location
    Sydney,Australia
    MS-Off Ver
    MS Office 365
    Posts
    39

    Re: Complex Vlookup Formula

    Hi,

    I would like to use a drop down list to search and return multiple values

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Complex Vlookup Formula

    This array formula will do the job (adjusting the columns in the INDEX part appropriately)

    =IFERROR(INDEX('Master Data'!C:C,SMALL(IF('Master Data'!$A$2:$A$69='Order Sheet'!$A$2,ROW('Master Data'!$A$2:$A$69)),ROWS($1:1))),"")

    Array Formulae are a little different from ordinary formulas in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly braces { } appear around the outside of your formula. If you do not CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly braces yourself - it won't work...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: Complex Vlookup Formula

    A similar formula on the other sheet completes the job.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    09-22-2009
    Location
    Sydney,Australia
    MS-Off Ver
    MS Office 365
    Posts
    39

    Re: Complex Vlookup Formula

    Thank You very very very much.. I have spent days and hours trying to figure this one out. If you were here I'll buy you several rounds of drinks.

+ 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] Complex Vlookup formula on 2 columns
    By Air^Canada in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2015, 08:47 AM
  2. Nested if or search vlookup etc. "Super Complex formula!"
    By samantanori in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-06-2015, 08:27 AM
  3. [Solved] VBA Vlookup and complex Formula problem
    By Bansheete in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2013, 08:23 AM
  4. Complex Vlookup formula
    By superdonk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2013, 11:58 AM
  5. Complex vlookup formula question
    By dta1984 in forum Excel General
    Replies: 54
    Last Post: 11-18-2011, 12:23 AM
  6. Complex "VLOOKUP" type of formula over multiple sheets
    By tsparacino in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2011, 03:06 PM
  7. Help with complex formula - H and VLOOKUP
    By supraruss in forum Excel General
    Replies: 8
    Last Post: 07-01-2008, 12:04 PM

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