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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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