+ Reply to Thread
Results 1 to 4 of 4

VBA for Variable Sum of different range sizes

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    Bath
    MS-Off Ver
    Office 365
    Posts
    7

    VBA for Variable Sum of different range sizes

    I have an issue trying to write any vba for the attached issue.

    In example, I want to find '"3MR" in Col A, then in column C sum the values of column B upwards, using the range until the next 3MR appears in col A.

    Sure it sounds more complicated than it is????Book1HELP.xlsx

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,895

    Re: VBA for Variable Sum of different range sizes

    in C2

    Please Login or Register  to view this content.
    Copy down
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    08-30-2013
    Location
    Bath
    MS-Off Ver
    Office 365
    Posts
    7

    Re: VBA for Variable Sum of different range sizes

    AMAZING, thanks!!!!!!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,895

    Re: VBA for Variable Sum of different range sizes

    You're welcome.

    Could you please mark the thread as SOLVED: see "Thread Tools" at top of the page (post).

+ 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. Formula to sum values in different range sizes
    By ferdo99 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-25-2022, 12:35 PM
  2. [SOLVED] SUMIFS with different range sizes
    By exeliscious in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2021, 06:26 AM
  3. [SOLVED] Deleting a specific grouping of cells with variable sizes
    By kinakin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-19-2019, 05:01 PM
  4. [SOLVED] SUMPRODUCT different range sizes
    By mourt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-05-2019, 12:27 PM
  5. Dynamic Range Sizes in Formulas
    By Speshul in forum Tips and Tutorials
    Replies: 5
    Last Post: 09-15-2014, 09:17 AM
  6. Formatting Data as Table in Macros (variable data sizes)
    By jwood1976 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2011, 06:40 AM
  7. Print variable page sizes
    By nsv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2006, 06:07 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