+ Reply to Thread
Results 1 to 15 of 15

Mutliple criteria lookup to return a value

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Mutliple criteria lookup to return a value

    Hi,

    Im trying to use a formula to generate a value based on the results of three cells.

    The idea is that you select a company name from Col A, a resource type from Col B (i.e labourer etc..), and a time from Col C (Day/Night etc..) this will then generate a rates based on the combined results from Col A, B & C.

    The source data is on the second worksheet and is organised as a list with column headers. I would normally use a VLOOKUP but it is not fleixlbe enough to account for three criteria.


    Col A Col B Col C Col D
    Company Name Resource Type Day / Night / Weekend Shift FORMULA GENERATES RATE BASED ON COL A, B & C CRITERIA

    Any help much appreciated

    Thanks


    Jim

  2. #2
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Mutliple criteria lookup to return a value

    you sould using SumProduct
    post your sample to make it clear
    click the star if it solves your problem

  3. #3
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: Mutliple criteria lookup to return a value

    I would recommend posting a sample worksheet, as the best method to tackle this issue would require visualizing the data.

    Without having seen the data, would it be possible to use 3 vlookups in a sort of mathematical calculation? For example, each company has a rate, each resource type has a rate and day/night each have a rate. Then you could possibly use Vlookup(Company)*Vlookup(Labor Type)*Vlookup(Day/Night), or something along those lines?

  4. #4
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    Hi,

    Thanks for that, I dont have a formula sample as Im unsure which way to approach it. Col A, B & C are all text data any based on these selections I am looking to return a relevant rate in Col D, i.e Pick the Agency (Col A), pick the resource type (Col B), pick the time (Col C) based on these three criteria a lookup finds the correct hourly rate from the table of data and shows it in Col D.

    Hope this makes sense

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    Thanks jake.masters I will attempt to post a sample worksheet shortly

  6. #6
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Mutliple criteria lookup to return a value

    sorry, i can not help you without any sample

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Mutliple criteria lookup to return a value

    A sample workbook, is what we need. Not a formula sample.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  8. #8
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    I think this should work ! attempt to upload No 1 !

    Multiple Criteria Lookup.xlsx

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Mutliple criteria lookup to return a value

    The result in F10, is 18?

  10. #10
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Mutliple criteria lookup to return a value

    try this Array Formula, dont forget to press CTRL + Shift + Enter, not just Enter
    Please Login or Register  to view this content.
    see attached file
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    Hi Fotis,

    Partly yes.... the Appoved Electrician is £18ph but not from Bourne as in in the sample - Bourne do not supply Approved Electricians I would need the formula to return an error or N/A to show the resource is not provided by that agency, if that makes sense....

  12. #12
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Mutliple criteria lookup to return a value

    Quote Originally Posted by JIMH1980 View Post
    Hi Fotis,

    Partly yes.... the Appoved Electrician is £18ph but not from Bourne as in in the sample - Bourne do not supply Approved Electricians I would need the formula to return an error or N/A to show the resource is not provided by that agency, if that makes sense....
    if like that.. try this formula
    Please Login or Register  to view this content.

  13. #13
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    dwint tanks very much works a treat !

    Much appreciated thanks to all who replied

  14. #14
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Mutliple criteria lookup to return a value

    @ JIMH1980

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  15. #15
    Registered User
    Join Date
    10-16-2012
    Location
    Crewe, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Mutliple criteria lookup to return a value

    Hi dwint,

    I may have celebrated a bit early on Tuesday ! The sample sheet you sent through works great of the first sample but once I change the agency and role and move the flormula down the sheet the results or not correct.

    Would you bo so kind as to take a look and let me know if it's me being stupid ? Let me know if you would like me to upload the sheet again

    Thanks

    Jim

+ 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