SOLVED

Is There An Easier Way?

%3CLINGO-SUB%20id%3D%22lingo-sub-2282172%22%20slang%3D%22en-US%22%3EIs%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282172%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20cells%20that%20show%20a%20%25%20(i.e.%2C%2040%25%2C%2045%25%2C%20etc.)%20for%20each%20day%20of%20the%20week%20(Monday-Sunday).%26nbsp%3B%20I'm%20trying%20to%20get%20the%20average%20for%20the%20entire%20week%20but%20some%20days%20are%200%25.%26nbsp%3B%20I%20tried%20using%20the%20following%20formula...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3D(I17%2BJ17%2BK17%2BL17%2BM17%2BN17%2BO17)%2F7%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20this%20formula%20c%3CSPAN%3Ealculates%20the%200%25%20for%20some%20days%2C%20bringing%20down%20the%20average%20for%20the%20week%20which%20I%20don't%20want.%26nbsp%3B%20If%20a%20cell%20is%200%25%2C%20can%20I%20have%20the%20average%20not%20include%20this%20so%20it%20doesn't%20skew%20my%20average%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2282172%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283189%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283189%22%20slang%3D%22en-US%22%3EI%20tried%20copying%20and%20pasting%20your%20formula%20above%20and%20inserted%20my%20cells%20into%20the%20areas%20that%20said%20%22values%22%20but%20get%20errors.%20For%20example%2C%20I%20tried%20typing%20the%20following%20combinations...%3CBR%20%2F%3E%3CBR%20%2F%3EIFERROR(SUM(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33)%2FSUM((S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33%26lt%3B%26gt%3B0))%2C0))%3CBR%20%2F%3E%3CBR%20%2F%3E%3DLET(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33%2CINDEX(S33%3ACA33%2C1%2CSEQUENCE(%2C7%2C1%2C10))%2CIFERROR(SUM(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33)%2FSUM(--(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33%26lt%3B%26gt%3B0))%2C0))%3CBR%20%2F%3E%3CBR%20%2F%3Elast%2C%20I%20tried%20copying%20and%20pasting%20exactly%20what%20you%20typed...%3CBR%20%2F%3E%3DLET(values%2C%20INDEX(S33%3ACA33%2C1%2CSEQUENCE(%2C7%2C1%2C10))%2C%3CBR%20%2F%3EIFERROR(SUM(values)%2FSUM(--(values%26lt%3B%26gt%3B0))%2C0))%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20know%20it's%20hard%20to%20explain%20since%20my%20spreadsheet%20can%20be%20unique%20in%20so%20many%20ways%20but%20I'd%20like%20to%20calculate%20the%20different%20PPH%20(Presentations%20Per%20Hour)%20by%20adding%20them%20up%20(i.e.%2C%201.09%2C%200.40%2C%200.22%2C%200.68%2C%202.03%2C%202.33%2C%200.00)%20and%20then%20give%20me%20the%20average%20of%20them%20all%20combined%20but%20without%20the%20average%20being%20skewed%20by%20the%200.00%20as%20this%20decreases%20the%20real%20average.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20when%20I%20click%20on%20each%20of%20the%20cells%20with%20a%20PPH%20average%2C%20the%20correct%20average%20should%20be%201.12PPH%20but%20because%20it%20is%20counting%20the%200.00%2C%20it's%20bringing%20down%20the%20average%20to%20.96PPH%20-%20which%20I%20don't%20want.%20The%20sum%20should%20be%201.12PPH.%20Sorry%20if%20I'm%20confusing%20this%20even%20more.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283176%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283176%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825432%22%20target%3D%22_blank%22%3E%40Nickers24_2020%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDepends%20on%20your%20version%20of%20Excel.%20As%20variant%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DLET(values%2C%20INDEX(S33%3ACA33%2C1%2CSEQUENCE(%2C7%2C1%2C10))%2C%0A%20%20%20%20%20IFERROR(SUM(values)%2FSUM(--(values%26lt%3B%26gt%3B0))%2C0))%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283146%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283146%22%20slang%3D%22en-US%22%3EIt%20absolutely%20did%2C%20thx!%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20got%20one%20more%20(I%20think).%20Sorry%20but%20I'm%20working%20on%20my%20report%20and%20have%20way%20too%20many%20formulas%20going%20on%20that%20bounce%20off%20each%20other.%20I%20tried%20using%20the%20last%20formula's%20principle%20but%20it%20didn't%20work%20as%20it's%20slightly%20different.%20So%20here's%20my%20question...%3CBR%20%2F%3E%3CBR%20%2F%3EHow%20do%20I%20type%20the%20formula%20to%20get%20the%20daily%20average%20IF%20the%20cells%20aren't%20next%20to%20each%20other%20(i.e.%2C%20I16%3AO16)%3F%20I%20tried%20typing%20the%20following%20formula...%3CBR%20%2F%3E%3CBR%20%2F%3E%3DIFERROR(AVERAGEIF(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33%2C%22%26lt%3B%26gt%3B0%22%2C%20S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33)%2C0)%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E...but%20Excel%20says%20I've%20entered%20too%20many%20arguments%20for%20this%20cell.%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20I%20tried%20playing%20around%20with%20it%20and%20I%20did%20get%20this%20to%20work...%3CBR%20%2F%3E%3CBR%20%2F%3E%3DS33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33%3CBR%20%2F%3E%3CBR%20%2F%3E...but%20it%20counts%20all%20cells%20with%200.00%20and%20skews%20the%20daily%20average%20showing%20only%20.96PPH.%20The%20correct%20avg.%20is%201.12PPH%E2%80%A6%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20it's%20calculating%20some%20of%20the%20cells%20that%20are%200.00%20and%20skewing%20my%20average%20which%20I%20don't%20want.%20If%20any%20of%20the%20above%20cells%20are%200.00%20I%20want%20the%20formula%20to%20not%20count%20it%20in%20the%20average%20for%20the%20day.%20Hope%20that%20makes%20sense.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283104%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283104%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825432%22%20target%3D%22_blank%22%3E%40Nickers24_2020%3C%2FA%3E%26nbsp%3B%2C%20glad%20to%20know%20it%20helped%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283060%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283060%22%20slang%3D%22en-US%22%3EYes%2C%20that%20worked%20perfectly!%20Thank%20you%20Sergei!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20really%20appreciate%20all%20the%20support%20in%20this%20forum.%20Thank%20you%20everyone.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283052%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283052%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825432%22%20target%3D%22_blank%22%3E%40Nickers24_2020%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20shall%20work%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIFERROR(AVERAGEIF(I17%3AO17%2C%22%26lt%3B%26gt%3B0%22%2CI17%3AO17)%2C0)%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283008%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283008%22%20slang%3D%22en-US%22%3EOne%20more%20thing...%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20the%20row%20is%20all%200%25%20how%20do%20I%20get%20that%20same%20ending%20cell%20(P17)%20to%20show%20a%200.00%25%20instead%20of%20%23DIV%2F0!%20I%20was%20thinking%20the%20%3DIFERROR%20and%20then%20%2C0%20at%20the%20end%20but%20I%20tried%20this%20and%20it%20didn't%20work.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283002%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283002%22%20slang%3D%22en-US%22%3EYES%2C%20THAT%20WAS%20IT!!!!!!%20It%20works.%20I'm%20embarrassed%20to%20say%20what%20my%20old%20formula%20was%20to%20accomplish%20this%20and%20thought...there's%20got%20to%20be%20an%20easier%20way%20-%20lol!%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20JMB17!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2282955%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282955%22%20slang%3D%22en-US%22%3EDo%20you%20have%20the%20AverageIf%20function%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3DAVERAGEIF(I17%3AO17%2C%22%26gt%3B0%22)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2282856%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282856%22%20slang%3D%22en-US%22%3EHi%20Riny%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20tried%20your%20formula%20but%20then%20I%20get%2013000%25%20so%20then%20I%20typed%20in%20the%20following%20formula%20(thinking%20it%20should%20be%2017%20not%207)%20but%20I%20get%20the%20same%20result%20as%20my%20original%20formula...%3CBR%20%2F%3E%3CBR%20%2F%3E%3DAVERAGE(I17%3AO17)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2282177%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2282177%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825432%22%20target%3D%22_blank%22%3E%40Nickers24_2020%3C%2FA%3E%26nbsp%3BUse%20AVERAGE%20like%20this%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3DAVERAGE(I7%3AO7)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283499%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283499%22%20slang%3D%22en-US%22%3EIf%20it%20is%20certain%20there%20will%20be%20no%20negative%20numbers%2C%20you%20could%20also%20try%3A%3CBR%20%2F%3E%3DIFERROR(SUM(S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33)%2FINDEX(FREQUENCY((S33%2CAC33%2CAM33%2CAW33%2CBG33%2CBQ33%2CCA33)%2C0)%2C2)%2C0)%3CBR%20%2F%3E%3CBR%20%2F%3EBut%2C%20I%20assume%20this%20is%20part%20of%20a%20table%3F%20Is%20there%20a%20specific%20table%20header%20for%20these%20values%20that%20could%20be%20used%20to%20identify%20these%20values%3F%20Say%20the%20headers%20are%20in%20Row%201%20and%20the%20specific%20header%20for%20these%20values%20is%20%22x%22%2C%20then%20maybe%20you%20could%20something%20similar%20to%20this%20instead%20of%20dealing%20with%20a%20non-contiguous%20range%20(and%2C%20assuming%20all%20the%20values%20in%20the%20range%20are%20numeric)%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3DSUM((S1%3ACA1%3D%22x%22)*S33%3ACA33)%2FSUM((S1%3ACA1%3D%22x%22)*(S33%3ACA33%26lt%3B%26gt%3B0))%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283533%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283533%22%20slang%3D%22en-US%22%3EJMB...you%20did%20it%20again!%20Yes%2C%20I%20copied%20and%20pasted%20your%20first%20formula%20and%20it%20worked!%20Thank%20you%2C%20thank%20you%2C%20thank%20you!%20I%20think%20I'm%20done%20with%20my%20report.%20It's%20a%20crazy%20spreadsheet%20that%20I've%20added%20values%20to%20over%20the%20years%20and%20it's%20become%20a%20beast.%20So%20again%20thank%20you%20to%20all%20for%20your%20help!%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20sure%20I'll%20be%20back%20asking%20more%20questions%20so%20thanks%20also%20for%20your%20patience%20from%20a%20noob.%20%3CLI-EMOJI%20id%3D%22lia_grinning-face-with-big-eyes%22%20title%3D%22%3Agrinning_face_with_big_eyes%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2283976%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2283976%22%20slang%3D%22en-US%22%3E%3CP%3EAnd%20I'm%20back%20but%20I'm%20sure%20this%20is%20the%20easiest%20one.%20I%20just%20need%20to%20add%20the%20%3DIFERROR%20feature%20so%20it%20shows%20a%200%20in%20the%20cell%20if%20there%20is%20no%20data%20in%20it.%20I%20know%20%3DIFERROR(P33%2FL33%2C0)%20is%20used%20in%20one%20of%20my%20cells%20but%20this%20isn't%20the%20one%20I%20need%20so%20I%20tried%20using%20the%20logic%20but%20can't%20get%20it%20to%20work%20for%20the%20following%20formula...%3CBR%20%2F%3E%3CBR%20%2F%3E%3D(P34%2BZ34%2BAJ34%2BAT34%2BBD34%2BBN34%2BBX34)%2FJ14%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20error%20in%20the%20cell%20btw%20is...%3C%2FP%3E%3CP%3E%23DIV%2F0!%3CBR%20%2F%3E%3CBR%20%2F%3ESorry%2C%20I%20just%20can't%20understand%20where%20place%20the%20%22%2C0)%22%20depending%20on%20the%20type%20of%20formula.%20%3F%3F%3F%3F%3F%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20in%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2284136%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2284136%22%20slang%3D%22en-US%22%3ETry%3A%3CBR%20%2F%3E%3DIferror((P34%2BZ34%2BAJ34%2BAT34%2BBD34%2BBN34%2BBX34)%2FJ14%2C0)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2284149%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2284149%22%20slang%3D%22en-US%22%3EYep...that%20worked%20too!%20Thank%20you%20again%20JMB!%20I%20tried%20this%20but%20saw%20in%20the%20one%20tried%2C%20I%20didn't%20close%20the%20parentheses%20at%20the%20very%20end.%20Very%20nice%20and%20have%20a%20good%20weekend%20everyone.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2285019%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20There%20An%20Easier%20Way%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2285019%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F825432%22%20target%3D%22_blank%22%3E%40Nickers24_2020%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENot%20sure%20why%20do%20you%20have%20an%20error%2C%20I%20attached%20sample%20file%20to%20check%20the%20formula.%20In%20my%20case%20it%20works.%20Appreciate%20if%20you%20show%20what's%20wrong%20in%20it%2C%20will%20be%20useful.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have cells that show a % (i.e., 40%, 45%, etc.) for each day of the week (Monday-Sunday).  I'm trying to get the average for the entire week but some days are 0%.  I tried using the following formula...

 

