+ Reply to Thread
Results 1 to 2 of 2

Sumif with selecting cells to the left of the active cell

  1. #1
    Registered User
    Join Date
    02-21-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    66

    Sumif with selecting cells to the left of the active cell

    Hi all,

    Been stuck on this for a while. I am trying to insert a Sumif formula in a cell that references a static row and condition (in this case row 5 and a condition in row 4), but am having trouble defining a dynamic range for the selection of the cells to the left of the active cell, as the columns will increase each month.

    This is what I've got from researching the internet and a lot of trial and error, but I always get a user defined error message whenever I run it?

    Please Login or Register  to view this content.
    Any help would be immense!

    Thanks,

    Mike

  2. #2
    Registered User
    Join Date
    02-21-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Sumif with selecting cells to the left of the active cell

    OK after much head scratching and trial and error I came up with a solution/work around.

    Please feel free to have a look and run of the attached code, best I could do with my limited abilities but works quite nicely for my needs.

    Any hints/improvements please feel free to let me know

    Cheers,

    Mike
    Attached Files Attached Files

+ 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] How to sum the cells left of the active cell
    By ahilty in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2013, 09:11 AM
  2. [SOLVED] Using code to select cells that are two cells to the left of the currently active cell
    By LaffyAffy13 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-25-2013, 01:56 PM
  3. [SOLVED] Selecting cells left and right of the active cell
    By phalcon45 in forum Excel General
    Replies: 3
    Last Post: 11-11-2012, 12:38 PM
  4. Selecting an empty cell underneath active cells
    By Frank54324 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2012, 11:54 AM
  5. selecting a cell certain amount of cells down from currently active cell
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2010, 01:22 PM

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