ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counter Problem (https://www.excelbanter.com/excel-discussion-misc-queries/247762-counter-problem.html)

Vic

Counter Problem
 
What is wrong with this formula?
='DCFs-Sym'!G87&"
("&SUMPRODUCT(ISNUMBER(SEARCH("RTR",'DCFs-Sym'!J92:J2002,1)))&")"
The result should look like this: 1802 (782)
But I now see: 1802 (0)
I do have 782 text cells in J92:J2002 range that contain RTR in them.
Can someone please help me with this?
Thank you.

JBeaucaire[_131_]

Counter Problem
 
Try this:

='DCFs-Sym'!G87&" (" & COUNTIF('DCFs-Sym'!J92:J2002, "*RTR*") & ")"

Does that work for you?
--
"Actually, I *am* a rocket scientist." -- JB
(www.MadRocketScientist.com)

Your feedback is appreciated, click YES if this post helped you.


"Vic" wrote:

What is wrong with this formula?
='DCFs-Sym'!G87&"
("&SUMPRODUCT(ISNUMBER(SEARCH("RTR",'DCFs-Sym'!J92:J2002,1)))&")"
The result should look like this: 1802 (782)
But I now see: 1802 (0)
I do have 782 text cells in J92:J2002 range that contain RTR in them.
Can someone please help me with this?
Thank you.


T. Valko

Counter Problem
 
Try it like this (all on one line):

='DCFs-Sym'!G87&" ("&SUMPRODUCT(
--ISNUMBER(SEARCH("RTR",'DCFs-Sym'!J92:J2002,1)))&")"


--
Biff
Microsoft Excel MVP


"Vic" wrote in message
...
What is wrong with this formula?
='DCFs-Sym'!G87&"
("&SUMPRODUCT(ISNUMBER(SEARCH("RTR",'DCFs-Sym'!J92:J2002,1)))&")"
The result should look like this: 1802 (782)
But I now see: 1802 (0)
I do have 782 text cells in J92:J2002 range that contain RTR in them.
Can someone please help me with this?
Thank you.





All times are GMT +1. The time now is 03:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com