+ Reply to Thread
Results 1 to 5 of 5

Sum if calculation

  1. #1
    Registered User
    Join Date
    05-01-2020
    Location
    Houston
    MS-Off Ver
    Office 2010
    Posts
    2

    Sum if calculation

    Hello,

    I am trying to sum the total amount values of row 19 (Total) that are past a certain month. What would I use if I want to sum totals for 5/1/2020 and beyond months? The issue I am having is the certain month is going to be variable so is going to vary. I attached a table for reference.
    Attached Files Attached Files
    Last edited by D.Lopez; 05-01-2020 at 07:46 AM.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Needing some help..

    You can use SUMIF and specify a date or a cell containing the date (or a date that is the result of a formula, etc.).
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Make sure your dates are being stored as dates, not text. For each of the date cells in row 2, I pressed F2 then Enter. I did the same for the row of totals.

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Needing some help..

    Please give your thread an appropriate title as per the rules

    for me the values in row 2 are text and not dates, this causes problems with the logic

    If you put the date of interest in a cell (which could have a dropdown for you to select months
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-01-2020
    Location
    Houston
    MS-Off Ver
    Office 2010
    Posts
    2

    Re: Sum if calculation

    =SUMIF(C2:N2,">="&B27,C24:N24) will work if the Total row stays on row 24. But how can I update the [Sum_Range] criteria if the Total row varies. (Ex: Total can be in row 23,24,25 etc). What function can I plug in the [Sum_Range] to help me solve this issue?

  5. #5
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,783

    Re: Sum if calculation

    C27=sumproduct((c2:n2>=b27)*(c6:n23))

+ 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. Needing Help with an Iferror
    By Telly533 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-25-2016, 09:53 AM
  2. Down Under and needing help
    By gra0001 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-24-2015, 04:50 AM
  3. newbie needing help
    By dougers1 in forum Excel General
    Replies: 1
    Last Post: 11-26-2013, 02:02 PM
  4. Needing help with IF, AND Function?
    By jbolinger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-01-2011, 11:52 AM
  5. needing an if and an and
    By badger111 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-05-2008, 07:11 PM
  6. [SOLVED] Needing Help Very Bad
    By Mike in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-19-2006, 02:25 AM
  7. Needing your help again.
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2005, 12:49 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