Display charts based on text in a cell

CraigG

Board Regular
Joined
May 1, 2005
Messages
169
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
  2. Mobile
Hi

I have various charts in a worksheets, Chart1, Chart2, Chart3, etc.

In another worksheet in A1 I have a drop down menu (through data validation), for easiness let's say the drop downs are 'Chart1', 'Chart2', 'Chart3', etc.

Depending on what is selected in A1 I want the relevant chart to appear in D1
For example, if 'Chart1' is selected in A1 then in D1 I want Chart1 to appear.

Anyone any ideas how I get this to work?

Thanks for your help.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
send me a sample excel temp and I will update and send it back.
Thera ae few steps:
 
Upvote 0
send me a sample excel temp and I will update and send it back.
Thanks for your help, unfortunately I can't upload an Excel file or use the XL2BB add-in due to permissions/settings/security. So i've uploaded pics...
Picture1.png
Picture2.png
 
Upvote 0
see attached:
=VLOOKUP(G3,A2:B8,2,FALSE)
 

Attachments

  • Dynamic Chart.png
    Dynamic Chart.png
    22.6 KB · Views: 3
Upvote 0
see attached:
=VLOOKUP(G3,A2:B8,2,FALSE)
Thanks for this, unfortunately this won't work for me as every chart is different, formatted differently and based on data which is not consistent across the different charts. The charts have already been created (on another worksheet) and I was hoping I could just create an IF statement to show the relevant chart/object. (The images I uploaded were just to try to show what I'm trying to achieve and unfortunately don't show the different types of charts/data I have).
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,853
Members
449,051
Latest member
excelquestion515

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