Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 205
Default If function with average fomula to be tru or false

I need help for the following situation:
If A1:J1=0, Average A2:J2(true), 5(false)

I typed in the fomula: IF(A1:J1=0,AVERAGE(A2:J2),5)

But it did not work. I kept gettng #signs. Deeply appreciated if somebody
help.

Thanks,
Linda
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default If function with average fomula to be tru or false

One way:

=IF(COUNTIF(A1:J1,0)=10,AVERAGE(A2:J2),5)

In article ,
Linda wrote:

I need help for the following situation:
If A1:J1=0, Average A2:J2(true), 5(false)

I typed in the fomula: IF(A1:J1=0,AVERAGE(A2:J2),5)

But it did not work. I kept gettng #signs. Deeply appreciated if somebody
help.

Thanks,
Linda

Reply
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
My IF function is saying something is false when it is true... dilbert16588 Excel Worksheet Functions 2 April 11th 08 07:00 AM
VBA always creates linked chart even when using PasteExcelTable False, False, False in Office 2007 Matt Simpson Excel Programming 0 August 6th 07 08:11 PM
Set Function to False -Why?? JDB[_2_] Excel Programming 2 November 13th 05 01:38 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
IF Function returns False instead of 0 BEEJAY Excel Worksheet Functions 2 June 23rd 05 04:23 PM


All times are GMT +1. The time now is 09:22 AM.

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

About Us

"It's about Microsoft Excel"