LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default IF/COUNT/AVERAGE... Value returned is incorrect.

This formula appears to work with some columns of data yet when I change the
column field it enters the vale "o" when there is data to average...

I know this may sound crazy to some, but I am finding this really
complicated to solve.
=IF(COUNT((AVERAGE(IF('Summary Days'!$D$3:$D$1500="2",(IF('Summary
Days'!$K$3:$K$1500=37,(IF('Summary Days'!$P$6:$P$1500<0,'Summary
Days'!$P$3:$P$1500)))))))*ISNUMBER('Summary
Days'!$P$6:$P$1500)),(AVERAGE(IF('Summary Days'!$D$3:$D$1500="2",(IF('Summary
Days'!$K$3:$K$1500=37,(IF('Summary Days'!$P$6:$P$1500<0,'Summary
Days'!$P$3:$P$1500))))))),"0")

I know it isn't the tidiest formula... The columns I am looking at read
something similar to:

A B C
Priority Week Time Lapse
2 37 0.2
2a 37 0.0
2 38 0.6
3 37 3.2
2 39 0.0
2 37 0.0
etc

The Time Lapse column is calculated from other columns but the formula I
need is to find an average of the time lapse (for example, column C) if the
priority is 2 and the week is 37.

I have 1500 lines of data and a mix of all priority and weeks.

I also need the formula to populate the cell with a zero value if there
isn't any data above 0.0 (I found that other formulas were returning the
value DIV#/1!)

Please can someone help me find out where I am going wrong and explain it to
me so I can learn from my mistake?!
Many many thanks

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using COS in VBA, incorrect value returned Gnrnr Excel Worksheet Functions 5 September 19th 07 01:20 PM
need to count/average if... Need Help 123 Excel Worksheet Functions 6 December 15th 05 11:31 PM
Datedif incorrect month count - February problem?? JMKCT Excel Worksheet Functions 4 December 14th 05 03:36 PM
how to average and use sum min and count within one cell gwtechie72 Excel Worksheet Functions 4 October 19th 05 03:34 AM
Count and then average Al Excel Worksheet Functions 4 November 17th 04 03:38 AM


All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"