Summarising Values

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
349
Office Version
  1. 365
Platform
  1. Windows
Hi

I would like to have formulas in columns K, L, M & N that summarise the various categories from the source data located in columns A to E and H.

There are two main headings in columns K to N (Black & Red) which both have two sub-categories (Kgs & Fee).

Each row in columns K to N are summarising by each day.

Thanks

Book1
ABCDEFGHIJKLMN
1DateMonthCarGoodsKgsFee1Fee2Fee -TotalSummaryBlack - KgsBlack - FeeRed - KgsRed - Fee
21/07/20191/07/2019BlackApples001/07/20196556325 57
31/07/20191/07/2019BlackOranges002/07/201922053129 168
41/07/20191/07/2019BlackBananas502314373/07/201981684052 263
51/07/20191/07/2019BlackOranges004/07/2019
61/07/20191/07/2019BlackGrapes51165765/07/2019
71/07/20191/07/2019RedCarrots152215376/07/2019
81/07/20191/07/2019BlackMango007/07/2019
91/07/20191/07/2019BlackNuts101503004508/07/2019
101/07/20191/07/2019BlackTomato009/07/2019
111/07/20191/07/2019RedOnion105152010/07/2019
122/07/20191/07/2019BlackApples0011/07/2019
132/07/20191/07/2019BlackOranges0012/07/2019
142/07/20191/07/2019BlackBananas0013/07/2019
152/07/20191/07/2019RedOranges2655419614/07/2019
162/07/20191/07/2019RedGrapes1511142515/07/2019
172/07/20191/07/2019BlackCarrots22035185316/07/2019
182/07/20191/07/2019BlackMango0017/07/2019
192/07/20191/07/2019BlackNuts0018/07/2019
202/07/20191/07/2019RedTomato6215142919/07/2019
212/07/20191/07/2019RedOnion261351820/07/2019
223/07/20191/07/2019RedApples1524143821/07/2019
233/07/20191/07/2019RedOranges525265122/07/2019
243/07/20191/07/2019RedBananas61585923/07/2019
253/07/20191/07/2019BlackOranges0024/07/2019
263/07/20191/07/2019BlackGrapes81622561584025/07/2019
273/07/20191/07/2019RedCarrots516213726/07/2019
283/07/20191/07/2019RedMango625143927/07/2019
293/07/20191/07/2019RedNuts1524153928/07/2019
303/07/20191/07/2019BlackTomato0029/07/2019
313/07/20191/07/2019BlackOnion0030/07/2019
Sheet2
Cell Formulas
RangeFormula
B2:B31B2=A2-DAY(A2)+1
D12:D31D12=D2
H2:H31H2=F2+G2
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
How about, in K2 filled down
=SUMIFS(E:E,A:A,J2,C:C,"Black")

In L2
=SUMIFS(H:H,A:A,J2,C:C,"Black")

And the same for the other two columns, but change Black to Red
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,929
Messages
6,122,317
Members
449,081
Latest member
tanurai

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top