Nth occurrence

Bugas

New Member
Joined
Sep 17, 2012
Messages
44
Office Version
  1. 2007
Platform
  1. Windows
Hi!

My table looks this:


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]x[/TD]
[TD]y[/TD]
[TD]z[/TD]
[TD]aa[/TD]
[TD]ab[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]Client[/TD]
[TD]Jan-12[/TD]
[TD]Fev-12[/TD]
[TD]Mar-12[/TD]
[TD]Apr-12[/TD]
[/TR]
[TR]
[TD]101[/TD]
[TD]aaa[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]102[/TD]
[TD]bbb[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]103[/TD]
[TD]ccc[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]104[/TD]
[TD]ddd[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD]eee[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]106[/TD]
[TD]fff[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]5[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]107[/TD]
[TD]ggg[/TD]
[TD]5[/TD]
[TD]6[/TD]
[TD]7[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]108[/TD]
[TD]hhh[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]8[/TD]
[/TR]
</tbody>[/TABLE]


For Jan-12 I would get this information:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Jan-12[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]aaa[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ccc[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]bbb[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]ddd[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]eee[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]fff[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]ggg[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]hhh[/TD]
[/TR]
</tbody>[/TABLE]


I'm trying to get the second, third, ... occurrence. It's not starting on A1. When I use vlookup, I only get the first occurance, ignoring the 2nd or the 3rd. I

I want to use excel formula.
 

Forum statistics

Threads
1,226,796
Messages
6,193,048
Members
453,772
Latest member
aastupin

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