How do I write this OR Statement

Galena1

Active Member
Joined
Jun 10, 2010
Messages
305
for averaging?

=AVERAGE(IF(X7 or T7 or P7 or L7 or H7 ORD7 >0, X7+T7+P7+L7+H7+D7))

thanks in advane for any help!

:laugh:
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Code:
=AVERAGE(IF((D7:X7>0)*(MOD(COLUMN(D7:X7),4)=0),D7:X7))
Entered using CTRL+SHIFT+ENTER

lenze
 
Upvote 0
=if(sum(F19,J19,N19,R19,V19,Z19),0,0,SUM(F19,J19,N19,R19,V19,Z19)/INDEX(FREQUENCY((F19,J19,N19,R19,V19,Z19),0),2)

I tried to modify it to take care of #DIV/0! but it's not working:eeek:

anyone know what is wrong with my syntax?

tanks!
 
Upvote 0
=if(sum(F19,J19,N19,R19,V19,Z19),0,0,SUM(F19,J19,N19,R19,V19,Z19)/INDEX(FREQUENCY((F19,J19,N19,R19,V19,Z19),0),2)

I tried to modify it to take care of #DIV/0! but it's not working:eeek:

anyone know what is wrong with my syntax?

tanks!
What version of Excel are you using?

What result do you want to replace the #DIV/0! error?
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top