PC Review


Reply
Thread Tools Rate Thread

Automatically Change Formula Cell reference

 
 
kuhrty
Guest
Posts: n/a
 
      20th Nov 2008
I craeted a Pivot table and will be refreshing the table as new data
is added. When a new row of data is added, the formula refers to the
prior calculation I set up. I want to automated that when a new line
of data is updated the formula reflects it. I not sure if there is a
way to do this automatically or do I need to use VBA and relative
references. Any suggestions is greatly appreciated.

Example

Orginal Formula
Row 1
Row 2

=(Row 2 - Row 1)/Row 1

After new row is added
Row 1
Row 2
Row 3

=(Row 3 - Row 2 )/Row 2

Mark
 
Reply With Quote
 
 
 
 
Sanjay
Guest
Posts: n/a
 
      20th Nov 2008
Hi Kuhrty,

you need to use VBA, if information comparise text and numbers, you can use
sumproduct formula if the information is in text and then you don't need to
refresh pivot again as data is to be entered.
provide more information if it's not working


Sanjay

"kuhrty" wrote:

> I craeted a Pivot table and will be refreshing the table as new data
> is added. When a new row of data is added, the formula refers to the
> prior calculation I set up. I want to automated that when a new line
> of data is updated the formula reflects it. I not sure if there is a
> way to do this automatically or do I need to use VBA and relative
> references. Any suggestions is greatly appreciated.
>
> Example
>
> Orginal Formula
> Row 1
> Row 2
>
> =(Row 2 - Row 1)/Row 1
>
> After new row is added
> Row 1
> Row 2
> Row 3
>
> =(Row 3 - Row 2 )/Row 2
>
> Mark
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically change cell reference? =?Utf-8?B?QmFsenlvbmU=?= Microsoft Excel Misc 4 10th Apr 2007 09:44 AM
Automatically change reference cell each month =?Utf-8?B?QmFsenlvbmU=?= Microsoft Excel Misc 1 4th Apr 2007 06:14 PM
How to change a tab name with cell reference and formula? =?Utf-8?B?SmFyZWQ=?= Microsoft Excel Worksheet Functions 3 12th Jun 2006 09:41 PM
Copying formula with cell reference decreasing automatically mworth01 Microsoft Excel Misc 8 21st Apr 2006 08:59 PM
Change cell reference in formula GTS Microsoft Excel Discussion 2 19th Jul 2004 01:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 AM.