The Code Cage - Microsoft Office help Free Microsoft Office Help for all Applications!
Remote Tech Support
Dish Network Installation
repair credit      
 

To stop seeing these ads and get other benefits check This page!

Go Back   The Code Cage Forums > Newsgroups - Microsoft Topics > Newsgroup - Excel Forum > Worksheet Functions

Custom Search
Translate this Page!
Chat In Use Now! Microsoft Office Chat Online now!


Worksheet Functions Post questions in this forum if they are related to using Microsoft Excel Worksheet Functions, e.g Forumale or built in functionality etc.

Hey there!

It looks like you're enjoying but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. Register now!

Already a member? Login at the top of this page to stop seeing this message.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 5th June 2010, 05:46 PM
Dinesh
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default sum by rows in Pivot


------ Register to get rid of these "In Post" ads! ------


Hi,

see table below.


Col A Col B Col C
a 1 7
s 4 9
x 8 4
d 9 3
v 4 2
b 3 5
n 6 6
m 9 8
r 2 9
d 4 1
a 6 9
f 7 5

See Excel 2007 Pivot table result below.


Values
Row Labels Sum of Com B Sum of Col C
a 1 7
s 4 9
x 8 4
d 9 3
v 4 2
b 3 5
n 6 6
m 9 8
r 2 9
d 4 1
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/worksheet-functions/207377-sum-rows-pivot.html#post738840
a 6 9
f 7 5
Grand Total 63 68

I am not getting "Grand Total" by row in Excel 2007.

Can someone explain why?

Thanks,
Dinesh
Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
  #2 (permalink)  
Old 5th June 2010, 06:18 PM
Roger Govier
Newsgroup Contributor


My Top Tip Count:

 
Posts: n/a
Chats:
Default Re: sum by rows in Pivot

------ Register to get rid of these "In Post" ads! ------


Hi Dinesh

your data is in the wrong format for this to work.
The PT will not carry out a Grand Total by row, as A and B may not be
additive - column B could be Apples and column B could be Pears.

For the Grand Total to come into effect, the data should be

A B C
Row TYpe Value
a A 7
a B 16
b A 3
b B 5

etc.

Then with Row as the Row Field, Type as the Column Field and Value as the
Data field
you would see

Sum of Value Column LabelsRow
B C Grand Total
'Original Source: The Code Cage Forums http://www.thecodecage.com/forumz/worksheet-functions/207377-sum-rows-pivot.html#post738853
a 7 16 23
b 3 5 8
d 13 4 17
f 7 5 12
m 9 8 17
n 6 6 12
r 2 9 11
s 4 9 13
v 4 2 6
x 8 4 12
Total 63 68 131

Because A and B are Items of Type, the PT will add the values together.

--

Regards
Roger Govier

"Dinesh" <Dinesh@discussions.microsoft.com> wrote in message
news:BE79F871-95FF-4EBA-BBB5-061954DB2837@microsoft.com...
> Hi,
>
> see table below.
>
>
> Col A Col B Col C
> a 1 7
> s 4 9
> x 8 4
> d 9 3
> v 4 2
> b 3 5
> n 6 6
> m 9 8
> r 2 9
> d 4 1
> a 6 9
> f 7 5
>
> See Excel 2007 Pivot table result below.
>
>
> Values
> Row Labels Sum of Com B Sum of Col C
> a 1 7
> s 4 9
> x 8 4
> d 9 3
> v 4 2
> b 3 5
> n 6 6
> m 9 8
> r 2 9
> d 4 1
> a 6 9
> f 7 5
> Grand Total 63 68
>
> I am not getting "Grand Total" by row in Excel 2007.
>
> Can someone explain why?
>
> Thanks,
> Dinesh
>
> __________ Information from ESET Smart Security, version of virus
> signature database 5175 (20100605) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>


__________ Information from ESET Smart Security, version of virus signature database 5175 (20100605) __________

The message was checked by ESET Smart Security.

http://www.eset.com



Reply to this post


Did you find this post helpful? Yes | No
The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!
Reply

Bookmarks

Tags
pivot, rows, sum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

The Code Cage Affilliates


To stop seeing these ads and get other benefits check This page!



All times are GMT +1. The time now is 04:06 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.5.1 PL1
No part of this board may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application the represent