Count total by specific criteria formula pls

gilquenanoviii

New Member
Joined
May 18, 2022
Messages
31
Office Version
  1. 2021
Platform
  1. Windows
Hi everyone, hope someone could help me which formula to use to get/count the total receipt # of each store. thank you in advance

342.xlsx
ABCDEFGH
1StoreReceipt numberSum of Quantity SoldSum of Sales
2402040201020124043943-3-270STORETOTAL RECEIPT COUNT
3040201020324044003-3-248402
4040201020324044028-3-360404
5040201020424044064-3-174405
6040201020524044141-3-110412
7040201020724044197-3-134416
8040201020724044205-3-114
9040201021024044316-3-154
10040201021024044335-5-284
11040201021124044357-3-184
12040202020224058495-3-134
13040202020424058624-3-208
14040202020824058743-5-246
15040202020824058750-3-144
16040202020824058755-4-163
17040202020924058796-3-258
18040202021124058907-3-190
19404040402021124050066-3-284
20040404020324031693-6-431
21040404020624032033-7-476
22040404020924032251-5-428
23040404021024032356-5-347
24040404021024032380-3-150
25040404021024032450-3-254
26040404021124032483-3-98
27040404021124032548-3-154
28040404021124032587-3-144
29040404021224032629-3-170
30040404021224032630-6-384
31040404021224032631-3-144
32405040501020224092927-3-134
33040501020624093215-8-210
34040501021124093730-3-114
35040501021224093772-3-94
36040502020224121764-3-130
37040502020524122033-3-170
38040502020924122307-6-417
39040502021024122379-3-144
40040502021224122568-3-84
41040504020924022623-7-325
42040504020924022673-4-157
43040504021124022885-3-118
44040504021124022964-6-293
45040505020824070375-3-174
46040505021024070433-9-452
47040506020924096663-4-219
48040508020224045527-18-890
49040509020824113266-4-253
50040509021024113542-3-214
51040509021024113563-3-180
52040509021224113677-6-451
53040510020824083414-7-245
54040510020924083472-6-363
55040510020924083490-6-196
56040512020224032828-3-168
57412041201020324064042-3-134
58041201020524064337-14-1217
59041204020124113831-4-163
60041204020624114135-3-64
61041204021224114471-3-173
Sheet11
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
We cannot tell if column B is entered as Text or numbers with a special format.
Can you tell me what this formula returns?
Excel Formula:
=LEFT(B2,3)
 
Upvote 0
342.xlsx
ABCDEFGH
1StoreReceipt numberSum of Quantity SoldSum of Sales
240240201020124043900-3-270STORETOTAL RECEIPT COUNT
340201020324044000-3-248402
440201020324044000-3-360404
540201020424044000-3-174405
640201020524044100-3-110412
740201020724044100-3-134416
840201020724044200-3-114
940201021024044300-3-154
1040201021024044300-5-284
1140201021124044300-3-184
1240202020224058400-3-134
1340202020424058600-3-208
1440202020824058700-5-246
1540202020824058700-3-144
1640202020824058700-4-163
1740202020924058700-3-258
1840202021124058900-3-190
1940440402021124050000-3-284
2040404020324031600-6-431
2140404020624032000-7-476
2240404020924032200-5-428
2340404021024032300-5-347
2440404021024032300-3-150
2540404021024032400-3-254
2640404021124032400-3-98
2740404021124032500-3-154
2840404021124032500-3-144
2940404021224032600-3-170
3040404021224032600-6-384
3140404021224032600-3-144
3240540501020224092900-3-134
3340501020624093200-8-210
3440501021124093700-3-114
3540501021224093700-3-94
3640502020224121700-3-130
3740502020524122000-3-170
3840502020924122300-6-417
3940502021024122300-3-144
4040502021224122500-3-84
4140504020924022600-7-325
4240504020924022600-4-157
4340504021124022800-3-118
4440504021124022900-6-293
4540505020824070300-3-174
4640505021024070400-9-452
4740506020924096600-4-219
4840508020224045500-18-890
4940509020824113200-4-253
5040509021024113500-3-214
5140509021024113500-3-180
5240509021224113600-6-451
5340510020824083400-7-245
5440510020924083400-6-363
5540510020924083400-6-196
5640512020224032800-3-168
5741241201020324064000-3-134
5841201020524064300-14-1217
5941204020124113800-4-163
6041204020624114100-3-64
6141204021224114400-3-173
Sheet11
 
Upvote 0
We cannot tell if column B is entered as Text or numbers with a special format.
Can you tell me what this formula returns?
Excel Formula:
=LEFT(B2,3)

And I cannot tell if you are just looking for the total count of rows, or the total from column C?
Can you clarify that?
i resend it with number format sir
 
Upvote 0
You didn't answer my question - it looks like you just posted your data again.
Can you please tell me what that formula I posted returns if you enter it into any blank cell on your sheet?

That will not answer your question, it just tells me what kind of data we are working with so I know how to construct the formula that will answer your question.
Please just do that, and nothing else!
 
Upvote 0
You didn't answer my question - it looks like you just posted your data again.
Can you please tell me what that formula I posted returns if you enter it into any blank cell on your sheet?

That will not answer your question, it just tells me what kind of data we are working with so I know how to construct the formula that will answer your question.
Please just do that, and nothing else!
i put the formula you gave to a blank cell on my sheet and it gave me "402" sir.
 
Upvote 0
OK thank you.

Place this formula in cell H3 and copy down to H7:
Excel Formula:
=SUMPRODUCT(--(LEFT(B$2:B$61,3)=LEFT(G3,3)))

Note: If your data really goes past row 61, replace the "61" in the formula with the real last row number in your data set.

1707914598853.png
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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