+ Reply to Thread
Results 1 to 5 of 5

sum array depending on vertical & horizontal references

Hybrid View

razvoon sum array depending on... 10-21-2015, 03:59 AM
seawcbee Re: sum array depending on... 10-21-2015, 04:24 AM
seawcbee Re: sum array depending on... 10-21-2015, 04:34 AM
razvoon Re: sum array depending on... 10-26-2015, 11:38 AM
oeldere Re: sum array depending on... 10-26-2015, 11:50 AM
  1. #1
    Registered User
    Join Date
    10-21-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    6

    sum array depending on vertical & horizontal references

    Hey guys,

    I have a big issue I need to do a sum of an array based on 3 horizontal references (Year, Month, Week) and 1 vertical references (a financial line such as Sales or Profit).
    Basically I want to do the sum of Sales for a week by summing up Sales on Monday + Sales on Tuesday +...+ Sales on Sunday. And to do that due to the special arrangement of the table I have to input the Year, the Month and the Week number and the financial item(in this case Sales). I need to do this with formulas since it needs to be dynamic. I know it's easier to do it with pivot table but i cannot. have a look at the image and at the attachment

    Excel Capture.PNG
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-19-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    23

    Re: sum array depending on vertical & horizontal references

    Hey Razvoon,

    Try a sumif: =SUMIF($C$2:$C$22,"="&J2,$E$2:$E$22)

    Where J2 is the week you require the number for.

    see attached for example.
    Attached Files Attached Files
    Last edited by seawcbee; 10-21-2015 at 04:31 AM.

  3. #3
    Registered User
    Join Date
    10-19-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    23

    Re: sum array depending on vertical & horizontal references

    Or alternatively, if you want to look at multiple years then use a sumifs

    Formula: copy to clipboard
    =SUMIFS($E$2:$E$22,$C$2:$C$22,"="&J2,A2:A22,"="&I2)


    Where J2 is the week you want a result for and I2 is the Year. (Month not needed)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-21-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2010
    Posts
    6

    Re: sum array depending on vertical & horizontal references

    Hey guys,

    Thanks for the tip. I solved my issue with SUMIFS. many, many thanks

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: sum array depending on vertical & horizontal references

    How about a pivot table?

    See the attached file.

    There are more options to analyse the data (e.g. month or day).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ 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. Replies: 21
    Last Post: 06-06-2015, 02:24 PM
  2. Replies: 0
    Last Post: 03-24-2014, 07:31 AM
  3. [SOLVED] array formula for vertical and horizontal data
    By freud1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2013, 09:23 PM
  4. [SOLVED] Vertical to Horizontal References
    By beachieb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-05-2012, 03:33 PM
  5. vertical to horizontal
    By giant in forum Excel General
    Replies: 4
    Last Post: 08-14-2010, 09:06 PM
  6. Changing Horizontal to vertical references
    By Seriously in forum Excel General
    Replies: 5
    Last Post: 07-21-2010, 01:24 PM
  7. [SOLVED] [SOLVED] How do I paste horizontal references in large array
    By Dave Kaleel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2006, 11:55 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