+ Reply to Thread
Results 1 to 5 of 5

Need VBA code to SumIf criteria is met in another column

Hybrid View

  1. #1
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Need VBA code to SumIf criteria is met in another column

    Hi,

    Try change this line:

    Range("V2") = Application.WorksheetFunction.SumIf(Range("N2:N" & ReqAmt), "Closed","O2
    to

    Range("V2") = Application.WorksheetFunction.SumIf(Range("A2:A" & ReqAmt),"Closed",Range("B2:B" & ReqAmt))
    abousetta
    Last edited by abousetta; 12-07-2011 at 10:12 AM.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Need VBA code to SumIf criteria is met in another column

    Sorry @TMShucks, I didn't see your post until after I posted. Would you like to delete my post?

    abousetta

+ Reply to Thread

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