+ Reply to Thread
Results 1 to 7 of 7

Sales by month

  1. #1
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Sales by month

    I'm kindly asking for a formula that can rearrange the sales data by month.

    Please find the attached excel sample.


    Regards,

    Sunboy
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Sales by month

    Please try at A36

    =INDEX(A$6:A$23,AGGREGATE(15,6,ROW(A$6:A$23)/($A$6:$A$23>=$B$33)/($A$6:$A$23<EDATE($B$33,1)),ROWS(A$36:A36))-ROW($A$5))
    Attached Files Attached Files

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

    Re: Sales by month

    Another option is to use Power Query. You can then filter on Column A

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    1
    Date Name Vat Number Total Amount Total VAT Invoice.Invoice Vat %
    2
    January Clint
    2006400
    2300
    345
    1
    0.15
    3
    January Desire
    2006401
    2400
    360
    2
    0.15
    4
    January Omega
    2006402
    2500
    375
    3
    0.15
    5
    January Ethan
    2006403
    2600
    390
    4
    0.15
    6
    January Clint
    2006404
    2700
    405
    5
    0.15
    7
    January clint
    2006405
    2800
    420
    6
    0.15
    8
    February Desire
    2006401
    2900
    435
    7
    0.15
    9
    February Omega
    2006402
    3000
    450
    8
    0.15
    10
    February Ethan
    2006403
    3100
    465
    9
    0.15
    11
    February Desire
    2006401
    3200
    480
    10
    0.15
    12
    February Omega
    2006402
    3300
    495
    11
    0.15
    13
    February Ethan
    2006403
    3400
    510
    12
    0.15
    14
    March Gabriel
    2006406
    3500
    525
    13
    0.15
    15
    March Graig
    2006407
    3600
    540
    14
    0.15
    16
    March Clint
    2006400
    3700
    555
    15
    0.15
    17
    March Desire
    2006401
    3800
    570
    16
    0.15
    18
    March Ethan
    2006403
    3900
    585
    17
    0.15
    19
    March Nollen
    2006408
    4000
    600
    18
    0.15
    Sheet: Sheet2




    Please Login or Register  to view this content.
    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

  4. #4
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Sales by month

    Hi Bo_Ry

    Thanks for the formula it does what I want BUT when I'm using it my worksheet, excel is saying there is something wrong with formula. I have tried it several times without success. Please advice me what to do. Its a perfect match to what I want.

    Regards,

    Sunboy

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

    Re: Sales by month

    I have amended the file to include a parameter that you can then filter automatically the Query.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-06-2020
    Location
    zimbabwe
    MS-Off Ver
    Excel 365
    Posts
    478

    Re: Sales by month

    Hi

    Thank you all for helping me.

    Regards,

    Sunboy

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sales by month

    I see brackets in the file uploaded by Bo_Ry.

    In that case you need to close the formula with

    Ctrl+Shift+Enter instead of Enter

    The brackets will appear automaticly.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. [SOLVED] Vlookup to pull in sales data based on the month sales begins
    By adam_d_john in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-12-2017, 05:07 PM
  3. Replies: 16
    Last Post: 03-09-2016, 05:01 PM
  4. Replies: 1
    Last Post: 03-09-2016, 12:16 PM
  5. Replies: 2
    Last Post: 09-01-2015, 12:43 PM
  6. [SOLVED] Making Daily Sales Planner recognize which month and which week to pull sales data from
    By Topher53180 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2014, 10:33 AM
  7. Replies: 6
    Last Post: 10-19-2013, 04:53 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