Get number in sequence using vlookup or match in a live table

himanshushekhar8

New Member
Joined
Apr 19, 2018
Messages
1
I have a set of numbers against dates. That sequence goes 0,0,0,0,0,.....,0,1,2,3,4,5,5,5,5,5..... And so on.
I first wanted to extract the date at 1 and 4 only then at the next occurrence of 6 to whatever the number before repetition. But I was unsuccessful. If I could get help on this, I'd be greatful.

My second way around was that I tried getting the output of
0,0,0,0,0,.....,0,1,1,1,1,2,2,2,2,2..... Against
0,0,0,0,0,.....,0,1,2,3,4,5,5,5,5,5.....
So that I could use match & index.

The table is live and the size of table is 4X6900. Also, the place of occurrence of 1 or for that matter any number is not fixed.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

https://www.mrexcel.com/forum/about-board/508133-attachments.html

Or upload the file to an online storage site and post a link to it, though some people may not download the file for fear of viruses.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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