Originally Posted by Bunty2013
Table Name Jan-13 Feb-13 Mar-13---Nov-13 Dec-13
user_ 10MB 12MB 14 MB 15 MB 16.5 MB
Table Name 13-Jan 13-Feb 13-Mar ----13-Nov 13-Dec YTD
user_ 10MB 12MB(20%) 14 MB(20%) 15 MB 16.5MB(10%) 65%
Your input and output examples are inconsistent: Some entries have the amount and MB connected, some don't. If the input actually looks like that should the output copy that behaviour (last field in your example doesn't).
Please post relevant(!!) input and output examples and please put them between [code] ... [/code]
tags to preserve multiple spaces/tabs and layout.
Also a question: Will the input switch to KB/GB when the size changes below 1 MB or above 1024 MB?