+ Reply to Thread
Results 1 to 11 of 11

i need help to lookup multibale values from different tables

  1. #1
    Registered User
    Join Date
    12-01-2018
    Location
    sheffield, england
    MS-Off Ver
    2016
    Posts
    6

    i need help to lookup multibale values from different tables

    hello,

    i have been trying for three days now to resolve and issue i have come across on Excel,

    i am trying to build a stock management system that would show me how much stock i have. i have a sheet with many tables with the same structure, each table represents the sales of each day. one the other sheet i am trying to use the vlookup on the barcode to calculate how many items have been sold throughout the days of business.

    many thanks

    tasneem.xlsx
    Attached Images Attached Images
    Last edited by wally_mus; 12-01-2018 at 01:46 PM. Reason: attaching file

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: i need help to lookup multibale values from different tables

    Hi and welcome.

    I think it would be easier to help of you could attach a sample workbook showing your expected outcome. Manually generate it and if not completely obvious, tell us how you arrived at the final figures.

    Could I just ask, is the data layout out of choice? It may seem convenient to have it laid out into neat daily tables, but in the long run it'll make things more difficult to draw information from. A long list is often the simplest approach and if you do want the daily tables they can be generated from the long list.

    BSB

  3. #3
    Registered User
    Join Date
    12-01-2018
    Location
    sheffield, england
    MS-Off Ver
    2016
    Posts
    6

    Re: i need help to lookup multibale values from different tables

    thank you for your response,

    i have attached this picture of how i expect the final result to be, as the sold column should calculate the amount of sales of the product identified by the item code, however because everyday holds new sales in different tables i couldnt figure a way to use hlookup.

    and normally i get the data from my paypoint machine the provides the data and layout which i only need to pate. the only issue i have at the moment is how to make the stock sheet calculate the sales. plus im not sure how to attach my file to the post so you could check it. </3
    Attached Files Attached Files
    Last edited by AliGW; 12-01-2018 at 01:52 PM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: i need help to lookup multibale values from different tables

    Thank you for attaching a workbook. Hopefully, you will now get some help with your issue.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: i need help to lookup multibale values from different tables

    I have just looked at your workbook and I cannot work out exactly what you are trying to do. You need to be more specific about what you expect to be coming from where and why.

    This post will hopefully serve to bump your thread - you need to give more detail.

  6. #6
    Registered User
    Join Date
    12-01-2018
    Location
    sheffield, england
    MS-Off Ver
    2016
    Posts
    6

    Re: i need help to lookup multibale values from different tables

    thank you very much for your support, i really hope if there if what i am need to do on excel is possible.

    i have added more info and description on my sheet please check it for further explanation on what im trying to do.

    many thanks

    tasneem.xlsx

  7. #7
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: i need help to lookup multibale values from different tables

    The "Total sales" on sheet2 for each product

    In "Sheet1" D4, copied down :

    =SUMPRODUCT((Sheet2!$B$7:$B$500="Description")*(Sheet2!$C$7:$I$500=B4),Sheet2!$C$13:$I$506)

    Regards
    Bosco

  8. #8
    Registered User
    Join Date
    12-01-2018
    Location
    sheffield, england
    MS-Off Ver
    2016
    Posts
    6

    Re: i need help to lookup multibale values from different tables

    thank you very much!!

    big salute to the heroes who do not wear capes <3 *thumbs up*

  9. #9
    Registered User
    Join Date
    12-01-2018
    Location
    sheffield, england
    MS-Off Ver
    2016
    Posts
    6

    Re: i need help to lookup multibale values from different tables

    im afraid it didnt quite work, i ended up with this. </3

    tasneem.xlsx

  10. #10
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: i need help to lookup multibale values from different tables

    I can see little wrong with Bosco's provided solution and it's difficult to spot why it's not working for you when we have nothing to double check against.

    How about you fill in your expected results manually and we can go from there?

    BSB

  11. #11
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: i need help to lookup multibale values from different tables

    Yes, the formula can be shortened to >>

    =SUMPRODUCT(0+(Sheet2!$C$7:$I$500=B4),Sheet2!$C$13:$I$506)

    but still don't know the OP's expected result.

    Regards
    Bosco

+ 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. Lookup tables
    By mainehelp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-09-2016, 08:15 PM
  2. Values lookup in two different tables
    By lakers617 in forum Excel General
    Replies: 5
    Last Post: 05-27-2016, 08:10 PM
  3. [Solved] 2 way lookup between tables
    By joedrummer in forum Excel General
    Replies: 4
    Last Post: 01-28-2012, 12:49 PM
  4. Excel 2007 : Lookup different tables
    By toclare84 in forum Excel General
    Replies: 6
    Last Post: 08-18-2010, 04:16 AM
  5. Lookup in sub-tables
    By djws in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-12-2008, 05:39 PM
  6. Lookup tables
    By master811 in forum Excel General
    Replies: 1
    Last Post: 09-06-2007, 08:53 AM
  7. Lookup tables
    By Dave in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2005, 09:07 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