Hey PaulF, sorry, i'm dumb
Try understand my new exemple
I need this result
1.1 chandoo VBA
1.2 chandoo Formula
1.3 chandoo Pivot Table
1.4 chandoo Chart
1.5 chandoo VBA
2.1 PaulF VBA
2.2 PaulF Formula
2.3 PaulF Pivot Table
2.4 PaulF Chart
2.5 PaulF Power Pivot Table
2.6 PaulF DashBoard
2.7 PaulF Solver
3.1 Luke M VBA
3.2 Luke M Formula
3.3 Luke M Pivot Table
4.1 Small Man VBA
4.2 Small Man Formula
4.3 Small Man Pivot Table
4.4 Small Man Chart
4.5 Small Man Power Pivot Table
4.6 Small Man DashBoard
If you insert a blank row before the start of your data, you could do this:
=IF(TRIM(LEFT(SUBSTITUTE(B2," ",REPT(" ",999)),999))<>TRIM(LEFT(SUBSTITUTE(B1," ",REPT(" ",999)),999)),INT(A1)+1.1,A1+0.1)
Assuming the blanks aren't in the middle of a "chapter"
=IF(B2="","",IF(TRIM(LEFT(SUBSTITUTE(B2," ",REPT(" ",999)),999))<>TRIM(LEFT(SUBSTITUTE(B1," ",REPT(" ",999)),999)),INT(MAX(A$1:A1))+1.1,MAX(A$1:A1)+0.1))
I'd first create a list with non-blanks (a quick search on these forums will give a formula solution to that, if needed), and then use the numbering formula.
Hi Faseeh, thanks for reply, but result not espected.
1.1 chandoo VBA
1.1 chandoo Formul
1.1 chandoo Pivot
1.1 chandoo Chart
1.1 chandoo VBA
1.1 PaulF VBA
1.1 PaulF Formula
1.1 PaulF Chart
1.1 PaulF Power Pi
1.1 PaulF DashBoar
1.1 PaulF Solver
1.1 Luke M VBA
1.1 Luke M Formula
1.1 Luke M Pivot T
1.1 Small Man VBA
1.1 Small Man Form
1.1 Small Man Pivo
1.1 Small Man Char
1.1 Small Man Powe
1.1 Small Man Dash