Finding value "X" number of columns from target value.

rickblunt

Well-known Member
Joined
Feb 18, 2008
Messages
609
Office Version
  1. 2019
Platform
  1. Windows
Hello, I have a WB with multiple columns of data, but not all of the columns have the same number of rows filled so it is getting tricky to match up data. I am using the following formula to find the data in the last filled cell of column G (or +/- rows as needed). But I need to find the value in Column A on the same row as what is being returned from G. Column A has a lot more rows used on it so I cannot simply repeat the formula that I used for G.

I tried using the match or Hlookup functions referencing the returned value from G (for instance, in this case I have this formula in N17 so I was trying to reference N17, maybe I can't do that?) but I am having no luck getting the syntax correct. I sure would appreciate any thoughts on how I could do this. Thank you,


Code:
=INDEX(G:G,COUNTA(G:G)+1,1)
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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