PC Review


Reply
Thread Tools Rate Thread

how do i average the totals of multiple cells, that have the same label

 
 
Jimbo
Guest
Posts: n/a
 
      18th Aug 2010
I hope i can make this make sense.
I have a spreadsheet that I've merged multiple sheets into. going down the
sheet there are multiple cells that have the same label, and adjacent to
that label in the next cell is a number. So I might have in C14 the word
tardiness and in B14 will be a score, like "4". now this gets repeated all
the way down, so maybe C42 we'll find tardiness again, and in B42 we'll have
a 2, etc. What I'd like to do is have the average of everything labeled
"tardiness" to be placed in cell H2. Where do I even start? I'll have to do
this with multiple labels and values.


 
Reply With Quote
 
 
 
 
Jim Cone
Guest
Posts: n/a
 
      18th Aug 2010

Use the SumIf function, check out Excel help for the details...
=SUMIF(C2:C100,"tardiness",B2:B100)
--
Jim Cone
Portland, Oregon USA
http://tinyurl.com/ExtrasForXL add-in

..
..
..

"Jimbo" <(E-Mail Removed)>
wrote in
message news:i4hmpn$73i$(E-Mail Removed)...
I hope i can make this make sense.
I have a spreadsheet that I've merged multiple sheets into. going down the
sheet there are multiple cells that have the same label, and adjacent to
that label in the next cell is a number. So I might have in C14 the word
tardiness and in B14 will be a score, like "4". now this gets repeated all
the way down, so maybe C42 we'll find tardiness again, and in B42 we'll have
a 2, etc. What I'd like to do is have the average of everything labeled
"tardiness" to be placed in cell H2. Where do I even start? I'll have to do
this with multiple labels and values.


 
Reply With Quote
 
Jimbo
Guest
Posts: n/a
 
      18th Aug 2010
Thank you so much Jim!
this is a great start, do you have any ideas on how to get the average
instead of the sum? I'm not sure if there is an "averageif" function.


"Jim Cone" <(E-Mail Removed)> wrote in message
news:i4hnnl$9e3$(E-Mail Removed)...
>
> Use the SumIf function, check out Excel help for the details...
> =SUMIF(C2:C100,"tardiness",B2:B100)
> --
> Jim Cone
> Portland, Oregon USA
> http://tinyurl.com/ExtrasForXL add-in
>
> .
> .
> .
>
> "Jimbo" <(E-Mail Removed)>
> wrote in
> message news:i4hmpn$73i$(E-Mail Removed)...
> I hope i can make this make sense.
> I have a spreadsheet that I've merged multiple sheets into. going down the
> sheet there are multiple cells that have the same label, and adjacent to
> that label in the next cell is a number. So I might have in C14 the word
> tardiness and in B14 will be a score, like "4". now this gets repeated all
> the way down, so maybe C42 we'll find tardiness again, and in B42 we'll
> have
> a 2, etc. What I'd like to do is have the average of everything labeled
> "tardiness" to be placed in cell H2. Where do I even start? I'll have to
> do
> this with multiple labels and values.
>
>



 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      19th Aug 2010
Type AverageIf into the "help" box in Excel, what you get depends on your Excel version.
If you get nothing then go back to the basics: Average = Sum of the Items/Number of Items...

=SUMIF(C2:C100,"tardiness",B2:B100)/COUNTIF(C2:C100,"tardiness")
--
Jim Cone
Portland, Oregon USA
http://www.contextures.com/excel-sort-addin.html
..
..
..

"Jimbo" <(E-Mail Removed)>
wrote in message news:i4hogi$b5d$(E-Mail Removed)...
Thank you so much Jim!
this is a great start, do you have any ideas on how to get the average
instead of the sum? I'm not sure if there is an "averageif" function.


"Jim Cone" <(E-Mail Removed)> wrote in message
news:i4hnnl$9e3$(E-Mail Removed)...
> Use the SumIf function, check out Excel help for the details...
> =SUMIF(C2:C100,"tardiness",B2:B100)
> --
> Jim Cone
> Portland, Oregon USA
> http://tinyurl.com/ExtrasForXL add-in
>
> .
> .
> .
>
> "Jimbo" <(E-Mail Removed)>
> wrote in
> message news:i4hmpn$73i$(E-Mail Removed)...
> I hope i can make this make sense.
> I have a spreadsheet that I've merged multiple sheets into. going down the
> sheet there are multiple cells that have the same label, and adjacent to
> that label in the next cell is a number. So I might have in C14 the word
> tardiness and in B14 will be a score, like "4". now this gets repeated all
> the way down, so maybe C42 we'll find tardiness again, and in B42 we'll
> have
> a 2, etc. What I'd like to do is have the average of everything labeled
> "tardiness" to be placed in cell H2. Where do I even start? I'll have to
> do
> this with multiple labels and values.


 
Reply With Quote
 
Don Guillett Excel MVP
Guest
Posts: n/a
 
      19th Aug 2010
