• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Making the criteria in a SUMIF function relative to the active cell

Kays23

New Member
=SUMIF($C:$C,$C$4,D:D)

The criteria in this formula always needs to reference the cell "ActiveCell.Offset(-1, -1)". Is there a way to do this through VBA?

SUMIF(C3,R4C3,C) This is what is looks like on VBA.


Thanks
 
Back
Top