Here is the formula I attempted the DID NOT work in calculating the
daily average of one weeks voume.
{=AVERAGE(IF(AND(Daily!$A$4:$A$604<=Weekly!A5,Daily!$A$4:$A$604>Weekly!A4),Daily!$B$4:$B$604))}
Any ideas? FYI, I want to skip the blank cells(holidays) in my
calculations.
Thanks,
Gimi
--
gimiv
------------------------------------------------------------------------
gimiv's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=35726
View this thread: http://www.excelforum.com/showthread.php?threadid=557138
=AVERAGE(IF(Daily!$A$4:$A$604>Weekly!A4,IF(Daily!$A$4:$A$604
<=Weekly!A5,Daily!$B$4:$B$604)))
...confirmed with CONTROL+SHIFT+ENTER.
Hope this helps!
In article <gimiv.2a6qgb_1...@excelforum-nospam.com>,
=AVERAGE(IF(Daily!$A$4:$A$604>Weekly!A4,IF(Daily!$A$4:$A$604
<=Weekly!A5,IF(Daily!$B$4:$B$604<>"",Daily!$B$4:$B$604))))
...confirmed with CONTROL+SHIFT+ENTER.
In article <gimiv.2a7xqn_1...@excelforum-nospam.com>,
Insert > Name > Define
Name: BigNum
Refers to: =9.99999999999999E+307
Click Ok
Then try...
=LOOKUP(BigNum,CHOOSE({1,2},0,AVERAGE(IF(Daily!$A$4:$A$604>Weekly!A4,IF(D
aily!$A$4:$A$604<=Weekly!A5,IF(Daily!$B$4:$B$604<>"",Daily!$B$4:$B$604)))
)))
...confirmed with CONTROL+SHIFT+ENTER. The formula will return 0
instead of #DIV/0!. If you'd like the cell to be blank, you can custom
format the cell...
Format > Cell > Number > Custom > Type: [=0]""
Hope this helps!
In article <gimiv.2a83rb_1...@excelforum-nospam.com>,