Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default COUNT and SUM (please help!)

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default COUNT and SUM (please help!)

Hi,

From your sample data what result would you expect to get for the sum of the
progress?

Mike

"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default COUNT and SUM (please help!)

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default COUNT and SUM (please help!)

Hi - I have tried adding (p21:p153) but it doesn't work. I would expect to
get a total of -1 for the total progress for boys who have a test score and a
total of 1 for the total progres for more able children who have a test score.
Thanks very much for your help
Mrs T

"Martin Fishlock" wrote:

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default COUNT and SUM (please help!)

Hi Mrs T,

I think you want this

=SUMPRODUCT((B21:B153="m")*(O21:O153<"")*(P21:P15 3))


suitably adapted for the ladies of your class.

Mike

"Mrs T." wrote:

Hi - I have tried adding (p21:p153) but it doesn't work. I would expect to
get a total of -1 for the total progress for boys who have a test score and a
total of 1 for the total progres for more able children who have a test score.
Thanks very much for your help
Mrs T

"Martin Fishlock" wrote:

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default COUNT and SUM (please help!)

Hi,

Looking at this again I don't understand the significance of Column D

Mike

"Mike H" wrote:

Hi Mrs T,

I think you want this

=SUMPRODUCT((B21:B153="m")*(O21:O153<"")*(P21:P15 3))


suitably adapted for the ladies of your class.

Mike

"Mrs T." wrote:

Hi - I have tried adding (p21:p153) but it doesn't work. I would expect to
get a total of -1 for the total progress for boys who have a test score and a
total of 1 for the total progres for more able children who have a test score.
Thanks very much for your help
Mrs T

"Martin Fishlock" wrote:

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default COUNT and SUM (please help!)


Hi - thanks for your time. I get #N/A when I use the formula you suggested.
Is that because my column O returns #N/A value if no score is entered (the
score comes from a lookup table).
Column D identifies children who are more able - I would like to count how
many of them have a test score and sum their progress as well. Input into
column D can be any text.
Thanks again
Mrs T
"Mike H" wrote:

Hi Mrs T,

I think you want this

=SUMPRODUCT((B21:B153="m")*(O21:O153<"")*(P21:P15 3))


suitably adapted for the ladies of your class.

Mike

"Mrs T." wrote:

Hi - I have tried adding (p21:p153) but it doesn't work. I would expect to
get a total of -1 for the total progress for boys who have a test score and a
total of 1 for the total progres for more able children who have a test score.
Thanks very much for your help
Mrs T

"Martin Fishlock" wrote:

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default COUNT and SUM (please help!)

Hi again,

Similar to yesterday were into arrays again. Try this which assumes you
don't get any NA's in column P

=SUM(IF(B21:B153="m",IF(ISNUMBER(O21:O153),P21:P15 3)))

and this array formula for 'More able' males

=SUM(IF(B21:B153="m",IF(D21:D153<"",IF(ISNUMBER(O 21:O153),P21:P153))))

Mike


"Mrs T." wrote:


Hi - thanks for your time. I get #N/A when I use the formula you suggested.
Is that because my column O returns #N/A value if no score is entered (the
score comes from a lookup table).
Column D identifies children who are more able - I would like to count how
many of them have a test score and sum their progress as well. Input into
column D can be any text.
Thanks again
Mrs T
"Mike H" wrote:

Hi Mrs T,

I think you want this

=SUMPRODUCT((B21:B153="m")*(O21:O153<"")*(P21:P15 3))


suitably adapted for the ladies of your class.

Mike

"Mrs T." wrote:

Hi - I have tried adding (p21:p153) but it doesn't work. I would expect to
get a total of -1 for the total progress for boys who have a test score and a
total of 1 for the total progres for more able children who have a test score.
Thanks very much for your help
Mrs T

"Martin Fishlock" wrote:

Hello Mrs T.

Try adding another column to the sumproduct with (p21:p153) and it may work.

--
Hope this helps
Martin Fishlock, www.nyfconsultants.com, Wolverhampton, UK
Please do not forget to rate this reply.


"Mrs T." wrote:

Hi, the data in my columns is:

B D O P

m/f ma score progress
m y 6 0
f 4 1
m p 6 -1
f mat 7 2
m 6 0
f 7 1

folrmula which brings over score (column O) is
=IF($N220,LOOKUP($N22,AR$20:$AR$62,AS$20:AS$62)," ")

I am trying to count how many boys have a test score and then sum the
progress for that group. Also to find out how many more able children have a
score and sum the progress for that group. I have got the formula to count
the boys who have test score and the more able who have a test score
=SUMPRODUCT(--(B21:B153<""),--(ISNUMBER(O21:O153))) but can't work out how
to sum the progress for them. I have spent ages trying to adapt formulae to
work!
Thanks
Mrs T

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
Multiple Criteria, Count If, Sum Product to get count across range Jonathan Excel Worksheet Functions 5 January 9th 08 11:32 PM
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
How do i count numbers and letters to find a total count of all Linda Excel Worksheet Functions 4 November 10th 05 04:51 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


All times are GMT +1. The time now is 07:04 AM.

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"