Skip to main content

While there is not an official Auto-numbering feature achieving the same result is possible using Conditional Formatting. This article will guide you through the process of utilizing conditional formatting alongside formulas to accomplish this task.

 

1. Begin by selecting a shape and create a rule with this formula as the data source:

if(isempty(upstreamdeep), 1, count(upstreamdeep) + 1)

 

2. Next in order to guarantee the automatic display of numbers alongside each shape apply the 'Icon' style for formatting and opt for the 'Text Badge' option as the Type. You can choose the position and background of the text in this section. Then as the Text Source pick 'Formula' and be certain to enter the subsequent formula:

if(isempty(upstreamdeep), 1, count(upstreamdeep) + 1)

 

3. Lastly ensure the rule is applied to all the shapes. Keep in mind that it will count proceeding shapes so there will be multiple instances of the same numbered sequence if branching occurs.

 

4. Moreover if you intend to incorporate an alternative shape or text without adhering to this rule you can easily choose the shape and remove the rule selectively from that particular shape.

 

Useful Links:

Conditional Formatting in Lucidchart 

Formulas help center article

This is a great approach to auto-numbering your flowchart. In case you're interested in another approach using formulas check out this post!


How do you overcome the formula labeling shapes on the same line as the same number and then skipping the subsequent number so it goes like 13, 13, 15, 16… etc.?


Hi ​@zanistaro

Thank you for the reply! To clarify, the issue you are experiencing is that shapes on the same line have same number, then some numbers are being skipped? Can you provide a screenshot of the issue you are seeing?