Skip to main content
Answer

Calculate connections

  • December 18, 2023
  • 2 replies
  • 66 views

Forum|alt.badge.img+1

Is there a way to automatically calculate how many lines are connected to a box in the flow chart?

And if so, can you calculate in & out?

 

I’m trying to work out how many times an item in used. 

 

Best answer by Lance

Yes! You can use conditional formatting to accomplish this. In this example image, I have green badges showing the number of lines going out from a shape and red badges for lines going in. I set up a rule that shows a badge if the number of connected shapes is greater than 0, used a custom text badge, and set the custom text to be =COUNT(UPSTREAM) for the red badge and =COUNT(DOWNSTREAM) for the green badge. You can also do =COUNT(CONNECTED) for the total.

 

Comments

Lance
Lucid Legend Level 6
Forum|alt.badge.img+11
  • Lucid Legend Level 6
  • Answer
  • December 18, 2023

Yes! You can use conditional formatting to accomplish this. In this example image, I have green badges showing the number of lines going out from a shape and red badges for lines going in. I set up a rule that shows a badge if the number of connected shapes is greater than 0, used a custom text badge, and set the custom text to be =COUNT(UPSTREAM) for the red badge and =COUNT(DOWNSTREAM) for the green badge. You can also do =COUNT(CONNECTED) for the total.

 


Forum|alt.badge.img+1
  • Author
  • December 20, 2023

Awesome, thanks Lance 👍