Highlighted
New Contributor

# Formula Help

Can any one help me determine the formula needed to accomplish this task?

I have two columns of numbers on the same worksheet.  Column 1 is the beginning range of a 7 digit number and Column 2 is the ending 7 digit range.  Some of the ranges are a 1 to 1 match (example: Beginning range is 1234567 and the ending range is 1234567).  However, most of the ranges are much larger (example: Beginning range is 1234567 and Ending Range is 123767).  I'm looking for a formula that will automatically expand this range and list all consecutive numbers between the beginning and ending range and if the number is the same in the beginning & ending range, then I need for that number to be listed in a column.  I have 1622 rows with different ranges that I need to apply this formula to.  My ultimate goal is to list all numbers in a single column to compare them to a master list of 6000 numbers to see what is missing.  Any suggestions?

2 Replies
Highlighted

# Re: Formula Help

@Todd_Winkle , that could be done with Power Query - query your columns with Start/End, generate lists for ranges and expand them to new column. That is in attached file.

After that you may merge that query with your master list to check what is missed and land final result into Excel sheet.

Highlighted

# Re: Formula Help

Thanks for the help @Sergei Baklan.  After figuring out that I had to download the Power query add-in, i was able to do what I needed to quickly.  This was a great help!