Formula help with countif

mrrick

New Member
Joined
Jun 22, 2010
Messages
10
I have a spreadsheet for ordering lengths of frames. The frame lengths are in seven different lengths. I use the countif formula to identify the quantity ordered of each size. This part I'm ok with. The frames are ordered with two different finishes. Part A is one finish and Part B is another finish. So one aspect of the spreadsheet counts the total number of specific lengths and the other aspect I'm trying to figure out is how to identify the breakdown of Part A and Part B.
Here is an example where quantities ordered in column A are one finish and quantities ordered in column B are another finish. Columns C and D are the various lengths required:

A B C D
1 0 18 24
0 1 18 24
0 2 24 84
1 0 24 84
(I've added zeros just to keep the spacing accurate)

I use COUNTIF(C2:D5,"18") to identify the number of 18" lengths and COUNTIF(C2:D5,"24") to identify the number of 24" lengths and so on for the different sizes.
How do I take into account multiples ordered, like the qty of 2 24x84 frame lengths?
How do I then break out from the totals the number of Part A finish and Part B finish.

Thank you for any guidance you can give me. I can make a sample spreadsheet available if needed.
 
Last edited:

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
A SUMPRODUCT() formula can be used for this.

Excel Workbook
ABCDEFGHIJ
1ABCD1824
2101824A11
3011824B12
4022484
5102484
6
7
8
Sheet4
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,459
Members
452,915
Latest member
hannnahheileen

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