I have one column of information.
It ranges from cells A1 to A20000.
For simplicity, the values in the cell is a 5-digit number that can range from 10000-30000.
I would like to look only at the first three digits of the data set.
Looking at cell A1 (value is 13245), how many occurences of '132' can I find in the range A1-A20000?
Then looking at cell A2 (value is 16756), how many occurences of '167' can I find in the range A1-A20000?
Continue this with each cell until cell A20000.
Next step, I want to look only at the second, third, and fourth digits of the data set.
So looking at cell A1 (value is 13245), how many occurences of '324' can I find in the range A1-A20000?
Then looking at cell A2 (value is 16756), how many occurences of '675' can I find in the range A1-A20000?
Continue this with each cell until cell A20000.
Next step, I want to look only at the third, fourth, and fifth digits of the data set.
So looking at cell A1 (value is 13245), how many occurences of '245' can I find in the range A1-A20000?
Then looking at cell A2 (value is 16756), how many occurences of '756' can I find in the range A1-A20000?
Continue this with each cell until cell A20000.
Any help would be greatly appreciated!
Thanks!
Bookmarks