confusing formulas

robmormile

New Member
Joined
Jul 3, 2021
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi all

Is there a way to generate a flowchart from the data in the formula tab? I have some complex/confusing formulas which function well but I need to edit/add formulas to them. I easily get lost in the algorithm. If I could somehow visually see the flow of the formula It would make it much easier to understand.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I don't know about Excel on the Mac but you can trace dependents / precedents by using the Formula tab>>formula auditing>>trace precedents OR trace dependents.
OR
on the same menu >> Evaluate formula will let you step through the formula 1 step at a time and see the result as you go.
 
Upvote 0
I often use Alt+Enter in formulas to break the formula up into separate lines, and lately also adding spaces to indent lines.
It doesn't impact the formula but makes it easier to read and is similar to what you do when you write code.

The below is a recent example. Ignore the actual formula, it was just modifying someone else's in another thread.

Excel Formula:
=IFERROR(
   IF(K23="","",
      IF(V22>180,28,
         RIGHT(SUBSTITUTE(TRIM(LEFT(SUBSTITUTE($V$11,"Morning",REPT(" ",255),1),255))," ",REPT(" ",255)),99)+0)),
"")
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top