+ Reply to Thread
Results 1 to 6 of 6

How to split a record

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    Melbourne, Oz
    MS-Off Ver
    Excel 2007
    Posts
    80

    How to split a record

    I have a spreadsheet with two worksheets.
    One is list of dates when the rate change
    The second shows the calculations.

    Row 3 is not correct.
    Rows 7,8 and 9 are correct.
    How do I split the rows. For example I input 01FEB15 in B7 and 21DEC15 in D7, I want the record to split up.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: How to split a record

    Do you need it splitted automatically? or just calculated?
    If you need it splitted then probably macro shall be used for that if just calculated - formulas would be enough (but will not too be easy). Let's focus on nformulas and let's assume in bolumn C in your first sheet there are Rates for given periods.

    so in H3 (and copy it dow to rows 7:9) there will be formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In J3 (of course copy down too easier one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    L3 also easy:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but here we need real number. So the real one will be much more complicated and it will be an array formula*
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    as you see the first part is the same, we only inserted long sum instead of text "multiple"

    Check it out in the attachment

    *...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    04-27-2012
    Location
    Melbourne, Oz
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: How to split a record

    Thanks Kaper...I want to split it automatically when the ToDate is input.

    Regards

    Raghu
    Attached Files Attached Files
    Last edited by raghuprabhu; 10-28-2015 at 01:11 AM.

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: How to split a record

    Check attached
    Cells are color-coded:
    Yellow - cells for input (dates) blue (single cell formula). Darker green: formula copied down to light green.
    Two styles (two workbooks)
    1st with totals immediately under calculations (more sophisticated formulas)
    2nd with totals in a row where input goes
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-27-2012
    Location
    Melbourne, Oz
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: How to split a record

    Kaper, Thank you very much for your effort...I am trying to do it in Access 2003.

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: How to split a record

    As for Access I'd suggest starting thread on appropriate forum: http://www.excelforum.com/access-tables-and-databases/
    If excel part is finished, would be lovely if you mark thread Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sports Record Keeping Project: Turning weekly scores into full record sheets
    By oneidasfinest1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2015, 09:26 PM
  2. one record split into 3 rows --> Need the 3 rows rolled up into one record
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2013, 04:26 PM
  3. Replies: 4
    Last Post: 12-17-2012, 10:14 AM
  4. Replies: 1
    Last Post: 11-16-2012, 09:25 AM
  5. Using Stopwatch to Record Split Times Question
    By jtrue in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-22-2012, 02:03 AM
  6. Command Buttons for Viewing Record, Next Record and Previous Record
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2012, 06:30 AM
  7. Replies: 1
    Last Post: 01-17-2012, 10:47 AM

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