Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Bring fields from header to columns

On Jul 16, 5:18*pm, AG wrote:
Hi dk, Yes I get this data on an excel sheet.


I would suggest you following algo:

1. Get the last data cell in the worksheet.
2. Loop untill you reach the last data cell
3. Read each row and check if it has 'title' in there.
4. If yes read the title1 and title2 into two variables.
5. Write into the new sheet the titles and then the data record.
6. Repeat the step 5 untill you come across next title1 and title2.
7. Update the variables with new title1 and title2. Repeat steps 5 to
7.
8. At the end of this, you may delete the old worksheet.

Hope it helps
-DK

Reply
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
Formula to bring in the header peterh Excel Worksheet Functions 1 January 19th 10 05:31 AM
Drop down lists for columns? validation doesn't bring seem to do it Margaret Spain Excel Discussion (Misc queries) 1 October 5th 09 06:54 AM
how can I convert data with fields in rows to fields as columns PiyushAg Excel Discussion (Misc queries) 3 July 2nd 07 05:46 AM
Putting fields into a header pjahw Excel Discussion (Misc queries) 1 April 19th 06 11:14 PM
print many comments fields below header lines timrek4 Excel Discussion (Misc queries) 1 March 14th 06 02:59 PM


All times are GMT +1. The time now is 01:21 AM.

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

About Us

"It's about Microsoft Excel"