Hello,
I am using formula which groups number in 1000 range as you see it gives me result in range C2 to C15
I wand to get result adding zeros before to complete number both side in to 7 digits as demonstrate in range C19 To C32 Or any alternate solution
Thank you all
Excel 2000
Regards,
Moti
I am using formula which groups number in 1000 range as you see it gives me result in range C2 to C15
I wand to get result adding zeros before to complete number both side in to 7 digits as demonstrate in range C19 To C32 Or any alternate solution
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Seriol N | From - To | |||
2 | 40 | 1 - 1000 | |||
3 | 1.112 | 1001 - 2000 | |||
4 | 1.155 | 1001 - 2000 | |||
5 | 3.500 | 3001 - 4000 | |||
6 | 3.900 | 3001 - 4000 | |||
7 | 20.900 | 20001 - 21000 | |||
8 | 70.800 | 70001 - 71000 | |||
9 | 102.000 | 101001 - 102000 | |||
10 | 185.000 | 184001 - 185000 | |||
11 | 245.000 | 244001 - 245000 | |||
12 | 980.000 | 979001 - 980000 | |||
13 | 1.000.000 | 999001 - 1000000 | |||
14 | 1.000.900 | 1000001 - 1001000 | |||
15 | 1.019.900 | 1019001 - 1020000 | |||
16 | |||||
17 | Result | Require | This | ||
18 | Seriol N | From - To | |||
19 | 40 | 0000001 - 0001000 | |||
20 | 1.112 | 0001001 - 0002000 | |||
21 | 1.155 | 0001001 - 0002000 | |||
22 | 3.500 | 0003001 - 0004000 | |||
23 | 3.900 | 0003001 - 0004000 | |||
24 | 20.900 | 0020001 - 0021000 | |||
25 | 70.800 | 0070001 - 0071000 | |||
26 | 102.000 | 0101001 - 0102000 | |||
27 | 185.000 | 0184001 - 0185000 | |||
28 | 245.000 | 0244001 - 0245000 | |||
29 | 980.000 | 0979001 - 0980000 | |||
30 | 1.000.000 | 0999001 - 1000000 | |||
31 | 1.000.900 | 1000001 - 1001000 | |||
32 | 1.019.900 | 1019001 - 1020000 | |||
Hoja1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C2 | =INT((A2-1)/1000)*1000+1 & " - " & INT(((A2-1)/1000)+1)*1000 |
Thank you all
Excel 2000
Regards,
Moti