Match? Maybe?

mhenk

Well-known Member
Joined
Jun 13, 2005
Messages
591
I'm dealing with an irritating spreadsheet that my boss threw together and now I'm trying to summarize.

Is there anyway to return the value immediately under the occurance of a certain number in a column? (col. E, to be exact)

Example:

1
24507
34523
2343

2
345345
5645

3
124234


I would like to be able to create a summary table off to the right of all this data, and return something like this
1 | 24507
2 | 245245
3 | 123234

Any assistance would be grand!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
=INDEX(E:E,MATCH(1,E:E,0)+1) will return the number below the first 1
=INDEX(E:E,MATCH(2,E:E,0)+1) will return the number below the first 2, etc.

Of course, if your data is
1
2
something else

2
foo
bar

The first "2" will throw off this calculation. Hopefully, from your sample, this isn't an issue.
 
Upvote 0

Forum statistics

Threads
1,215,025
Messages
6,122,732
Members
449,093
Latest member
Mnur

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