+ Reply to Thread
Results 1 to 7 of 7

Order overview automation

  1. #1
    Registered User
    Join Date
    03-25-2024
    Location
    Haren, The Netherlands
    MS-Off Ver
    Excel for Mac 16.83
    Posts
    2

    Question Order overview automation

    Dear all,

    I am looking for the option to automatically group new orders with the same order number in a stock overview with subtotals and possibly specific color per order.
    Can this be automated using a script or something similar? Please see my added example. I work in Excel for Mac 16.83. Thanks in advance!

    Kind regards,

    Marnix
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Marrow83; 04-01-2024 at 05:44 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Order overview automation

    Hello Marrow83 and Welcome to Excel Forum.
    In the file attached to post #1, it looks like we are given the expected result but not the setup of the data beforehand, which makes it hard to offer specific solutions.
    That said, a pivot table would group by order number and give subtotals, although I don't believe that it will highlight per order number.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    03-25-2024
    Location
    Haren, The Netherlands
    MS-Off Ver
    Excel for Mac 16.83
    Posts
    2

    Re: Order overview automation

    Hello JeteMc, thank you for your reply. Please see the attached screenshots of the data input and output of the desired result.

    Attachment 864807Attachment 864806

    Thanks in advance!
    Attached Files Attached Files
    Last edited by Marrow83; 04-01-2024 at 05:46 AM.

  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: Order overview automation

    No - not screenshots, please. Mambers cannot test solutions with screenshots, so please add some source data to your sample workbook. Thanks.

    Is your Excel version a 365 offering? If so, please add this to your forum profile.
    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: Order overview automation

    I have extracted raw data from your workbook to another worksheet and added this:

    =LET(u,UNIQUE(A2:A19),q,SUMIF(A2:A19,u,C2:C19),a,SUMIF(A2:A19,u,E2:E19),VSTACK(HSTACK({"ORDER","QUANTITY","AMOUNT"}),HSTACK(u,q,a),HSTACK({"TOTAL"},SUM(q),SUM(a))))

    It produces this:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    H
    I
    J
    2
    ORDER QUANTITY AMOUNT
    3
    1000
    8
    160
    4
    1001
    3
    120
    5
    1002
    5
    60
    6
    1003
    6
    170
    7
    1004
    3
    40
    8
    1005
    4
    20
    9
    1006
    2
    60
    10
    TOTAL
    31
    630
    Sheet: Sheet1

    It will work only if you have Excel 365.
    Attached Files Attached Files
    Last edited by AliGW; 04-01-2024 at 04:41 AM.

  6. #6
    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: Order overview automation

    Seen, but no response ...

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help.

  7. #7
    Registered User
    Join Date
    04-01-2024
    Location
    sydney
    MS-Off Ver
    2019
    Posts
    9

    Re: Order overview automation

    Can you explain How did you arrive to this formula . I was thinking and checking i could`nt follow up .

+ 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. Purchase Order Automation
    By sherrellemvrojas in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-30-2020, 06:12 PM
  2. Enhanced Overview for Formular
    By Xarmat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-29-2018, 08:27 AM
  3. [SOLVED] Macro to copy data from multiple sheets to overview and align results on overview sheet
    By McBree in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2015, 04:01 PM
  4. [SOLVED] Order Form to Summarise Order on another sheet with a Submit Order Button
    By KazzICC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-01-2014, 03:25 AM
  5. Resoruce overview - Create new sheet and add to sumif function in exsisting overview
    By Martinbif in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-27-2013, 09:58 AM
  6. Order of Calculation for Functions in Automation Add-In
    By Matthew Wieder in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2006, 05:50 PM
  7. Tab Order Automation??
    By peter.thompson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2006, 05:25 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