Display Value of Data Set "A" When Data Set "B" Switches Negative to Postive and Vice Versa (Dual Y axis)

wwilki

New Member
Joined
Apr 16, 2011
Messages
1
I have a graph with two Y axis. The value of the primary Y axis is represented as a line and the value of the secondary Y axis is displayed as an area plot.

I am looking for a solution that will mark and display the value of the data set on the primary Y axis (Line) when the value on the secondary Y axis switches from Negative to Positive or Positive to Negative.

I do have a manual process right now that is very time consuming, I am looking to automate this. The manual process involves manually locating these points in the data set and drawing a dot on the line and creating a text box to display the value.

I apologize in advance -- I have a very limited programming background, I will require a fairly detailed explanation if the solution includes VBA coding.

Thank you very much for your help!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
How about having a dummy series that is either #N/A! or the value you want, showing data labels only, no marker or line?
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,319
Members
452,905
Latest member
deadwings

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