Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I get to a certain point and I just can't figure stuff out.
I have this formula: =SUMPRODUCT(--(ISNUMBER(-LEFT('Patrol Log'!H10:H13,1)))) This is to count cells that have data beginning with a number, however there is one piece of text that I want included in the sum. "switch". How can I get this text included in the sum? Thank You Brian |
#2
![]() |
|||
|
|||
![]()
A couple of ways
=SUMPRODUCT(--(ISNUMBER(-LEFT('Patrol Log'!H10:H13,1))+ISNUMBER(SEARCH("switch",'Patrol Log'!H10:H13))0)) if switch is always in one place, if it can be in several locations but you only want to count those that start the string =SUMPRODUCT(--(ISNUMBER(-LEFT('Patrol Log'!H10:H13,1))+(LEFT('Patrol Log'!H10:H13,6)="switch")0)) -- Regards, Peo Sjoblom (No private emails please, for everyone's benefit keep the discussion in the newsgroup/forum) "Brian" wrote in message ... I get to a certain point and I just can't figure stuff out. I have this formula: =SUMPRODUCT(--(ISNUMBER(-LEFT('Patrol Log'!H10:H13,1)))) This is to count cells that have data beginning with a number, however there is one piece of text that I want included in the sum. "switch". How can I get this text included in the sum? Thank You Brian |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
revert formula insertion to old method | Setting up and Configuration of Excel | |||
Shorten sumproduct formula | Excel Discussion (Misc queries) | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions | |||
SUMPRODUCT using offset from ROW if X marks the spot | Excel Worksheet Functions |