LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing format of data


One of the files i frequently receive has to be modified in a slightly
different format. I recorded a macro for that and when i get another
similar file with the same number of rows (or records) there is no
problem in changing the data into the desired format. The problem arise
when the numbers of rows are different (and this is true in most cases).
Executing the macro will end in a mess of data. Can someone help me in
writing a macro that is valid no matter how many rows are included?

I attached an example file for this problem. The first table has to be
modified into the second one. My macro is helpful only in cases of 5
products, but i am looking for a macro that is valid for all cases (3,
5, 7, etc. records).
The number of months remains always the same.


+-------------------------------------------------------------------+
|Filename: Change.doc |
|Download: http://www.excelforum.com/attachment.php?postid=4972 |
+-------------------------------------------------------------------+

--
keesberbee
------------------------------------------------------------------------
keesberbee's Profile: http://www.excelforum.com/member.php...o&userid=35899
View this thread: http://www.excelforum.com/showthread...hreadid=557789

 
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
Changing the format of data in a cell dmdhca New Users to Excel 3 January 1st 09 06:51 AM
How do you keep the data table format from changing diehard22 Charts and Charting in Excel 0 August 11th 06 04:02 PM
Format several pages at once w/o data changing (Excel). Marie D Excel Discussion (Misc queries) 4 September 20th 05 09:48 PM
Changing data format frustratedwthis Excel Discussion (Misc queries) 1 May 11th 05 06:57 PM
Changing the format of a block of data Greg Excel Discussion (Misc queries) 0 January 23rd 05 02:30 AM


All times are GMT +1. The time now is 12:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"