Dec 05 2021 01:31 AM
hi,
i am working with this formula where C:C, A2 and S2 are dates:
=SUMAR.SI.CONJUNTO(Hoja1!$K:$K;Hoja1!$G:$G;P6;D:D;">1";C:C;"<"&Q2;C:C;"<"&S2)
i wonder if it is recommended to change the last 2 conditions for a "AND" formula to reduce the number commands.
If so, would it be so easy as:
replace
C:C;"<"&Q2;C:C;"<"&S2
with
C:C;AND("<"&Q2;"<"&S2)
Because it is not working with my excel 2016
Thank you, juan
Dec 05 2021 03:13 AM
You can replace
C:C;"<"&Q2;C:C;"<"&S2
with
C:C;"<"&MIN(Q2;S2)
By the way, shouldn't all columns referred to be on Hoja1 ?
Dec 05 2021 03:43 AM
Dec 05 2021 03:56 AM
Just in case, what's wrong with Excel 2016? SUMIFS() shall work in it.
Dec 05 2021 05:49 AM
SolutionIf the cell with the formula is on Hoja1, you can use
=SUMAR.SI.CONJUNTO($K:$K;$G:$G;P6;$D:$D;">1";$C:$C;">"&Q2;$C:$C;"<"&S2)
If the cell with the formula is on another sheet, use
=SUMAR.SI.CONJUNTO(Hoja1!$K:$K;Hoja1!$G:$G;P6;Hoja1!$D:$D;">1";Hoja1!$C:$C;">"&Q2;Hoja1!$C:$C;"<"&S2)
You'll have to keep on referring to column C twice; you cannot combine the two conditions in SUMAR.SI.CONJUNTO.
Dec 05 2021 05:49 AM
SolutionIf the cell with the formula is on Hoja1, you can use
=SUMAR.SI.CONJUNTO($K:$K;$G:$G;P6;$D:$D;">1";$C:$C;">"&Q2;$C:$C;"<"&S2)
If the cell with the formula is on another sheet, use
=SUMAR.SI.CONJUNTO(Hoja1!$K:$K;Hoja1!$G:$G;P6;Hoja1!$D:$D;">1";Hoja1!$C:$C;">"&Q2;Hoja1!$C:$C;"<"&S2)
You'll have to keep on referring to column C twice; you cannot combine the two conditions in SUMAR.SI.CONJUNTO.