In-cell function that finds last value in another column

j3rseyBoy

New Member
Joined
Mar 8, 2002
Messages
7
Since the subject header sounds too convoluted, here's what I'd like to do, using an in-cell function. In column A is a date; in column B is data that I have entered; and in column C will be a formula that performs a calcultion on the previous two columns:

A B C
1/1/01 10
1/8/01
1/15/01 38 2

The formula in C would find the last data point in column B, and say (Bx-B1)/(Ax-A1). In this case, x=3. I can do this using a macro with out a problem, however, I'd like to be able to use an in-cell formula if possible. The time period between data points varies, as does the number blank lines.

Any help would be appreciated. Thanks!
This message was edited by j3rseyBoy on 2002-03-09 20:04
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi

If you entries are numeric use:

=INDEX($B$1:$B$1000,MATCH(-9E+306,$B$1:$B$1000,-1),1)

To return the value of last cell (will look past blanks)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,559
Members
449,089
Latest member
Motoracer88

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