#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default counting entries

Ar Bs Ec Ar Bs Ec
B A C B B

I am trying to count entries for the data above. The 1st 3 columns are equal
to 1 entry each, and the last 3 columns are equal to half an entry. I want to
count the total no of entries. So for the above the result would be 2.5.
Column 4 and 6 would be discounted because column 1 and 3 have a grade in
there.

Not sure how to start, would be grateful for help.

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default counting entries

Hi,
could you please provide an example, if the example is as per below, how do
you canount one entry for the first three columns ?

"mits" wrote:

Ar Bs Ec Ar Bs Ec
B A C B B

I am trying to count entries for the data above. The 1st 3 columns are equal
to 1 entry each, and the last 3 columns are equal to half an entry. I want to
count the total no of entries. So for the above the result would be 2.5.
Column 4 and 6 would be discounted because column 1 and 3 have a grade in
there.

Not sure how to start, would be grateful for help.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default counting entries

i would do counta(a2:c2) which would give 2. BUt i then need it to not count
column 4 and 6 as column 1 and 3 have got data in there, but count column 5
as 1 and then divide by 2 to get half an entry.


"Eduardo" wrote:

Hi,
could you please provide an example, if the example is as per below, how do
you canount one entry for the first three columns ?

"mits" wrote:

Ar Bs Ec Ar Bs Ec
B A C B B

I am trying to count entries for the data above. The 1st 3 columns are equal
to 1 entry each, and the last 3 columns are equal to half an entry. I want to
count the total no of entries. So for the above the result would be 2.5.
Column 4 and 6 would be discounted because column 1 and 3 have a grade in
there.

Not sure how to start, would be grateful for help.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default counting entries

How about this:

=COUNTA(A2:C2)+0.5*SUMPRODUCT(--(ISTEXT(D2:F2)),--(ISBLANK(A2:C2)))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mits" wrote:

i would do counta(a2:c2) which would give 2. BUt i then need it to not count
column 4 and 6 as column 1 and 3 have got data in there, but count column 5
as 1 and then divide by 2 to get half an entry.


"Eduardo" wrote:

Hi,
could you please provide an example, if the example is as per below, how do
you canount one entry for the first three columns ?

"mits" wrote:

Ar Bs Ec Ar Bs Ec
B A C B B

I am trying to count entries for the data above. The 1st 3 columns are equal
to 1 entry each, and the last 3 columns are equal to half an entry. I want to
count the total no of entries. So for the above the result would be 2.5.
Column 4 and 6 would be discounted because column 1 and 3 have a grade in
there.

Not sure how to start, would be grateful for help.

Thanks


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default counting entries

thank you very much, i really appreciate it.

"Luke M" wrote:

How about this:

=COUNTA(A2:C2)+0.5*SUMPRODUCT(--(ISTEXT(D2:F2)),--(ISBLANK(A2:C2)))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mits" wrote:

i would do counta(a2:c2) which would give 2. BUt i then need it to not count
column 4 and 6 as column 1 and 3 have got data in there, but count column 5
as 1 and then divide by 2 to get half an entry.


"Eduardo" wrote:

Hi,
could you please provide an example, if the example is as per below, how do
you canount one entry for the first three columns ?

"mits" wrote:

Ar Bs Ec Ar Bs Ec
B A C B B

I am trying to count entries for the data above. The 1st 3 columns are equal
to 1 entry each, and the last 3 columns are equal to half an entry. I want to
count the total no of entries. So for the above the result would be 2.5.
Column 4 and 6 would be discounted because column 1 and 3 have a grade in
there.

Not sure how to start, would be grateful for help.

Thanks




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
Counting Unique Entries Tendresse Excel Discussion (Misc queries) 3 June 4th 07 08:19 AM
Counting entries Dos Equis Excel Worksheet Functions 4 November 20th 06 03:24 AM
Counting Entries Jimbo Excel Worksheet Functions 6 April 29th 05 08:27 PM
counting specified date entries dave Excel Worksheet Functions 2 November 11th 04 09:28 AM
counting entries between two dates? Todd Excel Worksheet Functions 7 November 1st 04 11:07 PM


All times are GMT +1. The time now is 02:09 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"