+ Reply to Thread
Results 1 to 3 of 3

Splitting a Sheet into many at a sum/value in a column

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Splitting a Sheet into many at a sum/value in a column

    Hi,

    I process large billing files and have a limitation of loading into our account systems with a value of $50k.

    With my sheet having a column total of $430k, I want to use a macro to split my sheet when a certain column sums $50l or less (as close to $50k as possible.)

    Does anyone have any info on how to do this?

    I currently use a VB Macro to split the sheet based on over 800 rows, but I then have to go through and manually edit it and moves rows when those 800 lines go over 50k.

    Example.xlsx

    I have attached a small sample of my Sheet.

    Thanks

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Splitting a Sheet into many at a sum/value in a column

    Try this, Add some data to the bottom of the sheet and see if it does what you are after?
    Attached Files Attached Files
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    11-21-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Smile Re: Splitting a Sheet into many at a sum/value in a column

    Thanks That sort of worked.

    the count/sum total went just over $50k, so might have t change that to $49 to allow some spill over to remain under $50k.

    Only thing was that is split the first lot, but nothing after.... my spreadsheets are over 5000 lines so I need to split all of those into seperate sheets with under $50k worth of values...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1