I'd like to add the following to this formula below.
=IFERROR(MODE(IF(PitcherName=IF($X$2="All",PitcherName,$X$2),IF(CatcherName=IF($X$3="All",CatcherName,$X$3),IF(Inning=IF($X$5="All",Inning,$X$5),IF(AllP=IF($X$4="ALL",AllP,$X$4),IF(HitterStance="R",IF(PitchStart=1,IF(ISNUMBER(PitchFinish),IF(PitchStart<>PitchFinish, PitchFinish))))))))),"-")
I need add to the formula so that will only search within the user driven Start and End Dates.
in other words, IF((GameDate>=StartDate)AND(GameDate<=EndDate) then =IFERROR(MODE(IF(PitcherName=IF($X$2="All",PitcherName,$X$2),IF(CatcherName=IF($X$3="All",CatcherName,$X$3),IF(Inning=IF($X$5="All",Inning,$X$5),IF(AllP=IF($X$4="ALL",AllP,$X$4),IF(HitterStance="R",IF(PitchStart=1,IF(ISNUMBER(PitchFinish),IF(PitchStart<>PitchFinish, PitchFinish))))))))),"-")
how can I combine these two?
=IFERROR(MODE(IF(PitcherName=IF($X$2="All",PitcherName,$X$2),IF(CatcherName=IF($X$3="All",CatcherName,$X$3),IF(Inning=IF($X$5="All",Inning,$X$5),IF(AllP=IF($X$4="ALL",AllP,$X$4),IF(HitterStance="R",IF(PitchStart=1,IF(ISNUMBER(PitchFinish),IF(PitchStart<>PitchFinish, PitchFinish))))))))),"-")
I need add to the formula so that will only search within the user driven Start and End Dates.
in other words, IF((GameDate>=StartDate)AND(GameDate<=EndDate) then =IFERROR(MODE(IF(PitcherName=IF($X$2="All",PitcherName,$X$2),IF(CatcherName=IF($X$3="All",CatcherName,$X$3),IF(Inning=IF($X$5="All",Inning,$X$5),IF(AllP=IF($X$4="ALL",AllP,$X$4),IF(HitterStance="R",IF(PitchStart=1,IF(ISNUMBER(PitchFinish),IF(PitchStart<>PitchFinish, PitchFinish))))))))),"-")
how can I combine these two?