tammy01977

New Member
Joined
Feb 12, 2019
Messages
6
This is the information. We are wanting to create another sheet that will add up all the coat, blast, and cutout for a certain date. I only know a little bit about the formulas and all the websites say to use this formula countifs. I am clueless as how to use it, especially since I have 4 columns to get the information from.


POD DATECOATBLASTCUTOUT
2/15/20190.002321.003373.00
2/22/20195471.002321.000.00
3/1/20190.002321.003373.00
2/15/20190.002321.003373.00
3/15/20190.002321.003373.00
3/22/20190.002321.003373.00
2/15/20190.002321.003373.00
2/22/20190.002321.003373.00

<colgroup><col span="4"></colgroup><tbody>
</tbody>



POD DATECOATBLASTCUTOUT
2/15/2019
2/22/2019
3/1/2019
3/8/2019
3/15/2019
3/22/2019
3/29/2019
4/5/2019

<colgroup><col span="4"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi,

By your description, if the Columns in the New Table is in the same Order as the first Table, you'll want to use SUMIF:


Book1
ABCD
1POD DATECOATBLASTCUTOUT
22/15/2019023213373
32/22/2019547123210
43/1/2019023213373
52/15/2019023213373
63/15/2019023213373
73/22/2019023213373
82/15/2019023213373
92/22/2019023213373
10
11
12
13POD DATECOATBLASTCUTOUT
142/15/20190696310119
152/22/2019547146423373
163/1/2019023213373
173/8/2019000
183/15/2019023213373
193/22/2019023213373
203/29/2019000
214/5/2019000
Sheet560
Cell Formulas
RangeFormula
B14=SUMIF($A$2:$A$9,$A14,B$2:B$9)


B14 formula copied down and across to D21.
 
Upvote 0
you can use PivotTable or PowerQuery

SourcePivotTablePowerQuery
POD DATECOATBLASTCUTOUTRow LabelsSum of COATSum of BLASTSum of CUTOUTPOD DATECoatBlastCutout
15/02/2019​
0​
2321​
3373​
15/02/2019
0​
6963​
10119​
15/02/2019​
0​
6963​
10119​
22/02/2019​
5471​
2321​
0​
22/02/2019
5471​
4642​
3373​
22/02/2019​
5471​
4642​
3373​
01/03/2019​
0​
2321​
3373​
01/03/2019
0​
2321​
3373​
01/03/2019​
0​
2321​
3373​
15/02/2019​
0​
2321​
3373​
15/03/2019
0​
2321​
3373​
15/03/2019​
0​
2321​
3373​
15/03/2019​
0​
2321​
3373​
22/03/2019
0​
2321​
3373​
22/03/2019​
0​
2321​
3373​
22/03/2019​
0​
2321​
3373​
Grand Total
5471
18568
23611
15/02/2019​
0​
2321​
3373​
22/02/2019​
0​
2321​
3373​

M-code for PowerQuery
Code:
[SIZE=1]let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"POD DATE"}, {{"Coat", each List.Sum([COAT]), type number}, {"Blast", each List.Sum([BLAST]), type number}, {"Cutout", each List.Sum([CUTOUT]), type number}}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Grouped Rows",{{"POD DATE", type date}})
in
    #"Changed Type1"[/SIZE]
 
Upvote 0
Hi,

By your description, if the Columns in the New Table is in the same Order as the first Table, you'll want to use SUMIF:

ABCD
1POD DATECOATBLASTCUTOUT
22/15/2019023213373
32/22/2019547123210
43/1/2019023213373
52/15/2019023213373
63/15/2019023213373
73/22/2019023213373
82/15/2019023213373
92/22/2019023213373
10
11
12
13POD DATECOATBLASTCUTOUT
142/15/20190696310119
152/22/2019547146423373
163/1/2019023213373
173/8/2019000
183/15/2019023213373
193/22/2019023213373
203/29/2019000
214/5/2019000

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet560

Worksheet Formulas
CellFormula
B14=SUMIF($A$2:$A$9,$A14,B$2:B$9)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



B14 formula copied down and across to D21.



Thank you both for your assistance. I was getting a headache trying to get that countifs to work, LOL
 
Upvote 0
I can't seem to make this work, LOL...

How do you mean? How is it Not working for you?
Maybe a little more explanation?

BTW, you need to change/adjust cell references/range and add sheet name as needed to the formula...
 
Upvote 0
How do you mean? How is it Not working for you?
Maybe a little more explanation?

BTW, you need to change/adjust cell references/range and add sheet name as needed to the formula...


_______________________________________________________________________________________________________


Oh, I am sorry. I was meaning this replying stuff.
 
Upvote 0
Ok, then I assume you got the SUMIF to work for you...

and You're welcome, welcome to the forum.
 
Upvote 0
Yes I got the sumif to work but the boss doesn't want it to add up all the dollar amounts, since they are different for each customer She wants it to add up the cells that has an amount in it. The only issue is that she has to have 0.00 in the fields. If that makes an sense. I have a hard time trying to explain things.

this is what she wants.

POD DATELiningInterior BlastPaint
3/22/2019025
3/29/2019135
4/5/2019120

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>


i haven't had time to play with it much today.
 
Upvote 0
Ok, so we Will be using COUNTIFS if I understand correctly.

Change/adjust cell references/range, add sheet name, as needed:


Book1
ABCD
1POD DATECOATBLASTCUTOUT
22/15/2019023213373
32/22/2019547123210
43/1/2019023213373
52/15/2019023213373
63/15/2019023213373
73/22/2019023213373
82/15/2019023213373
92/22/2019023213373
10
11
12
13POD DATECOATBLASTCUTOUT
142/15/2019033
152/22/2019121
163/1/2019011
173/8/2019000
183/15/2019011
193/22/2019011
203/29/2019000
214/5/2019000
Sheet560
Cell Formulas
RangeFormula
B14=COUNTIFS($A$2:$A$9,$A14,B$2:B$9,">0")
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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