=(I17+J17+K17+L17+M17+N17+O17)/7

 

but this formula calculates the 0% for some days, bringing down the average for the week which I don't want.  If a cell is 0%, can I have the average not include this so it doesn't skew my average?

 

Thanks in advance!

 

19 Replies

@Nickerz_2020 Use AVERAGE like this:

=AVERAGE(I7:O7)

 

Hi Riny,

I tried your formula but then I get 13000% so then I typed in the following formula (thinking it should be 17 not 7) but I get the same result as my original formula...

=AVERAGE(I17:O17)
best response confirmed by Nickerz_2020 (Contributor)
Solution
Do you have the AverageIf function?

=AVERAGEIF(I17:O17,">0")
YES, THAT WAS IT!!!!!! It works. I'm embarrassed to say what my old formula was to accomplish this and thought...there's got to be an easier way - lol!

Thank you JMB17!
One more thing...

If the row is all 0% how do I get that same ending cell (P17) to show a 0.00% instead of #DIV/0! I was thinking the =IFERROR and then ,0 at the end but I tried this and it didn't work.

@Nickerz_2020 

It shall work

=IFERROR(AVERAGEIF(I17:O17,"<>0",I17:O17),0)
Yes, that worked perfectly! Thank you Sergei!

I really appreciate all the support in this forum. Thank you everyone.

