https://exceljetnew.pages.dev/posts/basic-outline-numbering---excel-formula/
Basic Outline Numbering Excel Formula