Formula to get the value of a cell in closest proximity to the left of a cell

cclark19

New Member
Joined
Mar 2, 2019
Messages
2
Hello, I am trying to figure out how to have the cells lookup the value in closest proximity to the cells to the left of my desired cell. For example, how to have the 2 show up in the x position, how to have the 1 show up in the y position, and the 3 in the z. And if I was to continue to input new values to the left of the 2,1, and 3, if it would recognize the new values. Any help is appreciated!

2
2x
11y
33z

<tbody>
</tbody>
 

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.
Re: Help to find formula to get the value of a cell in closest proximity to the left of a cell

Hi,

This will do what you want if your values are numeric:


Book1
ABCDEFGH
12433
2122
3366
Sheet625
Cell Formulas
RangeFormula
H1=LOOKUP(9.99999999999999E+307,A1:G1)


Formula copied down.
Column H will update as you enter additional values.
 
Upvote 0
Hello, I am trying to figure out how to have the cells lookup the value in closest proximity to the cells to the left of my desired cell. For example, how to have the 2 show up in the x position, how to have the 1 show up in the y position, and the 3 in the z. And if I was to continue to input new values to the left of the 2,1, and 3, if it would recognize the new values. Any help is appreciated!

22x
11y
33z

<tbody>
</tbody>

Perfect, thanks so much!
 
Upvote 0
You're welcome, welcome to the forum, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,136
Messages
6,129,080
Members
449,485
Latest member
greggy

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