Cell value

AlGuy

New Member
Joined
Mar 1, 2012
Messages
37
I am trying to get the value of a cell based on the last value of a row that used the lookup formula.

Let's say in cell A1, I referenced the last value of the row 300 on the sheet 2 renamed Notes. I used the Lookup function:
A1 value: (=LOOKUP(9.99999999999999E+307,Notes!300:300). The value in A1 equals to the year 2010 value. Its cell ref is M300.

In the cell A2, I want to see the value of the year 2009, which is located on the same sheet (Notes). The cell ref is L300. But instead of calling the cell by typing =Notes!L300, I want excel to find the value of cell A2, based on that of cell A1. In other words, if the last value of the row 300 in 10 years is that of 2020, excel will put in the cell A2, the value of year 2019 automatically.

Thank you for the help.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I am trying to get the value of a cell based on the last value of a row that used the lookup formula.

Let's say in cell A1, I referenced the last value of the row 300 on the sheet 2 renamed Notes. I used the Lookup function:
A1 value: (=LOOKUP(9.99999999999999E+307,Notes!300:300). The value in A1 equals to the year 2010 value. Its cell ref is M300.

In the cell A2, I want to see the value of the year 2009, which is located on the same sheet (Notes). The cell ref is L300. But instead of calling the cell by typing =Notes!L300, I want excel to find the value of cell A2, based on that of cell A1. In other words, if the last value of the row 300 in 10 years is that of 2020, excel will put in the cell A2, the value of year 2019 automatically.

Thank you for the help.
Will there always be at least 2 numeric values in the range?

What should happen if there isn't?
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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