@Nickerz_2020 , glad to know it helped

It absolutely did, thx!

I've got one more (I think). Sorry but I'm working on my report and have way too many formulas going on that bounce off each other. I tried using the last formula's principle but it didn't work as it's slightly different. So here's my question...

How do I type the formula to get the daily average IF the cells aren't next to each other (i.e., I16:O16)? I tried typing the following formula...

=IFERROR(AVERAGEIF(S33,AC33,AM33,AW33,BG33,BQ33,CA33,"<>0", S33,AC33,AM33,AW33,BG33,BQ33,CA33),0)


...but Excel says I've entered too many arguments for this cell.

Then I tried playing around with it and I did get this to work...

=S33,AC33,AM33,AW33,BG33,BQ33,CA33

...but it counts all cells with 0.00 and skews the daily average showing only .96PPH. The correct avg. is 1.12PPH…

So it's calculating some of the cells that are 0.00 and skewing my average which I don't want. If any of the above cells are 0.00 I want the formula to not count it in the average for the day. Hope that makes sense.

@Nickerz_2020 

Depends on your version of Excel. As variant

=LET(values, INDEX(S33:CA33,1,SEQUENCE(,7,1,10)),
     IFERROR(SUM(values)/SUM(--(values<>0)),0))
I tried copying and pasting your formula above and inserted my cells into the areas that said "values" but get errors. For example, I tried typing the following combinations...

