Results 1 to 4 of 4

User friendly summarising

Threaded View

murphybrendan User friendly summarising 08-12-2010, 05:53 AM
teylyn Re: User friendly summarising 08-12-2010, 06:08 AM
StephenR Re: User friendly summarising 08-12-2010, 06:19 AM
murphybrendan Re: User friendly summarising 08-12-2010, 06:54 AM
  1. #1
    Registered User
    Join Date
    10-13-2008
    Location
    Ireland
    Posts
    14

    User friendly summarising

    Hi Guys,

    I'd be a moderate user in the sense that I have written some VBA codes but I have a tendancy to copy and paste, editing to my needs. This one has me stumped though.

    I've an excel document attached. Basically theres an array of data (in the data tab - simplified here). On the summary tab the user can enter either of 2 inputs, each with a seperate macro.

    For input one the user enters a start row (X) and an end row (Y). The Macro then sums up the column to the right of this from rows X to Y-1, i.e. sum the number corresponding to row X down to the number correspoiding to the row above row Y and return the value.

    For input two its sort of the opposite. The user enters an end row (Y) and a number. The Macro then sums all numbers from row Y-1 backwards (i.e. Y-1, Y-2, Y-3 etc...) until it reaches a value greater than the inputted number, then returns the corresponding row number.

    Any help would be much appreciated. If I got the basic code for the example attached I can edit it and implement it to my data set.

    Thanks
    Brendan
    Attached Files Attached Files
    Last edited by murphybrendan; 08-12-2010 at 06:58 AM. Reason: Solved

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