Calculate with rows filter

reggieneo

New Member
Joined
Jun 27, 2017
Messages
26
Hi All,
Very new to Power tools . i have been experimenting on this issue which i can deal in Sumifs.

How can I show in Pivot table that Mark has 30 total, Ricky 15 Total, Peter 18 Total and Gino has 5?
[TABLE="width: 500"]
<tbody>[TR]
[TD]10[/TD]
[TD]ID01[/TD]
[TD]Mark
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]ID02[/TD]
[TD]Ricky[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]ID01[/TD]
[TD]Mark[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]ID03[/TD]
[TD]Peter[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]ID04[/TD]
[TD]Gino[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]ID03[/TD]
[TD]Peter[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Much thanks
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
It depends on your table structure. If all 3 columns above are in the same table, just drags the ID and Name to rows of the pivot, drags the first column to values, and change he pivot table layout to what you need
 
Upvote 0
Hi Matt, thank you for responding to my issue and sorry for late reply as i was on leave from office. I can only access the file to explain further from office. I have a unique ID Table ("IDNumber")on another workbook, I can get the total value of all the respective people from Column A thru this formula:calculate(Sum(Page1[Working Hrs]), ALLEXCEPT(Page1, IDnumber[Number]).but I would like to have a measure or calculated column to get total for each IDNumber. this formula is not working:=calculate(Sum(Page1[Working Hrs), ALLEXCEPT( IDnumber, IDnumber[Number])). I have the relationship setup for between these tables too. much thanks.
 
Upvote 0
Does that make a difference? IF they are joined in your model, you can pull the name and the hours into your pivot, and it will total for you, no need for that measure as far as I can see.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top