Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
brett
 
Posts: n/a
Default Copy formula down a column does not use correct cell reference

I have a sheet that displays a sum in a pivot table. I am then trying to
calculate that sum as a percentage in the next column. My problem is that I
have 300 rows to fill with the percentage formula. When I try to drag the
formula down the page, it does not use the corresponding row's cell from the
pivot table. How do I prevent that? For example:

=IF(ISERROR(GETPIVOTDATA("wTime",$X$3,"wk",12)/AI16),"-",GETPIVOTDATA("wTime",$X$3,"wk",12)/AI16)

Then as I drag the formula down it changes the AI16 to the correct cell
reference but the part that does not update correctly is the
"wTime",$X$3,"wk",12 where the 12 should become 13, then 14 and so on. It's a
long formula and I have 5 columns of over 300 rows that I don't want to have
to update manually. Any suggestions? Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Copy formula down a column does not use correct cell reference

Try changing the "12' with ROW(12:12) or ROW(A12)

HTH
JG

"brett" wrote:

I have a sheet that displays a sum in a pivot table. I am then trying to
calculate that sum as a percentage in the next column. My problem is that I
have 300 rows to fill with the percentage formula. When I try to drag the
formula down the page, it does not use the corresponding row's cell from the
pivot table. How do I prevent that? For example:

=IF(ISERROR(GETPIVOTDATA("wTime",$X$3,"wk",12)/AI16),"-",GETPIVOTDATA("wTime",$X$3,"wk",12)/AI16)

Then as I drag the formula down it changes the AI16 to the correct cell
reference but the part that does not update correctly is the
"wTime",$X$3,"wk",12 where the 12 should become 13, then 14 and so on. It's a
long formula and I have 5 columns of over 300 rows that I don't want to have
to update manually. Any suggestions? Thanks in advance.

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
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM
HOW DO I COPY FORMULA WITHOUT CHANGING CELL REFERENCE anantth Excel Discussion (Misc queries) 4 February 6th 05 12:25 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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