+ Reply to Thread
Results 1 to 4 of 4

Annual Sum with Criterial

  1. #1
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    117

    Annual Sum with Criterial

    Hi
    Please can you help me .
    My spreadsheet is like this (please see the attached) :

    1. Column A : Dates ( Every day's Date ) :
    2. Column B : Data numbers (daily value)
    3. Column C: Criterial
    4. Column G : Is where I want the formula to be: (sum annual according criterial (when it is TRUE only))

    The formula must look at column A and C and add up the corresponding data in column B and give me column G for example.

    So basically I need to get annual sum only when my Criterial is TRUE

    Thanks for your time and help.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Annual Sum with Criterial

    Try this formula in G3:

    =SUMIFS(B:B,C:C,TRUE,A:A,">="&DATE(F3,1,1),A:A,"<="&DATE(F3,12,31))

    then copy down as required.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    12-09-2022
    Location
    Australia
    MS-Off Ver
    365
    Posts
    117

    Re: Annual Sum with Criterial

    Many Thanks

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,426

    Re: Annual Sum with Criterial

    You're welcome - thanks for the rep.

    Pete

+ 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] Formula to Calculate Annual, Semi-Annual, and Quarterly Dates
    By jfcby in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-07-2022, 05:31 PM
  2. Replies: 23
    Last Post: 11-21-2018, 10:08 AM
  3. cell value as criterial
    By BramGrey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2017, 08:56 AM
  4. % Increase/decrease using annual compounded annual growth rate
    By maxhecht2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2016, 04:07 PM
  5. Replies: 1
    Last Post: 03-18-2015, 07:21 PM
  6. Replies: 1
    Last Post: 03-18-2015, 06:16 PM
  7. Replies: 3
    Last Post: 03-17-2015, 11:36 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