I am making a formula where criteria varies as to what the end number is. I'm using the formula below and it works well when I use: number, *, or all letters like "ADM." It does not work when the criteria is: 7C, 19C, or 7a, 7s. You get what I mean. I need to have the criteria of: 7C=12.5. I'm adding up number of hours worked on a shift. Anyone with suggestions?
=COUNTIF(P6:P41,"7")*1+COUNTIF(P6:P41,"7*")*1+COUNTIF(P6:P41,"8")*1+COUNTIF(P6:P41,"8*")*1+ COUNTIF(P6:P41,"9")*1+COUNTIF(P6:P41,"9*")*1+COUNTIF(P6:P41,"11")*1+COUNTIF(P6:P41,"11*")*1
Bookmarks