Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 23
Default Charting Selective Data

I am trying to create a chart of monthly percent gain across a given
year, and I have separated the data into two rows:

Jan Feb Mar Apr ........... Dec
#N/A #N/A 5% 12% .......... 0%

The #N/A signifies that there is no data for the given months, and the
0% signifies that the month is not completed. They are a result of the
formula being used to grab the data.

I'm not sure of what method is the best, but I simply want a chart
that only displays the months that contain a percent value (other than
0%). Any help would be greatly appreciated with this problem.

Thank you.
-bgetson

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,069
Default Charting Selective Data

Why don't you create the chart with the data you have and then when there is
a new month to add simply highlight that data and either click and drag it
onto the chart or use copy and paste special to add the data
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


" wrote:

I am trying to create a chart of monthly percent gain across a given
year, and I have separated the data into two rows:

Jan Feb Mar Apr ........... Dec
#N/A #N/A 5% 12% .......... 0%

The #N/A signifies that there is no data for the given months, and the
0% signifies that the month is not completed. They are a result of the
formula being used to grab the data.

I'm not sure of what method is the best, but I simply want a chart
that only displays the months that contain a percent value (other than
0%). Any help would be greatly appreciated with this problem.

Thank you.
-bgetson


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Charting Selective Data

So he has to continually update the chart? Better to make a dynamic chart:

http://peltiertech.com/Excel/Charts/Dynamics.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"john" wrote in message
...
Why don't you create the chart with the data you have and then when there
is
a new month to add simply highlight that data and either click and drag it
onto the chart or use copy and paste special to add the data
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


" wrote:

I am trying to create a chart of monthly percent gain across a given
year, and I have separated the data into two rows:

Jan Feb Mar Apr ........... Dec
#N/A #N/A 5% 12% .......... 0%

The #N/A signifies that there is no data for the given months, and the
0% signifies that the month is not completed. They are a result of the
formula being used to grab the data.

I'm not sure of what method is the best, but I simply want a chart
that only displays the months that contain a percent value (other than
0%). Any help would be greatly appreciated with this problem.

Thank you.
-bgetson




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Charting Selective Data

Change the formula so instead of returning 0 for an unfinished month, it
returns NA(), which looks like your #N/A in the first couple cells.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


wrote in message
ups.com...
I am trying to create a chart of monthly percent gain across a given
year, and I have separated the data into two rows:

Jan Feb Mar Apr ........... Dec
#N/A #N/A 5% 12% .......... 0%

The #N/A signifies that there is no data for the given months, and the
0% signifies that the month is not completed. They are a result of the
formula being used to grab the data.

I'm not sure of what method is the best, but I simply want a chart
that only displays the months that contain a percent value (other than
0%). Any help would be greatly appreciated with this problem.

Thank you.
-bgetson



  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 23
Default Charting Selective Data

Thank you for your help, and sorry for my delay.

Jon, you're right, I want to create a dynamic chart. I've had some
success with that in the past; however, I can't figure out how to get
that to work with this problem.

The formulas themselves are dynamic - they constantly update
themselves for each year and month, but I don't know how to make my
chart dynamic as well. Whenever I try, I usually end up graphing the
#N/A data, which gives me blank values on my chart.

Can you give me some more directed help so that I no longer grab the
#N/A data to chart? I want my x-axis to only include months with real
data.

Thank you again.
-bgetson



  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Charting Selective Data

Are the #N/A values all at the end of the range? If so, using the COUNT
function should let you size the range to include only the numbers. Suppose
the data in A1:B7 looks like this:

X Y
1 1
2 3
3 5
4 7
5 #N/A
6 #N/A

Define a name 'Yvalues' that refers to:
=OFFSET(B1,1,0,COUNT(B:B),1)

and a range 'Xvalues' that refers to:
=OFFSET(Yvalues,0,-1)

Set up the chart to use Sheet1!Xvalues and Sheet1!Yvalues, or edit the
series formula to read:

=SERIES(Sheet1!$B$1,Sheet1!Xvalues,Sheet1!Yvalues, 1)

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


wrote in message
oups.com...
Thank you for your help, and sorry for my delay.

Jon, you're right, I want to create a dynamic chart. I've had some
success with that in the past; however, I can't figure out how to get
that to work with this problem.

The formulas themselves are dynamic - they constantly update
themselves for each year and month, but I don't know how to make my
chart dynamic as well. Whenever I try, I usually end up graphing the
#N/A data, which gives me blank values on my chart.

Can you give me some more directed help so that I no longer grab the
#N/A data to chart? I want my x-axis to only include months with real
data.

Thank you again.
-bgetson



  #7   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 23
Default Charting Selective Data

Thank you - this looks like exactly the help that I needed. In the
beginning, I think that I was just trying to do too much in one step.
Breaking it up until I got to this point helped me to better
understand what I needed to accomplish.

I can easily implement what you mentioned. You were a lot of help in
solving this simple problem which has been plaguing me for so long.

Thank you.
-bgetson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel External Data Selective Import. Nitrox50 Excel Discussion (Misc queries) 0 January 20th 07 09:49 AM
Selective extraction of data eddy56 Excel Discussion (Misc queries) 4 August 2nd 06 09:44 PM
Including data in data table but not charting as a series or point pepper76 Charts and Charting in Excel 4 August 2nd 06 03:20 AM
Need help merging selective data JM Excel Discussion (Misc queries) 1 January 5th 06 06:20 PM
how can I calculate VAT for selective data in the same column of a Pathma Excel Worksheet Functions 2 November 22nd 05 04:33 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"