Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Complex Graphic

EE Pros,

I have a graphic that is going to be simple for the right EE Pro.  I've constructed a example of what I'm looking for that keeps the cost/expense number constant while the "helper" cell demonstrates moving from "Conservative", to "Aggressive".  

What I need is the graphic representation that is reflected when the macro is executed.

See if this makes sense.

B.
Complex-dynamic-graphic.xlsm
0
Bright01
Asked:
Bright01
1 Solution
 
byundtCommented:
I suggest using a column chart rather than a line chart.
Column chart
I find nested IF statements confusing, and try to use other approaches to avoid them. In this case, the INDEX function is perfect:
=INDEX(D8:F8,I$4)                'Succinct
=IF(I4=1,D8,IF(I4=2,E8,IF(I4=3,F8)))         'Confusing, isn't it
Complex-dynamic-graphic.xlsm
0
 
Bright01Author Commented:
Byundt,

Thank you!  Well done.  And I'm starting to get the hang of using Indexing.  Great recommendation.

Best regards,

B01
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now