A Abhijeet Active Member Mar 28, 2014 #1 Hi In Excel 4.1,4.2........... to 4.20 how to do this in formula & how to wright code in VBA
iferror Member Mar 28, 2014 #2 Hang on...you want to have something like 4.1 - 4.2 - 4.3 ------ 4.10 - 4.11 ------ 4.19 - 4.20 ? Wouldn't it be better to have 4.01 - 4.02 and so forth? How do you intend to tell 4.1 from 4.10? As far as VBA, you only need a FOR loop For ind = 1 to 20 yourtext = "4." & indx Next Formula Type 4.1 in cell A1 Type this formula in A2 and copy down ="4." & RIGHT(A1;LEN(A1)-2)+1
Hang on...you want to have something like 4.1 - 4.2 - 4.3 ------ 4.10 - 4.11 ------ 4.19 - 4.20 ? Wouldn't it be better to have 4.01 - 4.02 and so forth? How do you intend to tell 4.1 from 4.10? As far as VBA, you only need a FOR loop For ind = 1 to 20 yourtext = "4." & indx Next Formula Type 4.1 in cell A1 Type this formula in A2 and copy down ="4." & RIGHT(A1;LEN(A1)-2)+1
Somendra Misra Excel Ninja Mar 28, 2014 #3 Hi Abhijeet, I think It should be 4.01, 4.02, .... 4.20. If so you can use below formula: =4+MOD(ROWS(A$1:A1)/100,1) Regards,
Hi Abhijeet, I think It should be 4.01, 4.02, .... 4.20. If so you can use below formula: =4+MOD(ROWS(A$1:A1)/100,1) Regards,
A Abhijeet Active Member Mar 30, 2014 #4 Somendra Misra said: Hi Abhijeet, I think It should be 4.01, 4.02, .... 4.20. If so you can use below formula: =4+MOD(ROWS(A$1:A1)/100,1) Regards, Click to expand... I give only example 4.01 can u please give me any number can give same like this with formula
Somendra Misra said: Hi Abhijeet, I think It should be 4.01, 4.02, .... 4.20. If so you can use below formula: =4+MOD(ROWS(A$1:A1)/100,1) Regards, Click to expand... I give only example 4.01 can u please give me any number can give same like this with formula
Somendra Misra Excel Ninja Mar 30, 2014 #5 @Abhijeet Replace the 4 with a choice of your number OR refrence the 4 to a cell and use the cell in the formula as shown below. =$B$1+MOD(ROWS(A$1:A1)/100,1) Where in B1 is the number of your choice. Regards,
@Abhijeet Replace the 4 with a choice of your number OR refrence the 4 to a cell and use the cell in the formula as shown below. =$B$1+MOD(ROWS(A$1:A1)/100,1) Where in B1 is the number of your choice. Regards,
SirJB7 Excel Rōnin Apr 1, 2014 #6 Crossposted at: http://chandoo.org/forum/threads/access-vba-problem.15691/#post-95192 User being warned again.
Crossposted at: http://chandoo.org/forum/threads/access-vba-problem.15691/#post-95192 User being warned again.
A Abhijeet Active Member Apr 17, 2014 #7 Hi I have data i want sort this data with number format please tell me how to do this Attachments temp.xlsx 10.4 KB · Views: 5
Somendra Misra Excel Ninja Apr 17, 2014 #8 @Abhijeet Apply autofilter to the column and than sort A-Z. Isn't this solving your problem? Regards,
@Abhijeet Apply autofilter to the column and than sort A-Z. Isn't this solving your problem? Regards,
N NARAYANK991 Excel Ninja Apr 17, 2014 #9 Hi Abhijeet , See this file. Narayan Attachments temp.xlsx 10.8 KB · Views: 6