Average for non-contiguous cells

BrentL

New Member
Joined
Apr 19, 2023
Messages
2
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hey Everyone,

I've been scouring the internet trying to find a solution for this but I'm stumped.

I've got a lot of data I'm running a lot of different average calucalutoin on a large amount of non-contiguous cells ( day average, weekly average, monthly etc) and i've getting the "#DIV/0!" error as a lot of the input is not yet entered, I've trying to get the formula to exclude the blank cells so when the formula runs, I want it to return "" if no data has been input yet, is this possible.

Currently just using the basic average formula as below,

=AVERAGE(AD8,AP8,BB8,BN8,BZ8) this without data input returns
1681905227230.png


Thanks in advance,
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the Board!

Just wrap you current formula in an IFERROR statement, i.e.
Excel Formula:
=IFERROR(AVERAGE(AD8,AP8,BB8,BN8,BZ8),"")
 
Upvote 0
Solution
You are welcome.
Glad I was able to help!
:)
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top