On Aug 18, 6:31*pm, "Jim Cone" <james.cone...@comcast.netXXX> wrote:
> Type AverageIf into the "help" box in Excel, what you get depends on yourExcel version.
> If you get nothing then go back to the basics: *Average = Sum of the Items/Number of Items...
>
> =SUMIF(C2:C100,"tardiness",B2:B100)/COUNTIF(C2:C100,"tardiness")
> --
> Jim Cone
> Portland, Oregon *USAhttp://www.contextures.com/excel-sort-addin.html
> .
> .
> .
>
> "Jimbo" <warblade...@hotmail.com>
> wrote in messagenews:i4hogi$b5d$(E-Mail Removed)...
> Thank you so much Jim!
> this is a great start, do you have any ideas on how to get the average
> instead of the sum? I'm not sure if there is an "averageif" function.
>
> "Jim Cone" <james.cone...@comcast.netXXX> wrote in message
>
> news:i4hnnl$9e3$(E-Mail Removed)...
>
>
>
> > Use the SumIf function, check out Excel help for the details...
> > =SUMIF(C2:C100,"tardiness",B2:B100)
> > --
> > Jim Cone
> > Portland, Oregon *USA
> >http://tinyurl.com/ExtrasForXLadd-in

>
> > .
> > .
> > .

>
> > "Jimbo" <warblade...@hotmail.com>
> > wrote in
> > messagenews:i4hmpn$73i$(E-Mail Removed)...
> > I hope i can make this make sense.
> > I have a spreadsheet that I've merged multiple sheets into. going down the
> > sheet there are multiple cells that have the same label, and adjacent to
> > that label in the next cell is a number. So I might have in C14 the word
> > tardiness and in B14 will be a score, like "4". now this gets repeated all
> > the way down, so maybe C42 we'll find tardiness again, and in B42 we'll
> > have
> > a 2, etc. What I'd like to do is have the average of everything labeled
> > "tardiness" to be placed in cell H2. Where do I even start? I'll have to
> > do
> > this with multiple labels and values.- Hide quoted text -

>
> - Show quoted text -


Change to suit and ARRAY enter (ctrl+shift+enter)
=AVERAGE(IF((A2:A22="a"),B2:B22))
 
Reply With Quote
 
Jimbo
Guest
Posts: n/a
 
      26th Aug 2010
thanks for all your help guys! this works, until i get 2007!

;-)

"Don Guillett Excel MVP" <(E-Mail Removed)> wrote in message
news:5dd6c9c1-bf7c-4eaa-a4e6-(E-Mail Removed)...
On Aug 18, 6:31 pm, "Jim Cone" <james.cone...@comcast.netXXX> wrote:
> Type AverageIf into the "help" box in Excel, what you get depends on your
> Excel version.
> If you get nothing then go back to the basics: Average = Sum of the
> Items/Number of Items...
>
> =SUMIF(C2:C100,"tardiness",B2:B100)/COUNTIF(C2:C100,"tardiness")
> --
> Jim Cone
> Portland, Oregon USAhttp://www.contextures.com/excel-sort-addin.html
> .
> .
> .
>
> "Jimbo" <warblade...@hotmail.com>
> wrote in messagenews:i4hogi$b5d$(E-Mail Removed)...
> Thank you so much Jim!
> this is a great start, do you have any ideas on how to get the average
> instead of the sum? I'm not sure if there is an "averageif" function.
>
> "Jim Cone" <james.cone...@comcast.netXXX> wrote in message
>
> news:i4hnnl$9e3$(E-Mail Removed)...
>
>
>
> > Use the SumIf function, check out Excel help for the details...
> > =SUMIF(C2:C100,"tardiness",B2:B100)
> > --
> > Jim Cone
> > Portland, Oregon USA
> >http://tinyurl.com/ExtrasForXLadd-in

>
> > .
> > .
> > .

>
> > "Jimbo" <warblade...@hotmail.com>
> > wrote in
> > messagenews:i4hmpn$73i$(E-Mail Removed)...
> > I hope i can make this make sense.
> > I have a spreadsheet that I've merged multiple sheets into. going down
> > the
> > sheet there are multiple cells that have the same label, and adjacent to
> > that label in the next cell is a number. So I might have in C14 the word
> > tardiness and in B14 will be a score, like "4". now this gets repeated
> > all
> > the way down, so maybe C42 we'll find tardiness again, and in B42 we'll
> > have
> > a 2, etc. What I'd like to do is have the average of everything labeled
> > "tardiness" to be placed in cell H2. Where do I even start? I'll have to
> > do
> > this with multiple labels and values.- Hide quoted text -

>
> - Show quoted text -


Change to suit and ARRAY enter (ctrl+shift+enter)
=AVERAGE(IF((A2:A22="a"),B2:B22))


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine totals field from multiple workbooks into a new 'totals' workbook ratman and bobbin Microsoft Excel Discussion 2 15th Oct 2008 07:54 AM
how do i calculate the average of 30+ cells over multiple workshee Ariana Microsoft Excel Worksheet Functions 4 9th Jul 2008 11:44 PM
Average Cells in Multiple Worksheets Karen Microsoft Excel Worksheet Functions 10 19th Mar 2008 03:22 PM
Adding invoice totals with multiple records showing totals Mike Koop Microsoft Access Reports 1 10th Jan 2008 05:28 PM
Totals f(x) text values in multiple columns and cells =?Utf-8?B?amts?= Microsoft Excel Misc 10 10th May 2007 08:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 AM.