+ Reply to Thread
Results 1 to 12 of 12

Sumifs horizontal vertical

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    3

    Sumifs horizontal vertical

    Hi,

    Could anybody help me with creating a formula, i'm really stuck. Your help is much appreciated!

    I have criteria horizontal and vertical. e.g I need to know what the target is for Sales Rep B, customer GG in the month May.
    A
    Sales rep Customer Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    A BB 10 20 30 40 50 60 70 80 90 100 110 120
    A CC 10 20 30 40 50 60 70 80 90 100 110 120
    A DD 10 20 30 40 50 60 70 80 90 100 110 120
    A EE 10 20 30 40 50 60 70 80 90 100 110 120
    B FF 10 20 30 40 50 60 70 80 90 100 110 120
    B GG 10 20 30 40 50 60 70 80 90 100 110 120
    B HH 10 20 30 40 50 60 70 80 90 100 110 120
    B JJ 10 20 30 40 50 60 70 80 90 100 110 120
    C KK 10 20 30 40 50 60 70 80 90 100 110 120
    C LL 10 20 30 40 50 60 70 80 90 100 110 120
    C MM 10 20 30 40 50 60 70 80 90 100 110 120
    C NN 10 20 30 40 50 60 70 80 90 100 110 120


    Sales rep Customer Month Sum
    B GG May ?


    Thank you thank you!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sumifs horizontal vertical

    You have unique Customer and Months, so enough for
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    where B16 is a DataValidation List of Customer and C16 is DataValidation List of Months.

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Sumifs horizontal vertical

    See my attached sheet and let me know if this is what you are looking to do.

    Formula used is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It's an ARRAY formula, applied using CTRL + SHIFT + ENTER, instead of just ENTER.

    - Moo
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-26-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    3

    Re: Sumifs horizontal vertical

    Hi,

    Thanks for your quick response.


    I have attached the file because i'm not following what you are doing. could you put the formula in working E17?


    Thank you!
    Attached Files Attached Files

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sumifs horizontal vertical

    see attachment
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,296

    Re: Sumifs horizontal vertical

    Try it this way
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  7. #7
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Sumifs horizontal vertical

    Updated formula to use your cells:

    =INDEX(C2:N13,MATCH(1,(A2:A13=B17)*(B2:B13=C17),0),MATCH(D17,C1:N1,0))

    Again, it is ARRAY formula, you need to press CTRL + SHIFT + ENTER, instead of just ENTER

    - Moo

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sumifs horizontal vertical

    @ popipipo

    Do you think I need your example?

  9. #9
    Registered User
    Join Date
    01-26-2017
    Location
    amsterdam
    MS-Off Ver
    2016
    Posts
    3

    Re: Sumifs horizontal vertical

    Great!!!!!

    Thank you all so much.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sumifs horizontal vertical

    Glad to help

    If problem is resolved it's always a good practice to click on Add Reputation star to person(s) who helped you (anyone else can do it also) and mark thread as Solved. Thanks


    .Another example
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,296

    Re: Sumifs horizontal vertical

    sorry for the wrong name
    I did't scroll up all the way

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Sumifs horizontal vertical

    @popipipo
    No problem

    @ Play1234
    Thanks for the feedback

+ 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] SUMIFS(?) I need to sum data using both horizontal and vertical criteria
    By bighandsam in forum Excel General
    Replies: 22
    Last Post: 01-06-2017, 11:31 PM
  2. Sumifs for vertical & horizontal condition
    By rchure in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2016, 12:34 AM
  3. Replies: 5
    Last Post: 10-03-2016, 03:39 AM
  4. Replies: 3
    Last Post: 09-13-2016, 03:17 PM
  5. solved
    By ravidesai in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2016, 10:55 AM
  6. SUMIFS (vertical and horizontal with Date range)
    By akul.rkul in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2015, 01:09 AM
  7. Replies: 5
    Last Post: 06-06-2013, 05:12 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