Forum Discussion
PaulM1970
Apr 24, 2024Copper Contributor
Need help with counting the last digit of a number
Hi team! Respectfully request help with the following: Need a formula in cell D3 of Sheet2 that accomplishes the following: If Sheet1 column D says, "Acme", count the number of times the ...
HansVogelaar
Apr 24, 2024MVP
=SUMPRODUCT((Sheet1!$D$2:$D$1000="Acme")*(MOD(Sheet1!$C$2:$C$1000, 10)=B3))
If you have Microsoft 365 or Office 2021, you can use SUM instead of SUMPRODUCT.
PaulM1970
Apr 25, 2024Copper Contributor