Pivot table to calculate variance showing budget and actual.

Y

YY san.

Hi,
I know this is rather simple, but I just could not get it right. I have this
data:

Expenese Type Amt Scenario
Staff cost 200 Budget
Admin cost 75 Budget
Office rent 5000 Budget
Staff cost 100 Actual
Admin cost 45 Actual
Office rent 300 Actual
I am able to get the difference using the pivot table "Difference from", but
it only showed that single column. I would like my pivot table to show:

Expenese Type Budget Actual Variance
Staff cost 200 100 100
Admin cost 75 45 30
Office rent 5000 300 4700

Appreciate all guidance and hints.
Thanks!
 
T

trip_to_tokyo

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 95 (towards the top of my home page at the time of posting).

This appears to give you what you want.

If you agree please hit Yes.

Thanks.
 
A

Ashish Mathur

Hi,

You should convert the items under the Scenario column I.e. Budget and
Actual to columns instead. After the restructuring, there would be 4
columns in your source data - Expenses type, Amt, Base and Actual. Now
create a pivot from this and then you may write a calculated field

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
T

tacoboy27

Ashish Mathur wrote on 04/22/2010 00:15 ET
Hi

You should convert the items under the Scenario column I.e. Budget an
Actual to columns instead. After the restructuring, there would be
columns in your source data - Expenses type, Amt, Base and Actual. No
create a pivot from this and then you may write a calculated fiel

Regards

Ashish Mathu
Microsoft Excel MV
www.ashishmathur.co

"YY san." wrote in messag
news
I'm trying to do the same thing the person above is. Because my pivot
originate from a financial software output and then go through an Acces
Database, I have Actuals and Budget as two options under one field. Basicall

need to do: =sumif(Scenario, "Actual", Sales)-(Scenario
"Budget", Sales). Sumif doesn't seem to work inside the calculate
field option and it's near impossible to have Actual and Budget be separat
fields, otherwise the response from the 2nd poster would be the solution.
found a way around the Actual Budget problem in Access but I have this proble
for finding Gross Margin(Sales-Expenses) and average price(Sales/Units). I ma
try the same Access solution for Sales-Expenses I did for Actual and Budget bu
those only work because when it's Actual it's a positive and when it's Budge
it's a negative. For Sales/Units I really need to do something in th
calculated field...

Thanks in advance for your help!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top