+ Reply to Thread
Results 1 to 5 of 5

Simplifying a column of values

  1. #1
    Registered User
    Join Date
    12-28-2018
    Location
    Batley
    MS-Off Ver
    Office 365 Win 10
    Posts
    21

    Simplifying a column of values

    Wonder if someone could solve this? I have a two column of hundreds of mouse movements and I'd like to reduce the number of steps. Every three rows I need to sum those rows and display the results in the C and D columns. It shouldn't matter too much if the last three elements contain zeros. The attached file shows the general idea. I have no idea how to accomplish this and would appreciate any help, thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,604

    Re: Simplifying a column of values

    You can use this formula in cell C1:

    =SUM(INDEX(A:A,(ROWS($1:1)-1)*3+1):INDEX(A:A,ROWS($1:1)*3))

    Copy it into D1 (so that the range changes from A:A to B:B), then copy both formulae down as far as you need them.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-28-2018
    Location
    Batley
    MS-Off Ver
    Office 365 Win 10
    Posts
    21
    Thanks Pete
    Ill give that a try..
    Next challenge will be to make a VBA version so that I can adapt it to different drawings!

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,498

    Re: Simplifying a column of values

    A very simple, easy to understand and easy to change to suit your needs one.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-28-2018
    Location
    Batley
    MS-Off Ver
    Office 365 Win 10
    Posts
    21

    Re: Simplifying a column of values

    Thank you jolivanes. It works out of the bag, and I think I can guess how to modify the values. Thank you very much !!

+ 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. Simplifying Code
    By Johnny0811 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2017, 08:27 AM
  2. Simplifying the code
    By cretzull in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-20-2016, 03:54 AM
  3. Transpose values in column to rows, and split cell values to extend column
    By SAMMM in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-03-2015, 12:52 AM
  4. [SOLVED] Need help simplifying a formula if it's possible
    By SallyBV in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-26-2014, 06:45 PM
  5. Replies: 2
    Last Post: 12-30-2013, 08:15 AM
  6. Simplifying IF functions
    By davidstrongarm in forum Excel General
    Replies: 2
    Last Post: 08-31-2010, 08:30 AM
  7. Replies: 1
    Last Post: 02-27-2006, 11:40 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