Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Divide data into portions

Hi Everybody :-)

Is to count how many rows of data there is, if it can't be divided b
15 then it adds the additonal rows of data containg xx so that it ca
then be divied by 15. i.e if the total rows is 28 it adds to extra row
so that it can be divided by 15.

Then i need it to cut and patse data into a sepaarte file. i.e. th
total numbers of rows containing data is 30 so 15 goes into it twice
So the first two rows are saved into a file named 1.xls then the next
rows are saved into a file named 2.xls and so on until there is 1
files containing two rows of data.
This needs to work for any mulitple of 15 so if there was say 45 the
three rows would be copied into 1.xls then the next...

My math in vba is not to good

Regards
Pau

--
Message posted from http://www.ExcelForum.com

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
Conditional functions on portions of cell data sabow71 Excel Worksheet Functions 4 April 22nd 09 04:49 PM
Locking portions of a formula tiggatattoo Excel Worksheet Functions 2 June 5th 06 04:51 PM
Divide one row over other row I dont wont to divide one number Rick Excel Discussion (Misc queries) 0 March 4th 05 07:13 PM
Copying portions of data Wendy Clarkson Excel Discussion (Misc queries) 2 January 14th 05 11:51 PM
how do you divide one row of data by another row and have the tot. joey Excel Worksheet Functions 2 December 1st 04 02:19 AM


All times are GMT +1. The time now is 11:00 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"