Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jay
 
Posts: n/a
Default Using PRODUCT in Calculated Field

Hi all,

Well, I am now completely confused.

I'm trying to use PRODUCT in a calculated field, and I can't get the proper
number, and I'm hoping someone can point out my problem.

The data in the field looks like this:
0.999993012
0.999998289
0.999986024
1
1
0.999994371
0.999979875

If I enter those numbers in a cell and then calculate the product (ie.
=PRODUCT(A1:A7)) then the answer is 0.999951571.

I then want that to be a calculated field in a PivotTable. So, I place that
data in a column called Yield_Item. I then enter as the formula
=Product('Yield_Item') and the calculated field returns 6.999951571.

Can anyone suggest a cause for this? I'm really at my wit's end. Any
suggestons are greatly appreciated.

Thanks,
Jay
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Using PRODUCT in Calculated Field

Jay,
When you say a column called "Yield_Item" do you mean a named
range? Using named ranges - either just A1:A7 or column A , it still get the
same correct result.

If you are using a whole column, it suggests there is data other than the
A1:A7 data in the column as I can't see how else you would get your result.

XL2003

"Jay" wrote:

Hi all,

Well, I am now completely confused.

I'm trying to use PRODUCT in a calculated field, and I can't get the proper
number, and I'm hoping someone can point out my problem.

The data in the field looks like this:
0.999993012
0.999998289
0.999986024
1
1
0.999994371
0.999979875

If I enter those numbers in a cell and then calculate the product (ie.
=PRODUCT(A1:A7)) then the answer is 0.999951571.

I then want that to be a calculated field in a PivotTable. So, I place that
data in a column called Yield_Item. I then enter as the formula
=Product('Yield_Item') and the calculated field returns 6.999951571.

Can anyone suggest a cause for this? I'm really at my wit's end. Any
suggestons are greatly appreciated.

Thanks,
Jay

  #3   Report Post  
Posted to microsoft.public.excel.misc
Jay
 
Posts: n/a
Default Using PRODUCT in Calculated Field

Toppers,

Sorry, I forgot to mention something. I'm trying to use a calculated field
in a PivotTable.

When I say column, I mean a column of data (which is also a field in the
PivotTable). So the data actually looks like:

Item_Num Yield_Item
1234 0.999993012
1234 0.999998289
1234 0.999986024
1234 1
1234 1
1234 0.999994371
1234 0.999979875
5679 0.999997148
5679 1
5679 1
5679 0.999979294
5679 1
5679 0.999992842
etc...

Now, I want the Product of Yield for a particular item number. When I use a
calculated field as mentioned, I get 6.999951571.

However, if I show field Yield_Item and change the field settings to display
as Product, this I get 0.999951571 (which is what I want to get).

I don't know how I'm getting any number over 1 as all numbers in the column
(field) are 1 or less.

Hope that helps.

Jay

"Toppers" wrote:

Jay,
When you say a column called "Yield_Item" do you mean a named
range? Using named ranges - either just A1:A7 or column A , it still get the
same correct result.

If you are using a whole column, it suggests there is data other than the
A1:A7 data in the column as I can't see how else you would get your result.

XL2003

"Jay" wrote:

Hi all,

Well, I am now completely confused.

I'm trying to use PRODUCT in a calculated field, and I can't get the proper
number, and I'm hoping someone can point out my problem.

The data in the field looks like this:
0.999993012
0.999998289
0.999986024
1
1
0.999994371
0.999979875

If I enter those numbers in a cell and then calculate the product (ie.
=PRODUCT(A1:A7)) then the answer is 0.999951571.

I then want that to be a calculated field in a PivotTable. So, I place that
data in a column called Yield_Item. I then enter as the formula
=Product('Yield_Item') and the calculated field returns 6.999951571.

Can anyone suggest a cause for this? I'm really at my wit's end. Any
suggestons are greatly appreciated.

Thanks,
Jay

  #4   Report Post  
Posted to microsoft.public.excel.misc
Jay
 
Posts: n/a
Default Using PRODUCT in Calculated Field

I also noticed that the value of Product('Yield_Item') in a calculated field
is NOT calculating the product but is actually the SUM of Yield_Item.

Is there a way to change that?

"Toppers" wrote:

Jay,
When you say a column called "Yield_Item" do you mean a named
range? Using named ranges - either just A1:A7 or column A , it still get the
same correct result.

If you are using a whole column, it suggests there is data other than the
A1:A7 data in the column as I can't see how else you would get your result.

XL2003

"Jay" wrote:

Hi all,

Well, I am now completely confused.

I'm trying to use PRODUCT in a calculated field, and I can't get the proper
number, and I'm hoping someone can point out my problem.

The data in the field looks like this:
0.999993012
0.999998289
0.999986024
1
1
0.999994371
0.999979875

If I enter those numbers in a cell and then calculate the product (ie.
=PRODUCT(A1:A7)) then the answer is 0.999951571.

I then want that to be a calculated field in a PivotTable. So, I place that
data in a column called Yield_Item. I then enter as the formula
=Product('Yield_Item') and the calculated field returns 6.999951571.

Can anyone suggest a cause for this? I'm really at my wit's end. Any
suggestons are greatly appreciated.

Thanks,
Jay

Reply
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
Totals of calculated field in pivot table give incorrect results Jake Excel Worksheet Functions 6 January 12th 06 06:15 PM
how to create a calculated field from another calculated field? Eldon Excel Discussion (Misc queries) 0 January 9th 06 03:40 PM
Using a MIN, MAX formula on a calculated field in a pivot table fhaberland Excel Discussion (Misc queries) 0 August 2nd 05 07:47 PM
pivot table - hide details but show subtotal for calculated field tenneym Excel Discussion (Misc queries) 1 February 9th 05 03:07 AM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM


All times are GMT +1. The time now is 08:44 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"