+ Reply to Thread
Results 1 to 3 of 3

Auto inserting extra row, while still totaling amount

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

    Auto inserting extra row, while still totaling amount

    Hi There,

    I work at a school canteen where the students constantly are filling out forms to owe us back, however many of them forget or choose not to pay them back.

    I am trying to create a spreadsheet with 4 columns.

    Column A - Student Name
    Column B - Date
    Column C - Amount the borrowed
    Column D - Total of all their individual IOU's (Some are repeat offenders)

    What I need to do under each students previous IOU, for Excel to insert a new row underneath (ready to enter their next offense) and for the total to keep adding up for every time a new row is added.

    Example.

    Student Name Date Amount Total

    Joe Bloggs 4/9/16 $5.20
    5/9/16 $3.00 $8.20

    Harrison Ford 7/9/16 $2.50 $2.50


    So, When Joe takes out another IOU on the 6th it would look like this. When adding the date into Joe's next cell an automatic row drops in and the total adds up also.


    Student Name Date Amount Total

    Joe Bloggs 4/9/16 $5.20
    5/9/16 $3.00
    6/9/16 $10.00 $18.20

    Harrison Ford 7/9/16 $2.50 $2.50

    Please assume that I know next to nothing about Excel so step by step instructions would be very helpful.

    Thank you in advance.

  2. #2
    Forum Contributor
    Join Date
    06-28-2016
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    308

    Re: Auto inserting extra row, while still totaling amount

    Hi, there are multiple ways you could approach this.

    First, you could use VBA to accomplish it in the way you are suggesting, to automatically add a row after each person's last offense. However, I do not suggest this route, macros are next to impossible for a new excel user to maintain.

    Next, you could have them fill out their offenses as they happen, in chronological order. Then, on a different sheet, you could have a unique list of all the offenders, and have their total amount there. You could also have the amount of times they've borrowed or any other relevant information following their name, if you desired.

    Another option, related to above would be to have a drop down menu with all the unique names (probably in alphabetical order) then when that name is selected, a table fills in with all their information. This solution could also be accomplished with a simple filter applied to your data, but the drop down option would look more professional.

    You could do the second and third options at the same time if desired also. Or stick to the VBA required method as you first described it.

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

    Re: Auto inserting extra row, while still totaling amount

    Thanks for your reply. I am more than happy to learn VBA if someone is willing to give me step by steps on how to get the results I'm after.

    Thanks, Trav

+ 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. totaling a persons eligible amount
    By TheVolkinator in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2016, 06:56 PM
  2. Replies: 0
    Last Post: 05-20-2014, 11:58 AM
  3. Replies: 5
    Last Post: 08-21-2013, 12:55 PM
  4. Count amount text appears with extra criteria
    By tinybear77 in forum Excel General
    Replies: 5
    Last Post: 02-10-2011, 07:54 AM
  5. Inserting extra code...
    By 5000XD in forum Excel General
    Replies: 4
    Last Post: 04-07-2009, 11:14 AM
  6. Totaling dollar amount by month
    By pentatonic145 in forum Excel General
    Replies: 4
    Last Post: 01-19-2008, 10:41 AM
  7. [SOLVED] Inserting extra info into a cell
    By Neil Greenough in forum Excel General
    Replies: 4
    Last Post: 08-05-2005, 08:05 AM

Tags for this Thread

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