I am currently using the following formula, but need to expand the formula more
=COUNTIF(OnHand!$A$2:$A$20000,C2&E2)
I only want to look at the first 8 characters of the cells on sheet OnHand!$A$2:$A$20000 using character position 1,2,3,5,7,8 of the criteria C2&E2
Example
C2&E2 = SC123456
OnHand
A2 SC123456
A3 SC123456-01
A4 SC1X3B56
A5 SC1X3B56-01
A6 SC112256
A7 SC112256-02
A8 SC1Z3Z56-123
A9 SC1Z3Z56-456
A10 SC234567
The count formula would return 6 since A2,A3,A4,A5,A8,A9 all would meet the criteria
Any thoughts on how to accomplish this would be greatly appreciated.
stapuff
=COUNTIF(OnHand!$A$2:$A$20000,C2&E2)
I only want to look at the first 8 characters of the cells on sheet OnHand!$A$2:$A$20000 using character position 1,2,3,5,7,8 of the criteria C2&E2
Example
C2&E2 = SC123456
OnHand
A2 SC123456
A3 SC123456-01
A4 SC1X3B56
A5 SC1X3B56-01
A6 SC112256
A7 SC112256-02
A8 SC1Z3Z56-123
A9 SC1Z3Z56-456
A10 SC234567
The count formula would return 6 since A2,A3,A4,A5,A8,A9 all would meet the criteria
Any thoughts on how to accomplish this would be greatly appreciated.
stapuff