A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I use the data consolidate function?



 
 
Thread Tools Display Modes
  #1  
Old February 27th, 2009, 06:10 AM posted to microsoft.public.excel.newusers
Margaret.
external usenet poster
 
Posts: 1
Default How do I use the data consolidate function?

Hello,

I have one large spreadsheet that includes several scores for the one item
eg:

a 1
a 90
a 21
b 2
b 50
c 2
c 2
c 45
c 40
c 1

etc.

I would like to know how to use the data consolidate function (in simple
terms) to consolidate all the scores for a, b and c for example. So the final
score for a=112, b=52 and c=88

I understand I could go through the spreadsheet and highlight the values to
get a total for each item but the spreadsheet is quite large, approx 30,000
rows and 2.5 alphabets of columns... I am hoping that the data consolidate
function will be useful in this regard.

Thanks,

M.
  #2  
Old February 27th, 2009, 12:01 PM posted to microsoft.public.excel.newusers
DILipandey
external usenet poster
 
Posts: 69
Default How do I use the data consolidate function?

Hi Margaret,

Assuming you have the data in column A and Column B, you can use following
formula:-

=SUMIF(A:A,"a",B:B)
=SUMIF(A:A,"b",B:B)
=SUMIF(A:A,"c",B:B)

If you have alphabets more that a,b,c then you can type them out and give
the reference instead of "a", "b", and "c" in the formula.

thanks.
--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)


New Delhi, India


"Margaret." wrote:

Hello,

I have one large spreadsheet that includes several scores for the one item
eg:

a 1
a 90
a 21
b 2
b 50
c 2
c 2
c 45
c 40
c 1

etc.

I would like to know how to use the data consolidate function (in simple
terms) to consolidate all the scores for a, b and c for example. So the final
score for a=112, b=52 and c=88

I understand I could go through the spreadsheet and highlight the values to
get a total for each item but the spreadsheet is quite large, approx 30,000
rows and 2.5 alphabets of columns... I am hoping that the data consolidate
function will be useful in this regard.

Thanks,

M.

  #3  
Old February 28th, 2009, 08:54 PM posted to microsoft.public.excel.newusers
Ron Rosenfeld
external usenet poster
 
Posts: 3,719
Default How do I use the data consolidate function?

On Thu, 26 Feb 2009 22:10:02 -0800, Margaret. Margaret.
@discussions.microsoft.com wrote:

Hello,

I have one large spreadsheet that includes several scores for the one item
eg:

a 1
a 90
a 21
b 2
b 50
c 2
c 2
c 45
c 40
c 1

etc.

I would like to know how to use the data consolidate function (in simple
terms) to consolidate all the scores for a, b and c for example. So the final
score for a=112, b=52 and c=88

I understand I could go through the spreadsheet and highlight the values to
get a total for each item but the spreadsheet is quite large, approx 30,000
rows and 2.5 alphabets of columns... I am hoping that the data consolidate
function will be useful in this regard.

Thanks,

M.


Take a look at Pivot Tables.

For your simple presentation, I labeled your two columns "Items" and "Scores"

I dragged items to "Rows" and Scores to "Values".

I got this result:

Row Labels Sum of Score
a 112
b 52
c 90
Grand Total 254
--ron
  #4  
Old March 1st, 2009, 06:39 AM posted to microsoft.public.excel.newusers
MartinW[_3_]
external usenet poster
 
Posts: 41
Default How do I use the data consolidate function?

Hi Margaret,

As Ron says a pivot table would be the best way, anyway for what it's worth,
here is another posssibility.

Just using your sample data and assuming your letters are in A1:A10
and the scores are in B1:B10.

Then make D1 = a, D2=b, D3=c
Then put this formula in E1 and drag down to E3,
=SUMIF($A$1:$A$10,D1,$B$1:$B$10)

Of course you will have to adjust things to suit your much larger range
however the same process should work no problems.

HTH
Martin



"Margaret." Margaret. @discussions.microsoft.com wrote in message
...
Hello,

I have one large spreadsheet that includes several scores for the one item
eg:

a 1
a 90
a 21
b 2
b 50
c 2
c 2
c 45
c 40
c 1

etc.

I would like to know how to use the data consolidate function (in simple
terms) to consolidate all the scores for a, b and c for example. So the
final
score for a=112, b=52 and c=88

I understand I could go through the spreadsheet and highlight the values
to
get a total for each item but the spreadsheet is quite large, approx
30,000
rows and 2.5 alphabets of columns... I am hoping that the data
consolidate
function will be useful in this regard.

Thanks,

M.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.