A formula that uses the last piece of valid data in a column

N.N.Jineer

New Member
Joined
Jul 20, 2007
Messages
1
I have searched dozens of messages in this forum and found what is apparently half of the answer to my question. However I need the other half.

I know various ways to find the reference of the cell that has the last piece of valid data in a column, but I don't know how to then include that in a formula. Let me provide an example.

Column A is Date
Column B is a stock price
Column C is another stock price

I want to create a formula that gives me the percent difference between the FIRST date in my data and the last date in the data. I'm currently using:

=B35/B3-1
=C35/C3-1

Then after today's stock prices are entered in the sheet I'll change it to 36, then the next day 37.

How do I use something like the MATCH or ADDRESS command and incorporate it into this formula?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi, and welcome to the Board!

Try:
=LOOKUP(9.9999999E+307,B:B)/B3-1
Similar for column C.

Denis
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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