+ Reply to Thread
Results 1 to 6 of 6

VLookup 2 Colums 2 spreadsheets

Hybrid View

  1. #1
    Registered User
    Join Date
    02-26-2008
    Posts
    3

    VLookup 2 Colums 2 spreadsheets

    hi didnt know if anyone would be able to help am trying to combine 2 spreadsheets Discounts and turnover . and using Vlookup To do this

    Spreadsheet 1

    A B C D E

    A000001 blah 01150 15% ****
    A000001 blah 01121 20% ****
    A000001 blah 01130 50% ****
    A000002 Fred 01115 15% ****
    A000002 Fred 01120 20% ****

    Spreadsheet 2

    A B C D

    A000001 blah 01150 £1500
    A000001 blah 01121 £2500
    A000001 blah 02222 £1234
    A000001 blah 01130 £50
    A000002 Fred 01115 £150
    A000002 Fred 01120 £45

    so i would be looking to replace the Stars with the Turnover. the Common identifiers would be Account number "A00001" etc and Nominal Class "01150" etc

    has anyone got any ideas as been racking brains for this

    cheers

    j

  2. #2
    Forum Contributor
    Join Date
    01-13-2006
    Location
    Texas
    Posts
    161
    What is the "Turnover"? Is it the price in sterling? Will there always exist a match on both account number and nominal class? Do nominal classes repeat in multiple account numbers or are they unique to a single account number?

  3. #3
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Hi Beaker,

    As the turnover is an amount I suppose you could use SUMPRODUCT(). You'll find an example of this function on my site. Otherwise, if you don't succeed using SUMPRODUCT() you can try the MLOOKUP() user defined function that's also to be found on my site.

    Erik
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  4. #4
    Registered User
    Join Date
    02-26-2008
    Posts
    3
    hi Will look at site now

    yep the nominal classes repeat for the account numbers and yeah turnover in stirling

    is this a simple fix and am being V blonde lol

    beaker

  5. #5
    Registered User
    Join Date
    02-22-2008
    Posts
    7
    Hey,

    Just a suggestion as I have not tried this out but could you not create a unique ID field in each of the spreadsheets which is made up of the account number and the other code (i.e. use CONCATENATE formula to create a field that links them together in one field).

    Then you can use the VLOOKUP formula as normal based on this unique ID and return the turnover value you are looking for.

    Thanks

  6. #6
    Registered User
    Join Date
    02-26-2008
    Posts
    3
    Cheers danny That Worked spot on

    j

+ 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