+ Reply to Thread
Results 1 to 4 of 4

Proper use of sumif()

Hybrid View

murrsumm Proper use of sumif() 09-13-2017, 07:00 PM
Norie Re: Proper use of sumif() 09-13-2017, 07:12 PM
MarvinP Re: Proper use of sumif() 09-13-2017, 07:19 PM
murrsumm Re: Proper use of sumif() 09-14-2017, 07:40 AM
  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    Lewes, Delaware
    MS-Off Ver
    2010
    Posts
    2

    Proper use of sumif()

    I want to sum data in a column of numbers by selecting only those data that correspond to a given month. My formula looks like this -

    =SUMIF($D$2:$D$50,isnumber,$E2:$E50)

    D2:D50 is the column containing a numeric value corresponding to the month a particular event of interest occurred. The cells in that column will contain either that numeric value or they will be blank.

    E2:E50 is the column of data from which I want to select for calculating the sum.

    Obviously, the "isnumber" is generating a #Name error. How to I correctly specify that criterion for this function?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: Proper use of sumif()

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED, scroll down and click Manage Attachments.
    If posting code please use code tags, see here.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,451

    Re: Proper use of sumif()

    Hi murrsumm and welcome to the forum,

    Something like this? Are all those numbers in column D greater than Zero?
    =SUMIF(D:D,">0",E:E)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    09-13-2017
    Location
    Lewes, Delaware
    MS-Off Ver
    2010
    Posts
    2

    Re: Proper use of sumif()

    I'll be darned! That worked. I would have never thought to encaps the criterion in quotes. Thank you!

+ 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] 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
  2. Proper syntax for SUMIF with wildcard
    By sweetcd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-27-2012, 06:39 PM
  3. I’m searching for the proper Sumif across multiple sheets formula,
    By moshef in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 11-06-2012, 01:29 PM
  4. Replies: 1
    Last Post: 12-20-2011, 03:27 AM
  5. Proper use of sumif
    By putnum in forum Excel General
    Replies: 2
    Last Post: 12-27-2009, 12:46 PM
  6. SumIf help-what the proper code
    By KenpoHai in forum Excel General
    Replies: 2
    Last Post: 10-19-2006, 05:01 PM
  7. Proper solution?:sumif
    By Nuno Jácome in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-24-2006, 11:55 AM

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