Solved

Formula not working in pivot table

Posted on 2014-01-14
3
303 Views
Last Modified: 2014-01-15
I want to create a pivottable with the following values :

Column:
Number of days. This field is called "TEMPS"

Rows:
Row 1:
count of the datacolumn "AUDIT". This was very simple; I put the field "AUDIT" in the values and change it to count numbers instead of sum in value field settings. This is simply a count of all the different values.

Row 2:
Here I'm using a formula. I want to calculate the value in TEMPS with the value of row 1: Number of Days * count of Audit. For that I created a simple formula: count(AUDIT)*TEMPS. I called this formula "DAYS". It calculates correctly.

Now I want to a a third row that divides Row 2/Row 1.

When I try now to add a formula: DAYS/count(AUDIT) it does not work.

I have even tried the simple formula count(AUDIT), wich I think should give the same result as Row 1, but gives me always the number 1

Are there any suggestions ?

Steven
0
Comment
Question by:Steven Vermoere
3 Comments
 
LVL 48

Expert Comment

by:Rgonzo1971
ID: 39779286
Hi,

Could you send a sample?

Regards
0
 
LVL 31

Accepted Solution

by:
Rob Henson earned 500 total points
ID: 39779336
Mathematically, your formula DAYS / COUNT(Audit) will give the same result as TEMPS.

DAYS = COUNT(Audit) * TEMPS

Therefore

DAYS / COUNT(Audit) = TEMPS

What are you aiming to achieve, I guess it isn't just another row with the same data?

Thanks
Rob H
0
 

Author Closing Comment

by:Steven Vermoere
ID: 39782055
Yes Rob,

You are completely right. The people asking me to create the pivottable have found out the same solution after you told me that I was also asking something that is already available.

Sorry for the bother

Steven
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now