Sumifs/MAX formula Fix

Sparda142

Board Regular
Joined
Dec 19, 2018
Messages
52
Hello,

In the following example below I am trying to use a SUMIFS/MAX formula to get the total sum of a event minus the allowed amount of time for a event. When i try to use the formula below i get a sum of 0:00:00 instead of the actual value. Should i use a different formula completely or does the formula below just need a few tweaks

=SUMIFS($M$12:$M$300,$J$10:$J$300,B$12,$A$13:$A$85,A13)*MAX(0,C$2-B13)

xSmKKZ8
https://ibb.co/xSmKKZ8
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hello,

In the following example below I am trying to use a SUMIFS/MAX formula to get the total sum of a event minus the allowed amount of time for a event. When i try to use the formula below i get a sum of 0:00:00 instead of the actual value. Should i use a different formula completely or does the formula below just need a few tweaks

=SUMIFS($M$12:$M$300,$J$10:$J$300,B$12,$A$13:$A$85,A13)*MAX(0,C$2-B13)

xSmKKZ8
https://ibb.co/xSmKKZ8
Each criteria_range argument must contain the same number of rows and columns as the sum_range argument.
 
Upvote 0
Each criteria_range argument must contain the same number of rows and columns as the sum_range argument.

I've update the formula for my amateur mistake however i noticed that I'm still having a issue were the data provided for the person isn't the correct. The first representative sum totals for B1 shows as 0:00:00 however should be 0:00:01

Updated Formula: =SUMIFS($M$11:$M$300,$J$11:$J$300,B$10,$A$11:$A$300,A11)*MAX(0,C$2-B11)

Screenshot: https://ibb.co/TKkCLGh
TKkCLGh
 
Upvote 0
Your screenshot is not very useful for me. What do you get if you delete the *MAX(0,C$2-B11) term? From the image it looks like this might be creating a circular reference, or possibly this term evaluates to zero.
 
Upvote 0
I've attached the spread sheet i am working on and made some edits to try and make things simpler. After messing with the spread sheet i believe I need to add Vlookup , Index and match to the formula. In the attached spread sheet i'm trying to say in B11 look up A11 and B10 index column J, match J11 to A11 and match B10 to the sum of B10 for A11 from the matching of J and K. Only Count the information for A11 up to the next blank space in Column K




https://www.mediafire.com/file/0hyfa8x59ehtooy/add_sum_temp_test.xlsx/file
 
Upvote 0
Sorry, I don't download files from the web. Maybe someone else can help you.
 
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,135
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top