Switch between input types
- December 17, 2019
- 3 replies
- 2492 views
I'm often provided with a flow rate, but it can be specified in either volume flow or mass flow. I want a simple way for my sheets to work regardless of what is specified (i.e. calculate the one that isn't defined from the other). My goal is to have the two inputs, but the one I don't need is disabled. I thought this would be easy, but I'm not finding a solution other than to enable/disable equations (which could get messy and dangerous) or assign flags telling mathcad what to do (also dangerous). In excel I could use ISNUMBER or similar, but I don't seem to find that in Mathcad. I thought TRY would work, but even that quits when it reaches an undefined variable. I tried a few things with NaN but still no luck. Any suggestions? Thanks.

4.0 attached.

