Consulting

Results 1 to 5 of 5

Thread: SUMIFS with Multiple criteria using Variables

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Mentor
    Joined
    Jan 2008
    Posts
    384
    Location

    SUMIFS with Multiple criteria using Variables

    Trying to create a VBA macro using SUMIFS with Multiple criteria:


    eg =SUMIFS(D21940,B2:B1940,"Framing",G2:G1940,"Labor" )
    Because this formula will be replicated in a large range;


    I want to replace "Framing" in the sample formula with Whatever value is in Column AA [ Offset(0, -1) ] as long as its NOT EMPTY/ IsBLANK
    AND
    I want to replace "Labor" with Whatever value is in Row 3 of that Column


    Then I will move on to Column AC and so on.


    See Attached Worksheet
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •