Do Array Formulas have to be populated!?

genepaton

New Member
Joined
Jun 1, 2011
Messages
37
Hi All,

I've written a couple of formulas for calculating averages in excel 2003 based on multiple criteria, but as the data is changing and sometimes not populated at all in these rows, its spitting out a #DIV/0! error.

Do Array Formula's require at least one cell populated?

And if so, is there a work around for this?

I need for it to populate a "0" answer if there is no data for it to work off.

Example formula:

{=AVERAGE(IF((Sheet1!B2:B65536="2")*(Sheet1!L2:L65536<>0),Sheet1!L2:L65536))/1440}

I tried working around it by including the second condition that the entry must be greater than 0, thinking that excel counted the blank cells as 0 value.

FYI Im working with time values in minutes, hence the /1440 and formatting the cell to hh:mm
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
:laugh:

You're better off posting to the forum.

Your post gets seen by many more people plus, I may not know how to do what you want to do!

:cool:

I was actually just after someone to 'proof read' through the work i've already done, and give some feedback on possible areas that may go wrong or suggestions. The project im working on is a little outside the norm for excel.
Got 10 min to spare? :???:
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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