Sum, Average etc not showing in bottom bar
u/CANykterstein - Your post was submitted successfully.
Please read these reminders and edit to fix your post where necessary:
-
Follow the submission rules -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
-
Include your Excel version and all other relevant information
-
Once your problem is solved, reply to the answer(s) saying
Solution Verifiedto close the thread.
Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
More on reddit.comExclude zeros from average in pivot table
If you deselect the 0 checkbox in the Pivot Table it will disregard zeros, but can't you use =AVERAGEIF() with "<>0" for the second argument e.g. =AVERAGEIF(Range, "<>0")?
More on reddit.comMy average function is resulting in a Divide by zero error
Average Column using Left function
Videos
If all the errors are of type "#NUM!", you could use the AVERAGEIF function:
=AVERAGEIF(range,"<>#NUM!")
To ignore errors of all types use the AGGREGATE function:
=AGGREGATE(1,6,range)
where 1 stands for average and 6 for ignoring errors.
Another possibility uses the IFERROR function to avoid errors:
=AVERAGE(IFERROR(range,""))
Still another uses FILTER to filter only true numbers:
=AVERAGE(FILTER(range,ISNUMBER(range)))
Either use AGGREGATE to average while ignoring errors, or change the DATEDIF function to
=IFERROR(DATEDIF(A2, B2, "D"),"")
AVERAGE will ignore blank text "". I prefer the latter method simply because AVERAGE is more understandable and your sheet looks nicer.
Actually I prefer not using DATEDIF and just use:
=IF(AND(ISNUMBER(A2), ISNUMBER(B2)), B2-A2, "")