+ Reply to Thread
Results 1 to 11 of 11

Match & Vlookup combine?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    Cheltenham
    MS-Off Ver
    Excel 2003
    Posts
    6

    Match & Vlookup combine?

    Hi,

    I have a large table where cost of a communication call is calculated based on 5 criterias. I'm trying to create a separate spreadsheet where I can select each criteria and pull up the price match answer from my large table. I would need to be able to combine IF & Vlookup but not sure how if i want to pull my result. Please note this need to be a formula with a range as there is million of cost variation when combining the 5 different criteria.

    Data Table:

    A1= 4
    B1= UK
    C1= MOBILE
    D1= FRANCE
    E1= MAKE
    F1= 0.03

    Separate Table:

    If i fill in the separate table with the same criteria as above, i want the F14 to find F1 of the data table as all criteria from A14 to E14 match all criteria from A1 to E1.

    A14= 4
    B14= UK
    C14= MOBILE
    D14= FRANCE
    E14= MAKE
    F14= ??

    I hope this make sense, would be glad if there is a formula that could do just what i need based on a range as obviously the Data table where data need to be lookedup will contain more than one criteria option to find a match

    Thank you!!!
    Laurianne

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Match & Vlookup combine?

    insert a helper column in the FIRST column (A becomes B, B becomes C, etc.) and insert the following formula and drag down:
    =b1&c1&d1&e1&f1
    in the seperate table insert a helper column in the FIRST column (A becomes B, B becomes C, etc.) and insert the following formula and drag down:
    =b14&c14&d14&e14&f14

    You now can simply use the vlookup function:
    =vlookup(a14,_____,7,false)
    Last edited by Melvinrobb; 01-04-2013 at 06:22 PM. Reason: Incorrect formulas
    Please click the * icon below if I have helped.

  3. #3
    Registered User
    Join Date
    01-04-2013
    Location
    Cheltenham
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match & Vlookup combine?

    Usage Table.pngCalculator.png
    Hi both,

    I have tried that but it doesnt work, the issue is there is a high amount of data and the formula need to match all the 5 criteria between the 2 datasheet to bring the answer from the data table into the blank calculator form. Attached some image, obviously there is millions of combination of prices but my data table only show a few.

    Usage Table.pngCalculator.png

    So somehow the calculator table need to find which row in the usage table which contain the same 5 different criteria and bring the price of that row into the calculator.

    Let me know if that doesnt make sense, I have been trying to fix this for a while that im not sure i make sense..

    Thank youu

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Match & Vlookup combine?

    @ Melvin, you dont need the helper in the 2nd table, you can combine straight into the vlookup...

    =vlookup(a14&b14&c14&d14&e14,_____,7,false)

    and i think this might be easier using index/match, but without a sample file to see, its hard to say
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Match & Vlookup combine?

    Of course...
    That is what I thinking, just got in the habit of making helper columns.
    You know you like them too much when...
    Ha ha...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Match & Vlookup combine?

    not every1 can open .png files, myself included. It would be far better if you could upload a sample of your file, showing what you have, and an example of your expected outcome. Thanks

  7. #7
    Registered User
    Join Date
    01-04-2013
    Location
    Cheltenham
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match & Vlookup combine?

    Attached.

    - The Data Table contains all the relevant info and price calculation based on various criteria.

    - The Cost Analysis table contain a red cell. In function of the answers given on the calculator excel table, I want the red cell to fetch the price from the data table that correspond to all those criterias combined.

    So if i filled in the calculator as below:

    DATA Belgium Data UK Landline Belgium

    The red cell should bring up : £0.03. This is the price that correspond to those 4 criterias match together according to the data table.

    I exepct the formula to do this to be rather challenging..
    Attached Files Attached Files

  8. #8
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Match & Vlookup combine?

    Are you sure you tried the formula I gave?
    I inserted it here, and it appears to be working.
    If not, please clarify what you want done.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-04-2013
    Location
    Cheltenham
    MS-Off Ver
    Excel 2003
    Posts
    6

    Thumbs up Re: Match & Vlookup combine?

    Brilliant!! Thank you so much, that worked wonders, will try it on my large amount of data but this looks spot on!

    Thank you,
    Laurianne

  10. #10
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Match & Vlookup combine?

    Glad to help.
    Do you know why the formula wasn't working when you entered it?

  11. #11
    Registered User
    Join Date
    01-04-2013
    Location
    Cheltenham
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Match & Vlookup combine?

    Yes, i didnt combine the cells before to try the formula! Should have thought of that, simple yet brilliant

+ 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