Lookup question

happyhungarian

Active Member
Joined
Jul 19, 2011
Messages
252
Office Version
  1. 365
Platform
  1. Windows
I was wondering if there is a way to have a vlookup (or some other formula) to take information from a row that's X number of rows away from the value you're looking up. Example: my data source spits out information in the following format (all of this would be in column A for example):

Customer 1
Cumulative
Incremental
Customer 2
Cumulative
Incremental


If I want to do a vlookup for Customer 2's Incremental data is there a way to have the formula find "Customer 2" but then take the information from 2 rows after? Obviously I can't just vlookup "incremental" because it would take Customer 1's data. I thought about adding a second column with just the "Customer 2" portion repeating down the side and then using the Sumproduct formula to do a 2-criteria lookup but I really need to avoid adding a second column.

Thanks for the help as always

Jesse
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
You can use

=INDEX(A:A,MATCH("Customer 1",A:A,0)+X)

make the X 1 to get cumulative, 2 to get Incremental
 
Upvote 0
Thanks! Now if I wanted to use this over a period of time (say for 12 months with the incremental and the cumulative data starting in column b {but the "Customer 2","Cumulative", "Incremental" labels still in column a}) how would i adjust the formula?
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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