Hello,
I am trying to create a VB button with the below output. I would like to break up the range of numbers located in 2 cells with the name of 1 for each. As you can see, some might not be a range just 2 of the same numbers, indicating just one product id. 1 digit is the minimum and 9 digits is the max for each product id.
With the help of some Mr. Excel Dueling videos, i was able to make it work for a range with exact character counts but for a small protion of the data it is not flexbible enough to handle smaller ranges.
Thank you for any assistance! This is a great resource and community!
I am trying to create a VB button with the below output. I would like to break up the range of numbers located in 2 cells with the name of 1 for each. As you can see, some might not be a range just 2 of the same numbers, indicating just one product id. 1 digit is the minimum and 9 digits is the max for each product id.
With the help of some Mr. Excel Dueling videos, i was able to make it work for a range with exact character counts but for a small protion of the data it is not flexbible enough to handle smaller ranges.
Thank you for any assistance! This is a great resource and community!
Book1.xlsx | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | |||
1 | Name | NU | NU | NU | NU | NU | Product ID Start | Product ID END | Name | Individual ID | |||||||||
2 | Item 1 | x | x | x | x | x | 101035499 | 101035499 | Item 1 | 101035499 | |||||||||
3 | Item 1 | x | x | x | x | x | 101026465 | 101026478 | Item 1 | 101026465 | |||||||||
4 | Item 2 | x | x | x | x | x | 1004 | 1006 | Item 1 | 101026466 | |||||||||
5 | Item 3 | x | x | x | x | x | 55023 | 55023 | Item 1 | 101026467 | |||||||||
6 | Item 3 | x | x | x | x | x | 54526 | 54828 | Item 1 | 101026468 | |||||||||
7 | Item 3 | x | x | x | x | x | 101026031 | 101026032 | Item 2 | 1004 | |||||||||
8 | Item 2 | 1005 | |||||||||||||||||
9 | Item 2 | 1006 | |||||||||||||||||
10 | Item 3 | 55023 | |||||||||||||||||
11 | Item 3 | 54526 | |||||||||||||||||
12 | Item 3 | 101026031 | |||||||||||||||||
13 | Item 3 | 101026032 | |||||||||||||||||
Sheet1 |
Last edited by a moderator: