When value is NOT Null

S

sbigelow

I started a formula that I thought was fairly simple. However, I can
seem to make it work.

Basically, I have a spreadsheet that gives me the rate of return on m
investment. Each day I enter the value of my investment in the cel
below the previous days value. So the formula would look like this:
(C226-C35)/C35
The problem is I have to change the row reference (C226) to the cel
containing the new value (say C227) each day (I dont like doing that).


Is there a way to have my formula automatically update to the newl
added value each day
 
M

Mangesh Yadav

Use:

=(OFFSET(C34,COUNT(C34:C10000),0)-C35)/C35

remember, there should be nothing in the column C34 onwards, only the prices
should be there.

Mangesh
 
M

Mangesh Yadav

Sorry, make it:

=(OFFSET(C34,COUNT(C35:C10000),0)-C35)/C35

Mangesh



Mangesh Yadav said:
Use:

=(OFFSET(C34,COUNT(C34:C10000),0)-C35)/C35

remember, there should be nothing in the column C34 onwards, only the prices
should be there.

Mangesh


message news:[email protected]...
 
F

Faz

Yes there is a way, i just figured out how to do it myself!

If you have an equation that sums an entire column like =SUM(A1:A50)
and you need it to keep updating, just insert a row within the range of
rows 1 to 50, and the formula will automatically update to =SUM(A1:A51)
 
M

Mangesh Yadav

Faz,

the OP will be simply entering the new value at the end of the column, and
not inserting a new row everytime.

Mangesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top