+ Reply to Thread
Results 1 to 34 of 34

Sorting Products to Raw materials and add the weight and the week produced

Hybrid View

smbcoach Sorting Products to Raw... 12-02-2019, 11:09 AM
Pepe Le Mokko Re: Sorting Products to Raw... 12-02-2019, 11:13 AM
smbcoach Re: Sorting Products to Raw... 12-02-2019, 11:22 AM
smbcoach Re: Sorting Products to Raw... 12-02-2019, 11:26 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-02-2019, 11:35 AM
smbcoach Re: Sorting Products to Raw... 12-02-2019, 11:49 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-02-2019, 12:12 PM
smbcoach Re: Sorting Products to Raw... 12-03-2019, 05:33 AM
smbcoach Re: Sorting Products to Raw... 12-04-2019, 06:17 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-04-2019, 06:53 AM
smbcoach Re: Sorting Products to Raw... 12-04-2019, 07:23 AM
smbcoach Re: Sorting Products to Raw... 12-05-2019, 04:24 AM
smbcoach Re: Sorting Products to Raw... 12-05-2019, 05:20 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-05-2019, 04:32 AM
smbcoach Re: Sorting Products to Raw... 12-05-2019, 04:43 AM
smbcoach Re: Sorting Products to Raw... 12-09-2019, 05:59 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-05-2019, 05:27 AM
menem Re: Sorting Products to Raw... 12-09-2019, 06:27 AM
smbcoach Re: Sorting Products to Raw... 12-09-2019, 07:39 AM
menem Re: Sorting Products to Raw... 12-09-2019, 06:37 AM
menem Re: Sorting Products to Raw... 12-09-2019, 11:04 PM
menem Re: Sorting Products to Raw... 12-10-2019, 12:17 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-10-2019, 04:18 AM
smbcoach Re: Sorting Products to Raw... 12-11-2019, 10:27 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-11-2019, 10:54 AM
smbcoach Re: Sorting Products to Raw... 12-11-2019, 11:29 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-11-2019, 02:24 PM
smbcoach Re: Sorting Products to Raw... 12-12-2019, 06:14 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-12-2019, 06:16 AM
smbcoach Re: Sorting Products to Raw... 12-17-2019, 09:49 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-17-2019, 09:52 AM
smbcoach Re: Sorting Products to Raw... 12-17-2019, 10:01 AM
Glenn Kennedy Re: Sorting Products to Raw... 12-19-2019, 04:46 AM
smbcoach Re: Sorting Products to Raw... 12-19-2019, 04:58 AM
  1. #1
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Sorting Products to Raw materials and add the weight and the week produced

    Hello Experts!

    I got a problem to solve and it is out of my expertise to do that. Thanks to everyone trying to help me with it!!

    PLEASE SEE THE SAMPLE FILE ATTACHED!!



    I have a file with two tables. One holds all the Raw material and in what Product it is used, when and with what weight.

    Now I need to fill table 2 with the weight data for every week of the year per Rawmaterial and Product.



    Raw material 1 / Product 1 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 2 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 3 .... Week1 weight / Week 2 Weight / Week 3 Weight and so on.....

    Raw material 1 / Product 1 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 2 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 3 .... Week1 weight / Week 2 Weight / Week 3 Weight and so on.....

    I hope I made myself clear, but I guess you get the idea in the sample file.

    Thank you very much in advance!!


    JP
    Last edited by smbcoach; 12-02-2019 at 11:44 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi
    please post your file on the forum as described in the yellow banner.
    External links are unsafe and not all members can access them.
    Thanks

  3. #3
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    that´s what I tried todo...but it didn´t take my attachement

  4. #4
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    ...there is no GO ADVANCED

  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 2406
    Posts
    44,662

    Re: Sorting Products to Raw materials and add the weight and the week produced

    There is, you just haven't spotted it yet!!

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Make sure confidential information is removed first!!!!
    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
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hello Experts!

    I got a problem to solve and it is out of my expertise to do that. Thanks to everyone trying to help me with it!!

    PLEASE SEE THE SAMPLE FILE ATTACHED!!



    I have a file with two tables. One holds all the Raw material and in what Product it is used, when and with what weight.

    Now I need to fill table 2 with the weight data for every week of the year per Rawmaterial and Product.



    Raw material 1 / Product 1 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 2 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 3 .... Week1 weight / Week 2 Weight / Week 3 Weight and so on.....

    Raw material 1 / Product 1 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 2 Week1 weight / Week 2 Weight / Week 3 Weight and so on.....
    / Product 3 .... Week1 weight / Week 2 Weight / Week 3 Weight and so on.....

    I hope I made myself clear, but I guess you get the idea in the sample file.

    Thank you very much in advance!!


    JP
    Attached Files Attached Files

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi. Is it allowed to fill in the relevant blank cells in column A??

    If YES, this is easy. If NO, it will be horrible.
    Attached Images Attached Images

  8. #8
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    thank you for looking into my problem

    yes that is no problem, they can be filled accordingly.
    Last edited by smbcoach; 12-03-2019 at 05:42 AM.

  9. #9
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    ...anyone there to help with this problem?

    Thank you!!

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi. there is a lot going on here. I will explain, as needed. However, I have had to make further changes to the layout (no blank rows) to make this deliverable without VBA.

    Take a look and see if it does what you need.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    I didn´t want to make pressure, sorry if it came across like that. I just have a short deadline to make this file work

    Thank you very much for your help. I will have a look at it now.

    Cheers
    Joachim

  12. #12
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    you mentioned the solution without VBA......so that means there would also be a solution with VBA?
    Could I keep then the present layout?

    Thank you!

    Cheers
    Joachim

  13. #13
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    I just experience a mistake. In the Helper file it does not list all Articles, ONE is missing?

    Any idea?
    Last edited by smbcoach; 12-05-2019 at 05:40 AM.

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Yes, but I would not be able to do it.

  15. #15
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Ok...thank you!

    Still testing the solution you sent me

  16. #16
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    the mistake I could solve.
    Is it possible to keep the alphabetic order in the list in Tabelle2? Otherwise, it is difficult to check the results.
    Actually it would be good to keep the names in the list just as they are there and only fill the weight in this table?

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    The helper lists the Rohstoffs, not Artikels. There are 15 Rohstoffs in your raw data. There are 15 on the helper column. So I am a little confused.

  18. #18
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Please try this formula

    at C8

    =SUMIFS(Tabelle1!$D:$D,Tabelle1!$B:$B,LOOKUP(2,1/($A2:$A8<>""),$A2:$A8),Tabelle1!$C:$C,$B8,Tabelle1!$A:$A,">="&C$5,Tabelle1!$A:$A,"<="&C$6)
    Note : max row is allow only 7 rows per A column,
    for unlimited at 7 per A column formula may changed to

    =SUMIFS(Tabelle1!$D:$D,Tabelle1!$B:$B,LOOKUP(2,1/($A$1:$A8<>""),$A$1:$A8),Tabelle1!$C:$C,$B8,Tabelle1!$A:$A,">="&C$5,Tabelle1!$A:$A,"<="&C$6)

    Regards.
    Attached Files Attached Files
    Last edited by menem; 12-09-2019 at 06:29 AM. Reason: Add file

  19. #19
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi menem,

    thank you for your solution. I experience a mistake in the sum of the weight. For example, it doesn´t show the weight in C8 and actually it should show 458kg, and also Article 2 an 3 should have weight there.
    You know why that is?

  20. #20
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Sorting Products to Raw materials and add the weight and the week produced

    After seen Glenn's file , seem I mis understood OP requirement again. >_<

    Sorry for the mistake.

    Regards.

  21. #21
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Sorting Products to Raw materials and add the weight and the week produced

    In tabelle2 C8 = 0 because Tabelle1 A2 = 02.01.2019 it's not a date in my local. (Glenn's file already fixed it)
    Article 2 is in U column , Article3 is not match with Rohstoff 1


    Regards.

  22. #22
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Sorting Products to Raw materials and add the weight and the week produced

    This is (may be) another solution,
    by adding helper sheet and use non-Array formula to count and re-order combind text.

    Please review in the file.

    Weak point of this file,
    1. In helper sheet need to have formula row more than data in Tabella1 (it's use Index to rebuild table of data)
    2. In Tabella2 (output) name are sorted , it might not as you want.


    Regards.
    Attached Files Attached Files
    Last edited by menem; 12-10-2019 at 01:04 AM. Reason: Edit some error in file

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    If you want to retain the unsorted order in Tabelle 1 it all becomes much simpler!!

    See file. Helper gone...
    Attached Files Attached Files

  24. #24
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hello Glenn,

    thank you very much for your answers and your effort to solve my problem. Unfortunately it doesn´t exactely solve my problem.

    I try to explain again.

    In table 2 I need in Row A all Rohstoffe sorted in alphabetical order and in Row B must be the according Article that is made out of this Rohstoff. But each Rohstoff can appear there only once or often as he has different Articles.

    If that helps I can write all Rohstoffe and Articles in the appropriate order into Row A and B and we calculate only the weights in Row C and so on.

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    No. Now I am totally confused. All the Rohstuff are in alphabetical order in your raw data. They are in the same order in table 2.

    Please upload a small, representative sample and show your expected results, calculated manually. 10 rows, maximum, is all that is needed.

  26. #26
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    here is a sample of the original file. Guess with that it becomes clear what I need.

    Actually all the raw data needs to be sorted in the table with the appropriate week and weight.

    Thanks again for your very much appreciated help.
    Attached Files Attached Files

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Rather than start all over again (!!!) I copied 20 rows into my original effort and re-worked it. I have now copied all of the sample data in and it is OK.... now... I think. I have spent an awful hour staring at one formula which refused to work.

    A disaster caused by Excel's inability to count (floating point arithmetic... don't ask). Now sorted.

    Issues:

    Dates in raw data are not dates. They're text. Select Table 1 column A. Data/Txt to columns/Next/Next/Date DMY/Finish.

    Helper column A. This is an array formula.


    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use 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 brackets yourself - it won't work...

    My main concern now is that it might be too slow... especially if the file you uploaded is only a small fraction of the real thing. I do have one possible workaround up my sleeve....
    Attached Files Attached Files

  28. #28
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn, and thank you so much for putting so much effort into the solution to help me.

    I will try the file and give you feedback.

    And yes, the file as now around 5000 lines, so yes it could become very slow.

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    let me know!!

  30. #30
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Hi Glenn,

    it is not working for my file.......I get error messages in the tabelle2 in row B........some are ok.......but then there comes an error #Number?!

    My perfect solution would be if I only calculate the weights in tabelle2 (from row C on) and have fixed text in row A and B. (No calculation there). like the file, I sent first.

    Sorry, that it is so complicated, but this is not working unfortunately.

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    I do not own a crystal ball. Unless I can SEE what YOU have done, how can I tell what is wrong??

  32. #32
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Sorry, yes

    actually I configured my file, exactly the way your file is structured. But when I copy the formulas, I get erros.
    I could send you my file, but I can´t publish it here.

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

    Re: Sorting Products to Raw materials and add the weight and the week produced

    The problem was resolved as the OP has mis-transcribed dsome ranges. A pivot Table was finally needed to sort the unique Artikel names.

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  34. #34
    Registered User
    Join Date
    02-18-2019
    Location
    Munich, Germany
    MS-Off Ver
    Excel 2019
    Posts
    73

    Re: Sorting Products to Raw materials and add the weight and the week produced

    Thank you, Glenn, you did an awesome job!!!! Unfortunately we can not present the file here in public, but be assured the problem was solved with excellence!!!

+ 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. Replies: 13
    Last Post: 01-04-2019, 10:05 AM
  2. Sorting cells with numbers produced from a formula?
    By Oblisgr in forum Excel General
    Replies: 4
    Last Post: 12-06-2018, 03:05 AM
  3. sorting products
    By onbekend2010 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-07-2016, 06:39 PM
  4. Summing number of good products produced during a shift
    By bberger1985 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2014, 04:21 PM
  5. Replies: 3
    Last Post: 10-12-2012, 01:55 AM
  6. Replies: 0
    Last Post: 06-14-2012, 11:39 AM
  7. Calculating Average Weight Gain Per Week
    By erin1684 in forum Excel General
    Replies: 4
    Last Post: 07-13-2010, 01:23 PM

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