Trendline Help

nhbartos

Board Regular
Joined
May 23, 2015
Messages
148
Hi folks,

I have a graph that charts percentages by month, Jan - Dec and have a trendline.

Now, I am only several months into my year, so I have data in Jan, feb, mar, and apr, and zeros for the remaining months.
The formula used for this percentage delivers a zero for the months where data has not yet been entered. So, after April, the trendline drops to zero. Normal, I think. But, I want it to ignore the zeros, and only continue as data is entered for the remaining months. I also want to keep the all the months on the graph.

Possible?

I have excel 2016, and it has a custom trendline option, but cannot find any info on how to use it.
Should this be resolved in the percentage formula?

I am simply using =B2/A2 to get the percentage for two data points in about 100 rows of data.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
if you model your zeros as N/A they shouldn't map in charts
 
Upvote 0
The cells are calculating a percentage, and I have this in there now: =IF(OR(ISBLANK(R7),ISBLANK(S7)), "", R7-S7)
So, I have it bringing back a blank, but I have the same issue.

Is there a way to modify the formula above to still calculate the percentage, but show an N/A when there are now values to calculate?
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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