+ Reply to Thread
Results 1 to 8 of 8

Excel sumif with VBA

  1. #1
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Azerbaijan
    MS-Off Ver
    Excel 2016
    Posts
    145

    Excel sumif with VBA

    Hey community,

    I try to calculate if E:E is not listed on AP:AP list are numbers, what am i doing wrong?

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 12-14-2018 at 04:26 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Excel sumif

    You refer to a Named Range List1 in VBA as Range("List1").

    You probably also need to use Application.WorksheetFunction.SumIf(...)
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Azerbaijan
    MS-Off Ver
    Excel 2016
    Posts
    145

    Re: Excel sumif

    I don't understand code works good i only added *(list3<>list4) i need to sum if list3 is not on list4

  4. #4
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Azerbaijan
    MS-Off Ver
    Excel 2016
    Posts
    145

    Re: Excel sumif

    Any help please?

  5. #5
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Azerbaijan
    MS-Off Ver
    Excel 2016
    Posts
    145

    Re: Excel sumif

    Any help please?

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Excel sumif

    Administrative Note:
    HTH
    Regards, Jeff

  7. #7
    Forum Contributor
    Join Date
    06-30-2018
    Location
    Azerbaijan
    MS-Off Ver
    Excel 2016
    Posts
    145

    Re: Excel sumif

    please close or delete this post

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Excel sumif

    Quote Originally Posted by Akbarov View Post
    please close or delete this post
    When you create a duplicate post we keep the first post and close the duplicate. That is what I have done here. Other posts are available at the later duplicate.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] Sumif - Trying to figure out how to tell a sumif to look for multiple naming conventions
    By Typirious in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2017, 02:11 AM
  2. [SOLVED] SUMIF: don't understand that purpose of the OFFSET inside SUMIF
    By Vitalite in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-30-2017, 03:13 AM
  3. Replies: 2
    Last Post: 06-21-2017, 06:32 PM
  4. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  5. SUMIF Results - Excel 2010 vs Excel 2013
    By ceagle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2013, 04:25 PM
  6. Sumif using excel vba
    By kate.middleton1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2012, 04:13 AM
  7. Excel bug ? for SUMIF
    By goyal1109 in forum Excel General
    Replies: 21
    Last Post: 12-15-2008, 04:56 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