>There's a shorter way to deal with this using array entry.
>=ROUND(AVERAGE(INT(SUBSTITUTE(A1:A3,"/","."))),0)&"/"
>&ROUND(AVERAGE(--MID(A1:A4,FIND("/",A1:A3)+1,4)),0)
I thought about using an array AVERAGE, although I didn't think about using
INT(SUBSTITUTE(A1:A3,"/",".")).
Very clever!
Biff
"Harlan Grove" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Biff wrote...
>>Just for the heck of it...........
>>
>>A1 = 152/65
>>A2 = 147/72
>>A3 = 147/70
>>
>>=ROUND(SUMPRODUCT(--(LEFT(A1:A3,FIND("/",A1:A3)-1)))/ROWS(A1:A3),0)&"/"
>>&ROUND(SUMPRODUCT(--(MID(A1:A3,FIND("/",A1:A3)+1,5)))/ROWS(A1:A3),0)
>
> There's a shorter way to deal with this using array entry.
>
> =ROUND(AVERAGE(INT(SUBSTITUTE(A1:A3,"/","."))),0)&"/"
> &ROUND(AVERAGE(--MID(A1:A4,FIND("/",A1:A3)+1,4)),0)
>
>>Returns: 149/69
>>
>>I don't know anything about blood pressures but you can shorten the
>>formula
>>if the first value is always 3 digits and the second value is always 2
>>digits:
> ...
>
> Second value could be over 100, and that's very bad.
>
> Since 110/60,110/60,110/60,200/132 is worse than
> 125/78,125/78,125/78,125/78, I doubt means are as meaningful as
> percentiles or maximums if the goal is early warning for high blood
> preasure.
>
|