Chart series governed by cell entry

Kauri

New Member
Joined
Oct 2, 2023
Messages
6
Office Version
  1. 2021
Platform
  1. Windows
Hello, Hope your weekend is going to be good.
Does anyone know if it is possible to change the series in a chart by using cells rather than going to the chart format options?
In other words if I wanted a crossover, say 3 and 20, I could enter the numbers in 2 separate cells and have them relate to the chart format.
I hope this is making sense and appreciate if you read this.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I don't understand. Maybe you can post your data, and what your before and after images should look like?
 
Upvote 0
Hello, Thank you for your reply. I have attached the file and hope it explains better.
 

Attachments

  • Before and after.jpg
    Before and after.jpg
    102.7 KB · Views: 18
Upvote 0
I cannot read what you're attempting. There is no data as I asked (if there is, it is illegible). I still do not understand how you want to use the variable you discuss.
The images are way to small. Please post your data using xl2bb add in (link below) or post the data as a table so it can be copied and then pasted.

Please help the forum help you.
 
Upvote 0
Hi *Kauri. It seems like you are trying to chart different sections of your chart data. For a VBA solution see Jon Peltier's code at the following link. HTH. Dave
 
Upvote 0
Solution
Hello NdNoviceHlp and awoohaw,
Thank you very much.
Works perfectly, appreciate the help.
Happy coding ☺
 
Upvote 0
You are welcome. Thanks for posting your outcome. Thanks also to Jon Peltier for his time and excellent code at the link. Dave
 
Upvote 0

Forum statistics

Threads
1,223,098
Messages
6,170,100
Members
452,301
Latest member
QualityAssurance

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