ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   COUNT OR COUNTIF for this? (https://www.excelbanter.com/excel-discussion-misc-queries/210153-count-countif.html)

Zakynthos

COUNT OR COUNTIF for this?
 
I have up to 7 time-formatted data in between c3-p3.

I want to count all valuies except those showing as "00:00", then divide the
result by 2.

Should I do this with COUNT or COUNTIF and if so, what would be the form of
the expression?

Many thanks for your help.

Gunti

COUNT OR COUNTIF for this?
 
I guess =COUNTIF(C3:P3;"<0:00") should do the trick.

Greets,
Gunti

"Zakynthos" wrote:

I have up to 7 time-formatted data in between c3-p3.

I want to count all valuies except those showing as "00:00", then divide the
result by 2.

Should I do this with COUNT or COUNTIF and if so, what would be the form of
the expression?

Many thanks for your help.


Gunti

COUNT OR COUNTIF for this?
 
Dividing this by 2 is obviously =((Countif(C3:P3;"<0:00")/2)

"Gunti" wrote:

I guess =COUNTIF(C3:P3;"<0:00") should do the trick.

Greets,
Gunti

"Zakynthos" wrote:

I have up to 7 time-formatted data in between c3-p3.

I want to count all valuies except those showing as "00:00", then divide the
result by 2.

Should I do this with COUNT or COUNTIF and if so, what would be the form of
the expression?

Many thanks for your help.


Zakynthos

COUNT OR COUNTIF for this?
 
Gunti,

Much appreciated - worked perfectly!

"Gunti" wrote:

Dividing this by 2 is obviously =((Countif(C3:P3;"<0:00")/2)

"Gunti" wrote:

I guess =COUNTIF(C3:P3;"<0:00") should do the trick.

Greets,
Gunti

"Zakynthos" wrote:

I have up to 7 time-formatted data in between c3-p3.

I want to count all valuies except those showing as "00:00", then divide the
result by 2.

Should I do this with COUNT or COUNTIF and if so, what would be the form of
the expression?

Many thanks for your help.



All times are GMT +1. The time now is 10:42 AM.

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