Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2012, 11:11 AM
Ady_E Ady_E is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Novice
Time & Date Formulas in Graphs
 
Join Date: Nov 2012
Posts: 4
Ady_E is on a distinguished road
Default Time & Date Formulas in Graphs

Hi all



Whenever I try to plot an XY Scatter Graph where the x-axis is Time related and the result of a formula the graph doesn't display correctly. Instead of using the time formatted field as specified, it just numbers the data points sequentially on the x-axis. When I hover the cursor over a data point, I see ' "12/11/12 06:00" (1,550) ' instead of ' "12/11/12 06:00" (12/11/12 06:00,550) '.

Investigation has resulted in the discovery that, if I cut the data and paste the values only and remove all as yet unused formulas from the rest of the data range, the graph displays correctly. This leads me to believe that the formulas are the problem. Most are 'lookup' formulas but have even tried simple copy data from another cell formulas (=b2) but if the original data is the result of a formula ('lookup'), the result is the same.

I wish to create dynamic graphs that change as new data is added and this problem is preventing this.

Any help anyone can give is appreciated.

Thanks
Reply With Quote
  #2  
Old 11-13-2012, 12:52 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi
perhaps post a small sample sheet of your data?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 11-13-2012, 01:48 PM
Ady_E Ady_E is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Novice
Time & Date Formulas in Graphs
 
Join Date: Nov 2012
Posts: 4
Ady_E is on a distinguished road
Default Attachments

Thanks for your response.

The first attachment shows the graph as it should look. This has been achieved by cutting and pasting to separate different types of data manually instead of using the formulas to do this.

The second attachment shows the data itself. ‘All Reading’ are separated into their different types (‘AM’,’ PM’, ‘Post Exercise’ and ‘Routine’ for both AM and PM reading). This is to enable further analysis of the different types of data independently.

The third shows a graph where the ‘Routine Readings’ data is not where it should be. Only one data point is present at the second ’00:00’ point as this signifies ‘1’ on the x-axis. It also shows (1,550) instead of (10:40,550) for a correctly placed data point.

Hope this helps.
Attached Images
File Type: jpg Excel 1 - good graph.jpg (37.7 KB, 11 views)
File Type: jpg Excel 2 - Data.jpg (59.6 KB, 10 views)
File Type: jpg Excel 4 - Bad Graph.jpg (36.8 KB, 9 views)
Reply With Quote
  #4  
Old 11-14-2012, 01:04 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please add a sheet not a picture - Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 11-14-2012, 08:46 AM
Ady_E Ady_E is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Novice
Time & Date Formulas in Graphs
 
Join Date: Nov 2012
Posts: 4
Ady_E is on a distinguished road
Default Sheet Attached

Hi Pecoflyer,

Sorry for the misunderstanding.

I've attached the workbook as there's nothing sensitive or personal about it.

The previously attached screen shots of the graphs might help as they show how the graph should look.

Thanks again

Ady

Oh, forgot to mention, this version was created and saved as an Office97-2003 .xls version as I tried re-creating it at work with their older version of Office instead of my 2007 .xlsx version but the result was the same. Thanks
Attached Files
File Type: xls Eades - Peak Flow Diary (with formulas).xls (149.5 KB, 10 views)
Reply With Quote
  #6  
Old 11-15-2012, 05:29 AM
Ady_E Ady_E is offline Time & Date Formulas in Graphs Windows 7 64bit Time & Date Formulas in Graphs Office 2010 64bit
Novice
Time & Date Formulas in Graphs
 
Join Date: Nov 2012
Posts: 4
Ady_E is on a distinguished road
Default Update

I have discovered that the problem is not with the lookup part of the formula itself, its a problem with the part of the formula that allow for the facility to only display data if it exits.

It doesn't like 'IF' no data exists, display "" (empty cell). If I repace it with 'IF no data exists, display 0, the data is displayed correctly on the graph.

This isn't ideal but it's progress!

I've attached a trail sheet to show what I'm talking about. Hope it helps!

Thanks
Attached Files
File Type: xls Book1.xls (30.5 KB, 8 views)
Reply With Quote
Reply

Tags
formulas, graphs, time



Similar Threads
Thread Thread Starter Forum Replies Last Post
Time & Date Formulas in Graphs Remove time portion in date angie.chang Excel 4 06-13-2012 09:45 AM
Shortcut for date/time insert normle Outlook 1 03-25-2012 09:30 PM
Time & Date Formulas in Graphs Shortcut for date/time insert normle Office 4 03-23-2012 05:15 AM
Using Date and Time (Timestamp) as a bullet m2oswald Word 1 02-07-2012 03:41 PM
Time & Date Formulas in Graphs Sent emails all have same date/time?? Confused Outlook 3 01-07-2011 07:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft