5 posts, 4 contributors
Search the DAFNE Online Forums
David Rimmer
DAFNE Graduate
Diabetes Australia-Vic, Melbourne, Victoria 7 posts |
Hi, |
Phil Maskell
DAFNE Graduate
Nottingham University Hospitals NHS Trust 194 posts |
Doubt this is any easy fix in the export as I'm guessing due to the nature of corrections QA/BI/CP will just be text/String/VARCHAR in the system. |
marke
Site Administrator
South East Kent PCT 681 posts |
Hi, Phil is correct I'm not sure it would be simple to process the field as part of the export because of the 'free form' entry of the data. However as you say manipulation in excel is possible. One tip that will stop excel 'interpreting' the file is to rename it so it ends in '.txt' rather than '.csv', why ? well as Phil noticed excel tries to be clever because it thinks it understands csv files, if you rename the file as a txt file and then open it in excel you can then tell it to interpret the file data as csv, however it also allows you to define what is in each field i.e tell it the QA is a text field NOT a date field or a value field. Once you have the QA field as text there are a number of text manipulation functions that allow you to split the data assuming you have been consistent in using no spaces between the '-' and '+' or have always used spaces between them. I will have a think about the best formulas to use in excel and post them here if I can come up with something that works |
David Rimmer
DAFNE Graduate
Diabetes Australia-Vic, Melbourne, Victoria 7 posts |
This is not necessarily a hard fix. The current dafne stats and graphs must have these readings separated to do the calculations. |
Peter
DUAG Committee Member
University College London Hospitals (UCLH) 109 posts |
The following will handle the data returned in the csv file, with or without spaces around the + or - and return the total. You'll need to replace M7 with the cell containing the data which can be done by Replace function with "Look In" set to formula. There's probably a more concise way of doing this, but this does work. |