+ Reply to Thread
Results 1 to 4 of 4

Horizontal Sumif

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    155

    Horizontal Sumif

    I am trying to calculate Year to Date totals. I have provided an example of two people in lines 3 and 4. Adam's full year is from Month 1 to Month 12. Column C shows that he started in Month 1. Ben started in month 5 and therefore his full year is from month 5 to month 4 of the next year.

    Columns 9 and 10 are the year to date calculations. Column P9 and P10 is where I need a formula created that I can copy to the left and to the right. I need something dynamic so that if I have 100 people who all start in different months, I can calculate how many units each one produced within their specific year. Once the year ends for an individual the start of the next year will be month 1 for Adam and month 5 for Ben.
    Attached Files Attached Files

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Horizontal Sumif

    Hi,

    Click cell D8 and input this array formula :

    Please Login or Register  to view this content.
    and ended by hold and press Ctrl-Shift-Enter at once

    Then press Ctrl-C, block D9:AA10 and press Ctrl-V

    Now you may delete C8
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  3. #3
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Horizontal Sumif

    This looks great. Is it possible to add a criteria to look up the person's name. That way, if the Year to Date section is filtered, it will look up the person's name and the month started from the above table.

  4. #4
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Horizontal Sumif

    Quote Originally Posted by lorber123 View Post
    This looks great. Is it possible to add a criteria to look up the person's name. That way, if the Year to Date section is filtered, it will look up the person's name and the month started from the above table.
    You don't need to change the formulas at all, just add a table at B8:B10 and it's done.

+ 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] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  2. SUMIF with Horizontal sum range
    By mennojim in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-18-2013, 04:26 PM
  3. [SOLVED] Copying and pasting Horizontal Data to Horizontal cells
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 01:14 AM
  4. [SOLVED] SUMIF Year-To-Date and Horizontal Summing
    By ANS in forum Excel General
    Replies: 10
    Last Post: 10-02-2012, 03:45 AM
  5. Replies: 2
    Last Post: 03-11-2011, 09:02 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