Forum Discussion
Excel syntax for summing up values that satify 2 conditions
- Oct 23, 2021
Afraid SUMIFS() doesn't work in such case, you can't use other functions within criteria. Alternatively you may add helper column to your data which returns TRUE or FALSE (or whatever your prefer) if base number is multiplier for values in another column or not. After that use that helper column in SUMIFS().
Thanks
For that I need to understand where is which column. If dates are in column A, next is B, when 1230 is in column C, not in column D. Perhaps you may provide sample file instead of copy/pasting info into the body of the post?
- SergeiBaklanOct 23, 2021Diamond Contributor
Elhilayla , you are welcome
- ElhilaylaOct 23, 2021Copper ContributorI truly appreciate
Thaks - SergeiBaklanOct 23, 2021Diamond Contributor
Afraid SUMIFS() doesn't work in such case, you can't use other functions within criteria. Alternatively you may add helper column to your data which returns TRUE or FALSE (or whatever your prefer) if base number is multiplier for values in another column or not. After that use that helper column in SUMIFS().
- ElhilaylaOct 23, 2021Copper ContributorThanks Sergei
That's awesome.
Would you kindly try to correct my formula, withs IFS syntax?
Thanks - SergeiBaklanOct 22, 2021Diamond Contributor
Actually it's the same, I only saved the file in Excel format to keep formulas and formatting, transformed source data to structured table (Ctrl+T) and use named parameters:
- ElhilaylaOct 22, 2021Copper ContributorBelow is the full file as you requested.
MOD is 110, as I mentioned earlier.