ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count Function Help (https://www.excelbanter.com/excel-worksheet-functions/37206-count-function-help.html)

Josh O.

Count Function Help
 
I am trying to create a function to count the number of proofs out to the
customer...

I have the following columns:
....| D - OOP1 | E - OOP2 | F - OOP3 |...| H - Ok |

I need to count any rows that have data in columns D, E, or F (could be dat
in one column, 2, or all 3, or none at all), but blank in H.

I have tried it a few different ways, but I just get a "0" answer.

Bob Phillips

=SUMPRODUCT(--(D1:D1000<""),--(E1:E1000<""),--(F1:F1000<""),--(H1:H1000="
"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Josh O." wrote in message
...
I am trying to create a function to count the number of proofs out to the
customer...

I have the following columns:
...| D - OOP1 | E - OOP2 | F - OOP3 |...| H - Ok |

I need to count any rows that have data in columns D, E, or F (could be

dat
in one column, 2, or all 3, or none at all), but blank in H.

I have tried it a few different ways, but I just get a "0" answer.




Josh O.

I tried that formula, but the result is always "0". I am not sure why.

"Bob Phillips" wrote:

=SUMPRODUCT(--(D1:D1000<""),--(E1:E1000<""),--(F1:F1000<""),--(H1:H1000="
"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Josh O." wrote in message
...
I am trying to create a function to count the number of proofs out to the
customer...

I have the following columns:
...| D - OOP1 | E - OOP2 | F - OOP3 |...| H - Ok |

I need to count any rows that have data in columns D, E, or F (could be

dat
in one column, 2, or all 3, or none at all), but blank in H.

I have tried it a few different ways, but I just get a "0" answer.





Josh O.

I think the problem lies witht the fact that not every that needs to be
counted has data in all three (D,E, F) columns. Some only have data in "D",
some in "D" and "E", and a rare "D", "E", and "F".

"Bob Phillips" wrote:

=SUMPRODUCT(--(D1:D1000<""),--(E1:E1000<""),--(F1:F1000<""),--(H1:H1000="
"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Josh O." wrote in message
...
I am trying to create a function to count the number of proofs out to the
customer...

I have the following columns:
...| D - OOP1 | E - OOP2 | F - OOP3 |...| H - Ok |

I need to count any rows that have data in columns D, E, or F (could be

dat
in one column, 2, or all 3, or none at all), but blank in H.

I have tried it a few different ways, but I just get a "0" answer.





Bob Phillips

Sorry Josh, mis-read it.

Try this

=SUMPRODUCT(--((D1:D1000<"")+(E1:E1000<"")+(F1:F1000<"")),--(H1:H1000="")
)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Josh O." wrote in message
...
I think the problem lies witht the fact that not every that needs to be
counted has data in all three (D,E, F) columns. Some only have data in

"D",
some in "D" and "E", and a rare "D", "E", and "F".

"Bob Phillips" wrote:


=SUMPRODUCT(--(D1:D1000<""),--(E1:E1000<""),--(F1:F1000<""),--(H1:H1000="
"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Josh O." wrote in message
...
I am trying to create a function to count the number of proofs out to

the
customer...

I have the following columns:
...| D - OOP1 | E - OOP2 | F - OOP3 |...| H - Ok |

I need to count any rows that have data in columns D, E, or F (could

be
dat
in one column, 2, or all 3, or none at all), but blank in H.

I have tried it a few different ways, but I just get a "0" answer.








All times are GMT +1. The time now is 08:20 PM.

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