+ Reply to Thread
Results 1 to 3 of 3

Formula for sum of values which meet certain conditions

  1. #1
    Registered User
    Join Date
    08-05-2019
    Location
    Brisbane, Australia
    MS-Off Ver
    2019
    Posts
    1

    Formula for sum of values which meet certain conditions

    Any ideas on how to write a formula to find the following value:
    I have 3 columns:
    - A is a number value (from 0 to 100)
    - B is a text value (i.e. “sheep”)
    - C is a date
    I want to calculate the total sum of the values in Column A for rows that has a specific text value in column B (i.e "sheep") and are within a specific date range in column C (i.e. between 1st July 18 and 31st July 19). Is this possible?
    Last edited by PetaRu; 08-05-2019 at 11:40 PM. Reason: typo

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Formula for sum of values which meet certain conditions

    Look to use the =Sumifs function. Here is a link to help you.

    https://www.techonthenet.com/excel/formulas/sumifs.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula for sum of values which meet certain conditions

    Try this...
    =sumifs(A:A,B:B,"sheep",C:C,">=7/1/2019",C:C,"<=7/31/2019")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Show unique values from range that meet several conditions
    By Solvax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2019, 05:58 PM
  2. [SOLVED] How to count different values which also meet conditions
    By jaimegah in forum Excel General
    Replies: 5
    Last Post: 08-10-2017, 03:52 AM
  3. [SOLVED] Find all values which meet specific conditions
    By ProFromMars in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2017, 07:12 AM
  4. Count unique values across sheets in a workbook that meet certain conditions
    By libramom814 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-29-2016, 08:41 AM
  5. How to count unique values in two ranges that meet conditions
    By akbermo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-18-2015, 08:22 AM
  6. [SOLVED] Formula/Macro for adding values that meet certain conditions on another sheet
    By NIKNIKNIK in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 03-24-2015, 10:38 AM
  7. Replies: 1
    Last Post: 07-23-2011, 01:38 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