Results 1 to 10 of 10

Calculating "sumifs" from columns depandant on row/cell content

Threaded View

  1. #1
    Registered User
    Join Date
    02-17-2021
    Location
    Belgium
    MS-Off Ver
    Office 365
    Posts
    3

    Calculating "sumifs" from columns depandant on row/cell content

    Dear All,

    Thanks for having me on the forum. I have some experience in Excel, but insufficient to automate the following:

    Image 1.PNG

    On the right you can see a table on which there are sales figures for some production models per month. There are several processes (in the example in total 3 processes) on which we sort them into a specific group:
    Example: Model 1 is in the group "All" for proces 1, in "Group 1" for proces 2 and in "Test 1" for proces 3.

    I'd like to become the table on the left in an automated way: The sum of all models, per month, for all groups for proces 1, all groups for proces 2 & all groups for proces 3.
    To become the desired table in the example shown I just used: "=SUMIFS(S$4:S$25;$P$4:$P$25;$F6)" for the first cell [G6]. For cell H6 - J6 I could simply drag to the right --> no issues.
    For the cells below though I manually have to select the correct "Criteria_Range". For process 1 I have to select column P, for Process 2 column Q and for process 3 Column R.

    This isn't an issue for such a small table, but this is only an example. I have to process this information for a much higher number of processes.

    I have tried cell referencing based on a lookup, but this fails. A Pivot table isn't usefull as well in this case.

    Any suggestions on how to solve this in a semi-automated way? VBA proposals are also welcome.

    Thanks in advance!

    Kind regards,

    Stemargia
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Average Ifs - change criterion from "exact" cell content to "contains"
    By palmeirense_12 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2021, 09:22 PM
  2. [SOLVED] SUMIFS formula works if last arguement is "cell", but not "<=cell"
    By MTaylor.RAMS in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2019, 03:12 PM
  3. [SOLVED] Macro to extract cell content and "rejig" columns
    By SubwAy in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-29-2016, 01:26 AM
  4. [SOLVED] Calculating a percentage of "Y" and "N" in dynamic cell range
    By InkyDrinky in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-30-2016, 01:35 PM
  5. [SOLVED] Place "X" in a cell based on tonnes across columns "weeks"
    By Iain Clarendon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-01-2015, 09:27 AM
  6. Replies: 2
    Last Post: 03-08-2015, 09:31 AM
  7. Receiving "enable content" warning after executing "save as" code
    By phbryan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2014, 12:02 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