[mso] Re: formula for Excel

  • From: "David Smart" <smartware@xxxxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Fri, 11 Aug 2006 11:28:27 +1000

I can't work out a way to use the AVERAGE function here, but certainly you 
don't need the IFs

=(MIN(B17,"25:00:00")+MIN(B18,"25:00:00")+MIN(B19,"25:00:00")+MIN(B20,"25:00:00")+MIN(B21,"25:00:00")+MIN(B22,"25:00:00")+MIN(B23,"25:00:00")+MIN(B24,"25:00:00")+MIN(B25,"25:00:00")+MIN(B26,"25:00:00"))/10

This question might be better asked on one of the Yahoo Excel groups, where 
some of the members have extreme knowledge of array formulas.

Regards, Dave S

----- Original Message ----- 
From: <pruscoe@xxxxxxx>
To: <mso@xxxxxxxxxxxxx>
Sent: Friday, August 11, 2006 1:54 AM
Subject: [mso] formula for Excel


>I have a requirement to calculate the average of a column of 10 times. But 
>there is something else - each value must be limited to a maximum 25:00:00 
>before creating the average. I've come up with the following monster 
>formula, but I can't help feeling there is an easier way: (the values are 
>B17 through B26 in this example)
>
> =(IF(B17-"25:00:00">0,"25:00:00",B17)+IF(B18-"25:00:00">0,"25:00:00",B18)+IF(B19-"25:00:00">0,"25:00:00",B19)+IF(B20-"25:00:00">0,"25:00:00",B20)+IF(B21-"25:00:00">0,"25:00:00",B21)+IF(B22-"25:00:00">0,"25:00:00",B22)+IF(B23-"25:00:00">0,"25:00:00",B23)+IF(B24-"25:00:00">0,"25:00:00",B24)+IF(B25-"25:00:00">0,"25:00:00",B25)+IF(B26-"25:00:00">0,"25:00:00",B26))/10
>
> Any suggestions?
> ________________________________________________________________________
> Check out AOL.com today. Breaking news, video search, pictures, email and 
> IM. All on demand. Always Free.
>
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
> MicrosoftOffice@xxxxxxxxxxxxxxxx
>
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
>
> To Unsubscribe from this group, visit the group's homepage and use the 
> dropdown menu at the top.  This will allow you to unsubscribe your email 
> address or change your email settings to digest or vacation (no mail).
> //www.freelists.org/webpage/mso
>
> To be able to use the files section for sharing files with the group, send 
> a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an 
> invitation with instructions.  Once you are a member of the files group, 
> you can go here to upload/download files:
> http://www.smartgroups.com/vault/msofiles
>
> If you are using Outlook and you see a lot of unnecessary code in your 
> email messages, read these instructions that explain why and how to fix 
> it:
> http://personal-computer-tutor.com/abc3/v28/greg28.htm
> ************************************************************* 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: