Excel 2016, windows 10 pro. They won't let me unzip xl2bb to use it, so i guess it's story time.
We heat treat parts and need to track completed batches to predict how many of each need to be completed. The part I'm stuck on is counting batches per part for a month.
The columns I'm using are on Worksheet 'ALD1'.
Column A is date ran
Column B is Load #
Column E is Part Family (this is an hlookup from a table if that matters)
When I build these, I try to build each formula separately before I put them together. This way I can narrow down what doesn't work. That may be my issue, as well.
Column A. Trying to filter dates by month, in Worksheet 'Test'. I have Data Validation in D1 to select a month.
=SUMPRODUCT(1*(MONTH('ALD1'!A:A)=Test!D1))
returns #VALUE!
Possible issue - My drop down list is the month spelled out and the actual dates are formatted like 2023-01-06
Column E. Counting just one part type
=COUNTIF('ALD1'!E:E,"*Input*")
This appears to work. I didn't actually count 276 items, but tested it on a smaller data set.
Column B. Occasionally, we'll get multiple samples from one load, I need to count distinct values.
{=SUM(1/COUNTIF('ALD1'!B:B,'ALD1'!B:B))}
returns #DIV/0!
Possible issue - Some of the load numbers are <previous row>+1. I could easily retrain this away if needed.
The last part is what order to combine these parts. I was assuming filter by date, then remove duplicates, then count part groups.
Any assistance is very appreciated. Hopefully, I'm using proper verbiage.
We heat treat parts and need to track completed batches to predict how many of each need to be completed. The part I'm stuck on is counting batches per part for a month.
The columns I'm using are on Worksheet 'ALD1'.
Column A is date ran
Column B is Load #
Column E is Part Family (this is an hlookup from a table if that matters)
When I build these, I try to build each formula separately before I put them together. This way I can narrow down what doesn't work. That may be my issue, as well.
Column A. Trying to filter dates by month, in Worksheet 'Test'. I have Data Validation in D1 to select a month.
=SUMPRODUCT(1*(MONTH('ALD1'!A:A)=Test!D1))
returns #VALUE!
Possible issue - My drop down list is the month spelled out and the actual dates are formatted like 2023-01-06
Column E. Counting just one part type
=COUNTIF('ALD1'!E:E,"*Input*")
This appears to work. I didn't actually count 276 items, but tested it on a smaller data set.
Column B. Occasionally, we'll get multiple samples from one load, I need to count distinct values.
{=SUM(1/COUNTIF('ALD1'!B:B,'ALD1'!B:B))}
returns #DIV/0!
Possible issue - Some of the load numbers are <previous row>+1. I could easily retrain this away if needed.
The last part is what order to combine these parts. I was assuming filter by date, then remove duplicates, then count part groups.
Any assistance is very appreciated. Hopefully, I'm using proper verbiage.