Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
snoach
 
Posts: n/a
Default Graph with variable data length


Hello all.

I have a a graph inside an Excel sheet.
The graph displays some columns that holds numbers.

There is another program (Matlab) that writes the numbers into these
columns.
I want the graph to show _all_of_the_range_of_the_columns_

The problem is that I can not predict the length of the data.
How can I configure the Excel graph to show the whole range of data?

(The Matlab can write somewhere (in some cell) the length of the data.
Can this help in some way?


--
snoach
------------------------------------------------------------------------
snoach's Profile: http://www.excelforum.com/member.php...o&userid=23795
View this thread: http://www.excelforum.com/showthread...hreadid=374485

  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


Let the matlab put data in your specified cells, lets say A1:B10. In
another column, say C1:D100, enter the formula
=IF(A1="",NA(),A1)
in C1 and copy down for the max number of rows you want to put as a
range for the graph. And in D1 similarly enter and copy down the
following formula:
=IF(B1="",NA(),D1)

Link the columns C and D to your graph.

When the columns A and B are blank, the corresponding rows in columns C
and D will have #N/A which is ignored by the graph.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=374485

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
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
GRAPH data labels gunga Excel Discussion (Misc queries) 4 May 13th 05 03:01 PM
How do I show data on side by side plots within the same graph ra. LAL Charts and Charting in Excel 1 April 10th 05 10:40 PM
Want to plot a graph using data from 2 different worksheets in sam cteq Charts and Charting in Excel 5 February 7th 05 10:55 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 04:48 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"