+ Reply to Thread
Results 1 to 4 of 4

Adding a subtotal to diffrent lenghts

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Adding a subtotal to diffrent lenghts

    Hi,

    I have thousands of lines of data and want to add subtotals, but the data length varies?

    See attached

    Any help greatly appreciated

    Kevin
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Adding a subtotal to diffrent lenghts

    Hi,

    Here's a simple way. In H3 enter
    =IF($A3="Employee:",SUM(D$3:D3)-SUM(H$2:H2),"")
    and copy across three columns and then fill down.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Adding a subtotal to diffrent lenghts

    Thanks Don
    Works great
    Kevin

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Adding a subtotal to diffrent lenghts

    You're welcome. Thanks for the rep.

+ 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. [SOLVED] Remove prefix of varying lenghts
    By jimbokeep in forum Excel General
    Replies: 6
    Last Post: 01-16-2017, 09:57 AM
  2. Adding Cells With Diffrent Cell Properties
    By rahul_ferns76 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2016, 10:56 AM
  3. Adding diffrent values in a column
    By JonniBravo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2016, 08:01 AM
  4. Transpose data of different lenghts
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-20-2014, 04:32 AM
  5. VLookup into diffrent worksheets in a diffrent workbook
    By joffy1979 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-26-2013, 11:35 AM
  6. Adding totals from selected colums on diffrent sheets
    By mikejs2098 in forum Excel General
    Replies: 11
    Last Post: 10-10-2011, 02:52 AM
  7. Word lenghts and more. Need help!
    By henrybarnett in forum Excel General
    Replies: 2
    Last Post: 06-23-2011, 05:20 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