help with a formula

bradyj7

Board Regular
Joined
Mar 2, 2011
Messages
106
Hi there,

I have three columns Time (t) Charge (Q) and Current (I).

The Time column contains second values 1,2,3 etc.

Q is defined as I * t.

Lets just say I is defined as Q * 2. The proper formula is too and would confuse things.

So for first time step I is given a value so Q can can be calculated. Then from Q, I can be calculated. Now for the next time step I want the new value for I to be used to calculate Q and then I again and so on
Code:
t	Q	                                    I	
1	1* 0.01(starting value for I)	0.01*2	
2	This should be 0.02 *2	        This should be 0.04*2	
3			.....                      ......
4			.....                      ......

I was trying to use the formular1c1 function, but I can't use it because I is need to calculate Q but it is in the following column.

Any suggestions on how to do this just using the simple example above?

Thank you
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Since your formula is a circular reference, the only approach I can think of is to have a single catalyst value, a pre-I value.

So you'd enter pre-I as .01.
Where t=1
Q=t*pre-I = .01
I=pre-I*2 = .02

Where t=2
Q=t*I(from row where t=1) = .04
I= Q*2 = .08

Where t=3
Q=t*I(from row where t=2) = .24
I= Q*2 = .48

And so on...

Does that help?
 
Upvote 0
Hi thanks,

Any ideas as to how to write that in code? So I can try and modify to fit in what I have
 
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,176
Members
452,893
Latest member
denay

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top