+ Reply to Thread
Results 1 to 7 of 7

how to sum row if = current year

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    how to sum row if = current year

    I am trying to sum the totals in row 73. I only want it to sum the cells that that the current year in the corresponding cell in row 75


    4-8-2016 3-31-22 PM.jpg

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: how to sum row if = current year

    =SUM(IF(YEAR(B75:Z75) =2016), B73:Z73, 0))
    It's an array formula, confirm with CTRL+SHIFT+ENTER not just ENTER key.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: how to sum row if = current year

    Try this...

    =SUMPRODUCT(--(YEAR(C75:J75)=YEAR(NOW())),C73:J73)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: how to sum row if = current year

    error messages with both

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: how to sum row if = current year

    What's the message?

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: how to sum row if = current year

    If the formula returns a #VALUE! error that means your dates, or some of them, are not true dates. They're TEXT strings that look like dates.

  7. #7
    Registered User
    Join Date
    03-20-2015
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2007
    Posts
    25

    Talking Re: how to sum row if = current year

    SUMIFS can do that.

+ 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] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  2. Replies: 2
    Last Post: 03-14-2014, 08:47 PM
  3. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  4. [SOLVED] Keeping a date as current year, even though formula determines previous year
    By dropanddrive03 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2013, 08:31 PM
  5. [SOLVED] Comparing a year value OR a specific word to the current year.
    By dtrimble in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-13-2012, 05:57 PM
  6. Replies: 4
    Last Post: 07-16-2012, 07:02 AM
  7. [SOLVED] Auto insert current month's name and current year
    By Webtekr in forum Word Formatting & General
    Replies: 0
    Last Post: 03-03-2009, 05:20 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