ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count everything in a Column "except" (https://www.excelbanter.com/excel-worksheet-functions/239329-count-everything-column-except.html)

Richard Horn[_2_]

Count everything in a Column "except"
 
I have a worksheet where one column is for the project status. I want to
count all projects with the exception of any project that has the status
"Carried Forward". Count all except Carried Forward, and do not count in the
cell is blank.

This is what I was trying to use, but does not seem to work.

Column E contains Project Status. There are 11 different possible status
entries.

Projects run through rows E8:E34 and there are blank cells which I do not
want counted.

=SUMPRODUCT(--(TRIM(E8:E34)<"Carried Forward"))

In other words, count everything except a blank cell or a cell that contains
Carried Forward.

Thanks, Richard

Rick Rothstein

Count everything in a Column "except"
 
Give this formula a try...

=SUMPRODUCT((E8:E34<"Carried Forward")*(E8:E34<""))

--
Rick (MVP - Excel)


"Richard Horn" wrote in message
...
I have a worksheet where one column is for the project status. I want to
count all projects with the exception of any project that has the status
"Carried Forward". Count all except Carried Forward, and do not count in
the
cell is blank.

This is what I was trying to use, but does not seem to work.

Column E contains Project Status. There are 11 different possible status
entries.

Projects run through rows E8:E34 and there are blank cells which I do not
want counted.

=SUMPRODUCT(--(TRIM(E8:E34)<"Carried Forward"))

In other words, count everything except a blank cell or a cell that
contains
Carried Forward.

Thanks, Richard



Richard Horn[_2_]

Count everything in a Column "except"
 
Perfect! Thanks

"Rick Rothstein" wrote:

Give this formula a try...

=SUMPRODUCT((E8:E34<"Carried Forward")*(E8:E34<""))

--
Rick (MVP - Excel)


"Richard Horn" wrote in message
...
I have a worksheet where one column is for the project status. I want to
count all projects with the exception of any project that has the status
"Carried Forward". Count all except Carried Forward, and do not count in
the
cell is blank.

This is what I was trying to use, but does not seem to work.

Column E contains Project Status. There are 11 different possible status
entries.

Projects run through rows E8:E34 and there are blank cells which I do not
want counted.

=SUMPRODUCT(--(TRIM(E8:E34)<"Carried Forward"))

In other words, count everything except a blank cell or a cell that
contains
Carried Forward.

Thanks, Richard




aynosgold

[quote=Rick Rothstein;866556]Give this formula a try...

=SUMPRODUCT((E8:E34<"Carried Forward")*(E8:E34<""))

--
Rick (MVP - Excel)

Hi Rick,

This formula worked great for me, but now I need to include additional exceptions (e.g. "Carried Up" and "Carried Down") Please help.

Sonya


All times are GMT +1. The time now is 09:10 PM.

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