I have three sheets ("Input Data", "Count", "Summary Data").
I want Summary Data to have a value in S1 that contains a location ID ("01","02", etc). Summary Data will also have a date value in S2.
Input Data has location ID in column E ("01", "02", etc.). Input Data has delivery date/time in Column C ("11/20/2021 9:45:00 PM").
The Count sheet is used to count various values found in Input Data in columns J and P.
Count sheet has three columns with formulas that count the data in Input Data successfully. However, I want to now only count this data if the location ID and the delivery date match what is in Summary Data (S1=Location, S2=Date).
Count Sheet - Column E
=COUNTIF('Input Data'!P:P,Count!A2)
Count Sheet - Column F
=COUNTIF('Input Data'!P:P,Count!A2 & "," & "*")
Count Sheet - Column G
=SUMPRODUCT( -- ('Input Data'!$J:$J=A2),'Input Data'!$F:$F)
These formulas above work perfectly to count the data but I'm struggling on how to now filter these so that it only counts the data if the location and data selected in the Summary Data sheet match.
I've played with COUNTIFS but get a SPILL error when I added additional criteria.
Any help would be appreciated!
I want Summary Data to have a value in S1 that contains a location ID ("01","02", etc). Summary Data will also have a date value in S2.
Input Data has location ID in column E ("01", "02", etc.). Input Data has delivery date/time in Column C ("11/20/2021 9:45:00 PM").
The Count sheet is used to count various values found in Input Data in columns J and P.
Count sheet has three columns with formulas that count the data in Input Data successfully. However, I want to now only count this data if the location ID and the delivery date match what is in Summary Data (S1=Location, S2=Date).
Count Sheet - Column E
=COUNTIF('Input Data'!P:P,Count!A2)
Count Sheet - Column F
=COUNTIF('Input Data'!P:P,Count!A2 & "," & "*")
Count Sheet - Column G
=SUMPRODUCT( -- ('Input Data'!$J:$J=A2),'Input Data'!$F:$F)
These formulas above work perfectly to count the data but I'm struggling on how to now filter these so that it only counts the data if the location and data selected in the Summary Data sheet match.
I've played with COUNTIFS but get a SPILL error when I added additional criteria.
Any help would be appreciated!