+ Reply to Thread
Results 1 to 6 of 6

Sumif Function showing a 'Zero" value everytime

  1. #1
    Registered User
    Join Date
    11-20-2021
    Location
    Islamabad,Pakistan
    MS-Off Ver
    MS Office 2019
    Posts
    6

    Post Sumif Function showing a 'Zero" value everytime

    Hi,

    I am having a problem in calculating the revenue between two month ranges from a drop down list. I am getting a value as 'Zero' for every selection.
    I am attaching a sample excel file here.

    Any kind of help to resolve this issue is highly appreciated.
    Attached Files Attached Files

  2. #2
    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: Sumif Function showing a 'Zero" value everytime

    All of your months are text strings. You can't do date comparisons by using strings.

    I have converted your data to true dates and now it works.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    11-20-2021
    Location
    Islamabad,Pakistan
    MS-Off Ver
    MS Office 2019
    Posts
    6

    Smile Re: Sumif Function showing a 'Zero" value everytime

    Thank you Jeff. I corrected the format of these text strings to dates in my actual file and it works!

  4. #4
    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: Sumif Function showing a 'Zero" value everytime

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved. Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

    If a member helped you solve your problem, consider adding to their reputation by clicking on the star icon addreputationiconsmall.jpg below their name.

  5. #5
    Registered User
    Join Date
    11-20-2021
    Location
    Islamabad,Pakistan
    MS-Off Ver
    MS Office 2019
    Posts
    6

    Re: Sumif Function showing a 'Zero" value everytime

    Hi, as this was my first time posting a question in this forum so didn't know the rules.
    Thanks for guiding me.

  6. #6
    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: Sumif Function showing a 'Zero" value everytime

    A good practice when joining any online discussion board is to read its rules before you post anything. Marking SOLVED is not a rule, but we do ask people to do it as a courtesy to others.

    Please take the time to review our rules. There aren't many, and they are all important.

+ 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] Transpose from rows to column for everytime the "!" is encountered
    By joycesolomon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2020, 08:58 AM
  2. Adding new rows using VBA everytime there is an "Error"
    By Azhar1997 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2019, 05:32 AM
  3. [SOLVED] Add -4,80 everytime "Yes" appears in a range of cells
    By JRidge in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2013, 03:50 PM
  4. [SOLVED] Copy sent to "History Sheet" everytime the Active X button is pressed.
    By Spreadlover in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-26-2013, 08:40 PM
  5. "COUNTA" function keeps showing minimum value 1.
    By zerobarat1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2013, 06:04 AM
  6. SUMIF function in "Price quote with tax calculation" templae
    By Peter in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-03-2005, 03:05 PM
  7. Replies: 2
    Last Post: 01-11-2005, 07:06 PM

Tags for this Thread

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