Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Greetings: I have template that can take 10 data points and then these data points are plotted. However, at times I may not have all the 10 data points, i.e. I may have 5 data points, but since the graph ranges through the 10 data points, zeros are plotted for the empty cells. Is there any way that I can automate the range of the graph so that it will only plot the cells with data and ignore the empty cells, especially if the empty cells are the last points in the data range. Your assistance in this respect will be very highly appreciated. Thanks and regards *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Mohammad,
Check out Jon's examples of using dynamic ranges. http://peltiertech.com/Excel/Charts/Dynamics.html Cheers Andy Mohammad Mian wrote: Greetings: I have template that can take 10 data points and then these data points are plotted. However, at times I may not have all the 10 data points, i.e. I may have 5 data points, but since the graph ranges through the 10 data points, zeros are plotted for the empty cells. Is there any way that I can automate the range of the graph so that it will only plot the cells with data and ignore the empty cells, especially if the empty cells are the last points in the data range. Your assistance in this respect will be very highly appreciated. Thanks and regards *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Andy, thank you for your prompt response. You are a life saver. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
use a defined name
Insert=Name=Define Name:= DataSource RefersTo: =Offset(Sheet1!$A$1,0,0,Count(Sheet1!$A$1:$A$10),2 ) then for the source of your graph put in =MyWorkbook.xls!DataSource -- Regards, Tom Ogilvy "Mohammad Mian" wrote in message ... Greetings: I have template that can take 10 data points and then these data points are plotted. However, at times I may not have all the 10 data points, i.e. I may have 5 data points, but since the graph ranges through the 10 data points, zeros are plotted for the empty cells. Is there any way that I can automate the range of the graph so that it will only plot the cells with data and ignore the empty cells, especially if the empty cells are the last points in the data range. Your assistance in this respect will be very highly appreciated. Thanks and regards *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thank you Tom, you are really a life saver. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating graphs from data in other files | Excel Discussion (Misc queries) | |||
Creating Multiple Graphs at a Time | Charts and Charting in Excel | |||
Creating Circles on Excel Graphs | Excel Worksheet Functions | |||
Creating two bar graphs | Charts and Charting in Excel | |||
Need Help creating multiple graphs through coding | Excel Programming |