Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default Count Continuous data between cells

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Count Continuous data between cells

Lloyd,

I'm not understanding what the question is can you be more specific.

Mike

"Lloyd" wrote:

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default Count Continuous data between cells

Hi Mike

Sorry for that. I what to count between a range how many time there is
Continuous data between A to H,so that A to D = 1 incident and G to H = 1
incident, which a total of 2 incidents. I hope I have explained thie better.

Thanks

Lloyd

"Mike H" wrote:

Lloyd,

I'm not understanding what the question is can you be more specific.

Mike

"Lloyd" wrote:

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Count Continuous data between cells

Assuming your range of interest is A1:H1, does this formula do what you
want?

=(COUNTA(A1:H1)0)-(A1="")+SUMPRODUCT(--(A1:G1=""),--(B1:H1<""))

If you need to cover more columns, the last cell in the SUMPRODUCT's first
range is always one less than the last cell in its second range.

Rick


"Lloyd" wrote in message
...
Hi Mike

Sorry for that. I what to count between a range how many time there is
Continuous data between A to H,so that A to D = 1 incident and G to H = 1
incident, which a total of 2 incidents. I hope I have explained thie
better.

Thanks

Lloyd

"Mike H" wrote:

Lloyd,

I'm not understanding what the question is can you be more specific.

Mike

"Lloyd" wrote:

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default Count Continuous data between cells

Hi Rick

Thanks
I forgot I want to count how many e's , can i replace (A1="") with (A1="e").
Do it count how many occureies e is.

Thanks

"Rick Rothstein (MVP - VB)" wrote:

Assuming your range of interest is A1:H1, does this formula do what you
want?

=(COUNTA(A1:H1)0)-(A1="")+SUMPRODUCT(--(A1:G1=""),--(B1:H1<""))

If you need to cover more columns, the last cell in the SUMPRODUCT's first
range is always one less than the last cell in its second range.

Rick


"Lloyd" wrote in message
...
Hi Mike

Sorry for that. I what to count between a range how many time there is
Continuous data between A to H,so that A to D = 1 incident and G to H = 1
incident, which a total of 2 incidents. I hope I have explained thie
better.

Thanks

Lloyd

"Mike H" wrote:

Lloyd,

I'm not understanding what the question is can you be more specific.

Mike

"Lloyd" wrote:

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default Count Continuous data between cells

You are going to have to learn to provide more details when you ask
questions in newsgroups; a lot of volunteers who answer questions on
newsgroups tend to skip over highly vague questions which means you are
missing the variety of responses others are getting. Now, as to your last
question... your first post showed numerical data, so what e's are you now
talking about? Please be specific. Remember, we have **no** idea what your
spreadsheet, or the data on it, looks like.

Rick


"Lloyd" wrote in message
...
Hi Rick

Thanks
I forgot I want to count how many e's , can i replace (A1="") with
(A1="e").
Do it count how many occureies e is.

Thanks

"Rick Rothstein (MVP - VB)" wrote:

Assuming your range of interest is A1:H1, does this formula do what you
want?

=(COUNTA(A1:H1)0)-(A1="")+SUMPRODUCT(--(A1:G1=""),--(B1:H1<""))

If you need to cover more columns, the last cell in the SUMPRODUCT's
first
range is always one less than the last cell in its second range.

Rick


"Lloyd" wrote in message
...
Hi Mike

Sorry for that. I what to count between a range how many time there
is
Continuous data between A to H,so that A to D = 1 incident and G to H =
1
incident, which a total of 2 incidents. I hope I have explained thie
better.

Thanks

Lloyd

"Mike H" wrote:

Lloyd,

I'm not understanding what the question is can you be more specific.

Mike

"Lloyd" wrote:

Count Continuous data between cells.

Eg.

Cells
A B D E F G H I
2 2 2 4 5 2

This means I = 2 incidents

Thanks for your help




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate a continuous percent of attendance -if then using count. IrisRandom* Excel Worksheet Functions 2 May 3rd 07 07:23 PM
Continuous hughlighting of cells Duckpinot Excel Discussion (Misc queries) 6 January 21st 07 11:04 PM
add cells conditionaly not in continuous row or column loganinc6 Excel Discussion (Misc queries) 3 November 11th 05 03:32 AM
COUNTIF With Non-Continuous Cells MDW Excel Worksheet Functions 3 September 16th 05 04:44 PM
Average Non-Continuous Cells Without Zero's raeleanne Excel Worksheet Functions 8 July 22nd 05 02:48 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"