IFERROR(SUM(S33,AC33,AM33,AW33,BG33,BQ33,CA33)/SUM((S33,AC33,AM33,AW33,BG33,BQ33,CA33<>0)),0))

=LET(S33,AC33,AM33,AW33,BG33,BQ33,CA33,INDEX(S33:CA33,1,SEQUENCE(,7,1,10)),IFERROR(SUM(S33,AC33,AM33,AW33,BG33,BQ33,CA33)/SUM(--(S33,AC33,AM33,AW33,BG33,BQ33,CA33<>0)),0))

last, I tried copying and pasting exactly what you typed...
=LET(values, INDEX(S33:CA33,1,SEQUENCE(,7,1,10)),
IFERROR(SUM(values)/SUM(--(values<>0)),0))


I know it's hard to explain since my spreadsheet can be unique in so many ways but I'd like to calculate the different PPH (Presentations Per Hour) by adding them up (i.e., 1.09, 0.40, 0.22, 0.68, 2.03, 2.33, 0.00) and then give me the average of them all combined but without the average being skewed by the 0.00 as this decreases the real average.

So when I click on each of the cells with a PPH average, the correct average should be 1.12PPH but because it is counting the 0.00, it's bringing down the average to .96PPH - which I don't want. The sum should be 1.12PPH. Sorry if I'm confusing this even more.
If it is certain there will be no negative numbers, you could also try:
=IFERROR(SUM(S33,AC33,AM33,AW33,BG33,BQ33,CA33)/INDEX(FREQUENCY((S33,AC33,AM33,AW33,BG33,BQ33,CA33),0),2),0)

