Make chart ignore values that calculate to nothing or empty

JoeMajestee

New Member
Joined
Jul 15, 2009
Messages
49
I'm not sure about the vocabulary, so please let me know the right words.
I have a chart. I want it to display the entire fiscal year, APR to MAR. In the middle of the year, I want it to use the data so far, but keep the rest of the chart blank. If it's September and I haven't given it the rest of the year, I want the line to stop at August.

I dump a year's worth of data into the sheet and have an if function that says if data is not there, then cell = "". If I make a chart out of the data in the attached sheet, the line goes to zero for October and beyond. I don't want the zeros, I just want the line to stop. If I remove the formulae from C8:D13, I get what I want.

M - Incident Ticket Open Time - Monthly - FY24 - Copy.xlsm
ABCDEFG
1ObjectiveAvg Ticket Open Time# of ticketsData
2APR10.76500.7650
3MAY11.613636364441.61363644
4JUN11.204819277831.20481983
5JUL13.356164384733.35616473
6AUG11.485714286701.48571470
7SEP12.055555556182.05555618
8OCT1  
9NOV1  
10DEC1  
11JAN1  
12FEB1  
13MAR1  
14
Sheet2
Cell Formulas
RangeFormula
C2:D13C2=IF(F2="","",F2)
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
try changing your formula to:

Excel Formula:
=IF(F2="",NA(),F2)

Mr excel questions 60.xlsm
ABCDEFG
1ObjectiveAvg Ticket Open Time# of ticketsData
2APR10.760500.76050
3MAY11.614441.61444
4JUN11.205831.20583
5JUL13.356733.35673
6AUG11.486701.48670
7SEP12.056182.05618
8OCT1#N/A 
9NOV1#N/A 
10DEC1#N/A 
11JAN1#N/A 
12FEB1#N/A 
13MAR1#N/A 
JoeMajestee
Cell Formulas
RangeFormula
C2:C13C2=IF(F2="",NA(),F2)
D2:D13D2=IF(G2="","",G2)



1695070420963.png
 
Upvote 0
Solution

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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