+ Reply to Thread
Results 1 to 2 of 2

Formula for # of sales orders per month

Hybrid View

  1. #1
    Registered User
    Join Date
    07-22-2019
    Location
    USA
    MS-Off Ver
    2019
    Posts
    2

    Formula for # of sales orders per month

    Hello,

    I have question about setting up a table using either formulas or a vba macro that will break out sales numbers by quantity for a given month. These numbers will then be used to calculate discounts, but that is irrelevant. I've attached a table and will reference for my questions.

    Each month I will enter the number of sales into the Sales # per month category. I'm currently using the sum function to fill the total sales so far. The columns to the right of total sales by month are what I'm struggling to figure out how to automate. The month of April for example only has 4,728 sales before reaching total sales of 100,000 and the rest of the sales for that month (50,464) are under 200,000 so they are placed in the 100K+ column. May has a split between 100K+and 200K+. These splits could happen in any month and each month could have any sales quantity. If anyone has an ideas that may help that would be amazing. I'm comfortable with writing vba code and long formulas, but I just can't wrap my head around this one. Thank you.

    Edit - Added the excel file. Thanks Alan for pointing out the Manage Attachments section.

    Attachment 643432
    Attached Files Attached Files
    Last edited by bmiller603; 09-30-2019 at 04:40 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,982

    Re: Formula for # of sales orders per month

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] calculating Dynamic current month sales and previous month sales
    By anilpatni1234 in forum Excel General
    Replies: 4
    Last Post: 07-29-2018, 11:22 PM
  2. Chart to get sales orders by hour
    By newyorknix in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-18-2017, 05:47 AM
  3. Formula: Count number of orders by month
    By concepo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2016, 05:28 AM
  4. how to calculate number of sales orders and qty created at given time slots?
    By flyingflying in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2014, 03:41 AM
  5. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  6. Formula that shows commonly sold trends across multiple sales orders
    By papajpp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2013, 11:05 AM
  7. Macro button to transfer Inventory to sales orders.
    By ElmerFud in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-20-2011, 12:26 AM

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