But, I assume this is part of a table? Is there a specific table header for these values that could be used to identify these values? Say the headers are in Row 1 and the specific header for these values is "x", then maybe you could something similar to this instead of dealing with a non-contiguous range (and, assuming all the values in the range are numeric):

=SUM((S1:CA1="x")*S33:CA33)/SUM((S1:CA1="x")*(S33:CA33<>0))
JMB...you did it again! Yes, I copied and pasted your first formula and it worked! Thank you, thank you, thank you! I think I'm done with my report. It's a crazy spreadsheet that I've added values to over the years and it's become a beast. So again thank you to all for your help!

I'm sure I'll be back asking more questions so thanks also for your patience from a noob.

And I'm back but I'm sure this is the easiest one. I just need to add the =IFERROR feature so it shows a 0 in the cell if there is no data in it. I know =IFERROR(P33/L33,0) is used in one of my cells but this isn't the one I need so I tried using the logic but can't get it to work for the following formula...

=(P34+Z34+AJ34+AT34+BD34+BN34+BX34)/J14

 

The error in the cell btw is...

#DIV/0!

Sorry, I just can't understand where place the ",0)" depending on the type of formula. ??????

Thank you in advance!

Try:
=Iferror((P34+Z34+AJ34+AT34+BD34+BN34+BX34)/J14,0)
Yep...that worked too! Thank you again JMB! I tried this but saw in the one tried, I didn't close the parentheses at the very end. Very nice and have a good weekend everyone.

@Nickerz_2020 

Not sure why do you have an error, I attached sample file to check the formula. In my case it works. Appreciate if you show what's wrong in it, will be useful. 

Hi Sergei,

Looking back at my post @ 3:30pm above, I tried using several variations that didn't work but not sure if I was using them correctly. Can you reply with the exact formula you are referring to, then I can copy and paste it to know for sure?

The formula that is now in this cell now (I think this is the one as there were a few cells I was getting help with) is the following formula...

=IFERROR(SUM(S33,AC33,AM33,AW33,BG33,BQ33,CA33)/INDEX(FREQUENCY((S33,AC33,AM33,AW33,BG33,BQ33,CA33),0),2),0)

Thank you.

@Nickerz_2020 

Sorry, have no idea on which post you give reference as "my post @ 3:30pm above,".  Site shows my local time which is most probably not the same as for your timezone.

As for the formula you may find it in the file attached to my previous post.