LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Pivot Table Calculations

Greetings,

I have a very large database that I am trying to perform some calculation on using Excel. I need to calculate geometric means on subsets of the data (specifically, I need to calculate geomean for several fields for each "site" within the dataset over a specific period of time). I think that using pivot tables is the way to go, but I can't quite figure it out. This is what my database spreadsheet looks like:

site date a b c d etc.
1 6/1/06
6/2/06
6/3/06
etc.
2
3
etc.

where a, b, c, d, etc. are all my fields (there are about 100 of them). Each site has been sampled on multiple dates. For most of the fields I want to calculate the mean (average) for each site, which I can do quite easily in a pivot table. Four of the fields need to be calculated as geometric means, however. When I set up my pivot table it looks like this:

site data total
1 mean a #
mean b #
mean c #
etc.
2
3
etc.

Is there a way to calculate the geomean? I tried using a calculated field but I think you can only sum the values, which does not seem to help (at least, I seem to come up with sums when I try it). In my searching of the forums I get the sense that maybe a helper column is the way to go, but I can't wrap my head around how to do it. Can anyone help?

Also, within the database there are quite a few cells that contain "no data" - this happens when sampling occurs on a given date but not at a given site. Are these blank cells being included in the mean calculations, or not? I definitely don't want them to be.

Thanks very much!

Carrie
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase calculations speed in pivot table with calculated fields & items [email protected] Excel Discussion (Misc queries) 0 August 4th 06 09:25 AM
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM
Creating Calculations Within a Pivot Table Field MinhPhan Excel Discussion (Misc queries) 0 March 27th 05 05:57 PM
Setting up "Year to Date" Calculations in a Pivot Table Project64 Excel Worksheet Functions 1 March 22nd 05 01:50 AM
pivot table calculations Joe S. Excel Discussion (Misc queries) 1 December 9th 04 07:46 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"