Count number of screws

JR111

New Member
Joined
Jun 12, 2024
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hello,

I have an Excel sheet where I count the number of screws needed to make a product.

For every product I define the screw type, diameter, length and quantity.

I then need to count and order a final quantity. But there are several repeats of screws across the sheet, so I need to SUM those together.

I could have done this manually, but, I will be adding to the sheet with over 200 rows.

Is there a way to advise how many CS M4 8 screws are needed across the entire sheet? I can then work out the rest with a given formula.

Thanks!

737SS Screws.xlsx
ABCDEF
1PartHead typeThreadLengthQuantityUsage
2MIP ScreensCSM4163Knobs
3CSM4812Screens
4Nose WheelDHM4202Panel
5ChronoDHM282Microswitch
6CSM461Stepper
7DHM3202Faceplate
8DHM466Stepper
9DHM485Stepper
10Lights TestDHM4122Panel
11Flaps GaugeCSM4162Faceplate
12DHM4503Backplate
13DHM4202Panel
14Knee PanelCSM41210PLA
15CSM4810Brace
16CSM484Rail
17DHM4226Rail panel
18AFDSDHM364PCB PLA
19DHM4204Front panel
20DHM4202Rear panel
21CPT DUDHM4252Front panel
22Korry 318DHM31215Assembly
23Autobrake PanelDHM3121Cage mount
24DHM4106Antiskid and mount
25DHM4254Front panel
26Rotary Slew SwitchSHBM4122
27SHBM4254Orrifices
28SHBM4554
29CSM484Slew cap cover
30DHM382
31DHM2168Microswitch
32DHM4301
33DHM3102
34DHM4166Stop in
35DHM3122
36Anti skidDHM4106
37ISFDCSM4161Button
38CSM3102Rear panel
39RMIDHM484Front panel
40DHM3162Knobs
Sheet1
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Here is a solution, but you'll need to copy down the header values of column A (Can be done easily with FIND BLANKS and typing = and [arrow up] key then CNTR-ENTR).

Book1
ABCDEFGHIJKL
1PartHead typeThreadLengthQuantityUsageHead typeThreadLength
2MIP ScreensCSM4163KnobsMIP ScreensCSM4166
3MIP ScreensCSM4812ScreensMIP ScreensCSM4830
4Nose WheelDHM4202PanelNose WheelDHM42010
5ChronoDHM282MicroswitchChronoDHM282
6ChronoCSM461StepperChronoCSM461
7ChronoDHM3202FaceplateChronoDHM3202
8ChronoDHM466StepperChronoDHM466
9ChronoDHM485StepperChronoDHM489
10Lights TestDHM4122PanelLights TestDHM4122
11Flaps GaugeCSM4162FaceplateFlaps GaugeDHM4503
12Flaps GaugeDHM4503BackplateKnee PanelCSM41210
13Flaps GaugeDHM4202PanelKnee PanelDHM4226
14Knee PanelCSM41210PLAAFDSDHM364
15Knee PanelCSM4810BraceCPT DUDHM4256
16Knee PanelCSM484RailKorry 318DHM31218
17Knee PanelDHM4226Rail panelAutobrake PanelDHM41012
18AFDSDHM364PCB PLARotary Slew SwitchSHBM4122
19AFDSDHM4204Front panelRotary Slew SwitchSHBM4254
20AFDSDHM4202Rear panelRotary Slew SwitchSHBM4554
21CPT DUDHM4252Front panelRotary Slew SwitchDHM382
22Korry 318DHM31215AssemblyRotary Slew SwitchDHM2168
23Autobrake PanelDHM3121Cage mountRotary Slew SwitchDHM4301
24Autobrake PanelDHM4106Antiskid and mountRotary Slew SwitchDHM3102
25Autobrake PanelDHM4254Front panelRotary Slew SwitchDHM4166
26Rotary Slew SwitchSHBM4122ISFDCSM3102
27Rotary Slew SwitchSHBM4254OrrificesRMIDHM3162
28Rotary Slew SwitchSHBM4554
29Rotary Slew SwitchCSM484Slew cap cover
30Rotary Slew SwitchDHM382
31Rotary Slew SwitchDHM2168Microswitch
32Rotary Slew SwitchDHM4301
33Rotary Slew SwitchDHM3102
34Rotary Slew SwitchDHM4166Stop in
35Rotary Slew SwitchDHM3122
36Anti skidDHM4106
37ISFDCSM4161Button
38ISFDCSM3102Rear panel
39RMIDHM484Front panel
40RMIDHM3162Knobs
41
42
Sheet2
Cell Formulas
RangeFormula
I1:K27I1=UNIQUE($B$1:$D$40,FALSE,FALSE)
A3,A40,A38,A27:A35,A24:A25,A19:A20,A15:A17,A12:A13,A6:A9A3=A2
H2H2=XLOOKUP(I2&J2&K2,$B$2:$B$40 & $C$2:$C$40 & $D$2:$D$40, $A$2:$A$40, "Not Found",0,1)
H3:H27H3=XLOOKUP(I3&J3&K3,$B$2:$B$40&$C$2:$C$40&$D$2:$D$40,$A$2:$A$40,"Not Found",0,1)
L2:L27L2=SUMIFS($E$2:$E$40,$B$2:$B$40,I2,$C$2:$C$40,J2,$D$2:$D$40,K2)
Dynamic array formulas.
 
Upvote 0
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDEFGHIJK
1PartHead typeThreadLengthQuantityUsage
2MIP ScreensCSM4163KnobsCSM4166
3CSM4812ScreensCSM4830
4Nose WheelDHM4202PanelDHM42010
5ChronoDHM282MicroswitchDHM282
6CSM461StepperCSM461
7DHM3202FaceplateDHM3202
8DHM466StepperDHM466
9DHM485StepperDHM489
10Lights TestDHM4122PanelDHM4122
11Flaps GaugeCSM4162FaceplateDHM4503
12DHM4503BackplateCSM41210
13DHM4202PanelDHM4226
14Knee PanelCSM41210PLADHM364
15CSM4810BraceDHM4256
16CSM484RailDHM31218
17DHM4226Rail panelDHM41012
18AFDSDHM364PCB PLASHBM4122
19DHM4204Front panelSHBM4254
20DHM4202Rear panelSHBM4554
21CPT DUDHM4252Front panelDHM382
22Korry 318DHM31215AssemblyDHM2168
23Autobrake PanelDHM3121Cage mountDHM4301
24DHM4106Antiskid and mountDHM3102
25DHM4254Front panelDHM4166
26Rotary Slew SwitchSHBM4122CSM3102
27SHBM4254OrrificesDHM3162
28SHBM4554
29CSM484Slew cap cover
30DHM382
31DHM2168Microswitch
32DHM4301
33DHM3102
34DHM4166Stop in
35DHM3122
36Anti skidDHM4106
37ISFDCSM4161Button
38CSM3102Rear panel
39RMIDHM484Front panel
40DHM3162Knobs
41
Sheet6
Cell Formulas
RangeFormula
H2:J27H2=UNIQUE(FILTER(B2:D100,B2:B100<>""))
K2:K27K2=SUMIFS(E:E,B:B,INDEX(H2#,,1),C:C,INDEX(H2#,,2),D:D,INDEX(H2#,,3))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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