Mark Mazza
New Member
I am attempting to calculate MEDIAN when an item falls wthin a certain date range, the product is specific and the severity is specific. I have tried multipe MEDIAN formulas with no luck. I get NAME# for the following formula which I believe is due to the use of IFS but when I alter to 'IF' i get an edit 'YOU HAVE ENTERED TOO MANY ARGUMENTS FOR THIS FUNCTION'.
=MEDIAN(IFS('TTR Data'!$I:$I,'TTR Data'!$E:$E,">="&'Date Reference'!$C$3,'TTR Data'!$E:$E,"<="&'Date Reference'!$C$4,'TTR Data'!$N:$N,B5,'TTR Data'!$J:$J,$B$38))
NOTE: When I execute COUNTIFS and SUMIFS using the same formula and same reference data I get correct output (see below).
=COUNTIFS('TTR Data'!$E:$E,">=" & 'Date Reference'!$C$3,'TTR Data'!$E:$E,"<=" & 'Date Reference'!$C$4, 'TTR Data'!$N:$N,B5, 'TTR Data'!$J:$J,$B$38)
------above counts the # of SRS for the product closed in the month and at the specific severity and WORKS!!!!!---
=SUMIFS('TTR Data'!$I:$I,'TTR Data'!$E:$E,">="&'Date Reference'!$C$3,'TTR Data'!$E:$E,"<="&'Date Reference'!$C$4,'TTR Data'!$N:$N,B5,'TTR Data'!$J:$J,$B$38)
------above counts the houa to close all SRS for the product closed in the month and at the specific severity and WORKS!!!!!---
Sorry for long email but have been stuck for a day
Any help would be greatly appreciated
Mark
=MEDIAN(IFS('TTR Data'!$I:$I,'TTR Data'!$E:$E,">="&'Date Reference'!$C$3,'TTR Data'!$E:$E,"<="&'Date Reference'!$C$4,'TTR Data'!$N:$N,B5,'TTR Data'!$J:$J,$B$38))
NOTE: When I execute COUNTIFS and SUMIFS using the same formula and same reference data I get correct output (see below).
=COUNTIFS('TTR Data'!$E:$E,">=" & 'Date Reference'!$C$3,'TTR Data'!$E:$E,"<=" & 'Date Reference'!$C$4, 'TTR Data'!$N:$N,B5, 'TTR Data'!$J:$J,$B$38)
------above counts the # of SRS for the product closed in the month and at the specific severity and WORKS!!!!!---
=SUMIFS('TTR Data'!$I:$I,'TTR Data'!$E:$E,">="&'Date Reference'!$C$3,'TTR Data'!$E:$E,"<="&'Date Reference'!$C$4,'TTR Data'!$N:$N,B5,'TTR Data'!$J:$J,$B$38)
------above counts the houa to close all SRS for the product closed in the month and at the specific severity and WORKS!!!!!---
Sorry for long email but have been stuck for a day
Any help would be greatly appreciated
Mark