Hello everyone, this is my first post,
I have tried searching the forum but wasn't exactly sure what to search for and couldn't find an answer
I have managed to get this formula from searching on the internet, which is working
=SUMPRODUCT(SUBTOTAL(103,OFFSET(H2:H8,ROW(H2:H8)-MIN(ROW(H2:H8)),,1))*(H2:H8="p"))
however, instead of using p I would like to use a number, lets say 1 in this instance, so it would give me a total of all the 1's shown in H2:H8
can this be done or does it have to be text ?
thanks in advance for your help
kind regards
PG
I have tried searching the forum but wasn't exactly sure what to search for and couldn't find an answer
I have managed to get this formula from searching on the internet, which is working
=SUMPRODUCT(SUBTOTAL(103,OFFSET(H2:H8,ROW(H2:H8)-MIN(ROW(H2:H8)),,1))*(H2:H8="p"))
however, instead of using p I would like to use a number, lets say 1 in this instance, so it would give me a total of all the 1's shown in H2:H8
can this be done or does it have to be text ?
thanks in advance for your help
kind regards
PG