Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Mike this works perfectly for what I asked for but if all the cells are 0
then the cell returns a #DIV/0! error. I need for it to be 0. If you can help me with this I think I will have it. Thanks! "Mike H" wrote: Hi, I'm not sure I fully understand but perhaps this =AVERAGE(IF(A2:B5<0,A2:B5)) 'This is an array formula which must be entered by pressing CTRL+Shift+Enter 'and not just Enter. If you do it correctly then Excel will put curly brackets 'around the formula {}. You can't type these yourself. If you edit the formula 'you must enter it again with CTRL+Shift+Enter. Mike "dernspiker" wrote: Excel 2003 - In the portion below I need Cell C2 to average the 4 rows below. The last to rows equal zero. So when I average all the rows of course it sees those cells as zero. I tried using N/A but it stil sees those as a zero. Please help I have been working on this huge spreadsheet for a while now and really need to get it right. A B C 5 5 =IF((B3=0)*AND(A3=0),"N/A",B3/A3) 5 5 =IF((B4=0)*AND(A4=0),"N/A",B4/A4) 0 0 =IF((B5=0)*AND(A5=0),"0.00%",B5/A5) 0 0 =IF((B6=0)*AND(A6=0),"0.00%",B6/A6) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula request.... | Excel Discussion (Misc queries) | |||
Formula request | Excel Discussion (Misc queries) | |||
IF AND FORMULA REQUEST | Excel Discussion (Misc queries) | |||
Formula help request | Excel Discussion (Misc queries) | |||
formula request | Excel Worksheet Functions |