I'm kindly asking for a formula that can rearrange the sales data by month.
Please find the attached excel sample.
Regards,
Sunboy
I'm kindly asking for a formula that can rearrange the sales data by month.
Please find the attached excel sample.
Regards,
Sunboy
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))
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 1Date Name Vat Number Total Amount Total VAT Invoice.Invoice Vat % 2January Clint 2006400 2300 345 1 0.15 3January Desire 2006401 2400 360 2 0.15 4January Omega 2006402 2500 375 3 0.15 5January Ethan 2006403 2600 390 4 0.15 6January Clint 2006404 2700 405 5 0.15 7January clint 2006405 2800 420 6 0.15 8February Desire 2006401 2900 435 7 0.15 9February Omega 2006402 3000 450 8 0.15 10February Ethan 2006403 3100 465 9 0.15 11February Desire 2006401 3200 480 10 0.15 12February Omega 2006402 3300 495 11 0.15 13February Ethan 2006403 3400 510 12 0.15 14March Gabriel 2006406 3500 525 13 0.15 15March Graig 2006407 3600 540 14 0.15 16March Clint 2006400 3700 555 15 0.15 17March Desire 2006401 3800 570 16 0.15 18March Ethan 2006403 3900 585 17 0.15 19March 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
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
I have amended the file to include a parameter that you can then filter automatically the Query.
Hi
Thank you all for helping me.
Regards,
Sunboy
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks