View Single Post
  #1   Report Post  
ciccia
 
Posts: n/a
Default any possible way to generate a formula to get the same result

Sheet 1:
L M Q (=2/14/2005) R(=3/25/2005)
Date 1 Date 2
6/9/2005
6/8/2005 6/14/2005
3/15/2005 3/29/2005
4/22/2005 4/27/2005

Sheet2:
A B
2/14/2005
3/25/2005

I generated the data in the Q Column:
=IF(OR(ISTEXT(L2),ISBLANK(L2)),"",IF(OR($M2'Sheet 2'!$A2+1,ISBLANK($M2)),NETWORKDAYS('Sheet2'!$A$2,$ L2),""))

Then I do:
=AVERAGE('Sheet1'!Q2:Q140)

Is there anyway that I can combine two formula into one to display in column
B without generating Q, R Column and so on?

Thanks