A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Averaging compound numbers



 
 
Thread Tools Display Modes
  #1  
Old June 13th, 2004, 09:50 PM
Old Red One
external usenet poster
 
Posts: n/a
Default Averaging compound numbers

Is there a formula for obtaining an average of a series of compound numbers,
such as blood pressure readinags, e.g. 140/80?


  #2  
Old June 13th, 2004, 10:16 PM
JE McGimpsey
external usenet poster
 
Posts: n/a
Default Averaging compound numbers

What form do you want the results in?

If XXX/YYY then one way is to array enter (CTRL-SHIFT-ENTER or
CMD-RETURN):

=TEXT(AVERAGE(--LEFT(A1:A20,3)),"0") & "/" &
TEXT(AVERAGE(--MID(A1:A20,5,3)),"0")


In article ,
"Old Red One" wrote:

Is there a formula for obtaining an average of a series of compound numbers,
such as blood pressure readinags, e.g. 140/80?

  #3  
Old June 14th, 2004, 03:10 AM
Ragdyer
external usenet poster
 
Posts: n/a
Default Averaging compound numbers

Hey John,

Slight revision to your formula to include a neighbor of mine, who has low
blood pressure, where his systolic number is below 90.

=TEXT(AVERAGE(--LEFT(A1:A5,FIND("/",A1:A5)-1)),"0")&"/"&TEXT(AVERAGE(--RIGHT
(A1:A5,LEN(A1:A5)-FIND("/",A1:A5))),"0")
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"JE McGimpsey" wrote in message
...
What form do you want the results in?

If XXX/YYY then one way is to array enter (CTRL-SHIFT-ENTER or
CMD-RETURN):

=TEXT(AVERAGE(--LEFT(A1:A20,3)),"0") & "/" &
TEXT(AVERAGE(--MID(A1:A20,5,3)),"0")


In article ,
"Old Red One" wrote:

Is there a formula for obtaining an average of a series of compound

numbers,
such as blood pressure readinags, e.g. 140/80?


  #4  
Old June 14th, 2004, 10:48 AM
Harlan Grove
external usenet poster
 
Posts: n/a
Default Averaging compound numbers

"Ragdyer" wrote...
....
=TEXT(AVERAGE(--LEFT(A1:A5,FIND("/",A1:A5)-1)),"0")&"/"
&TEXT(AVERAGE(--RIGHT(A1:A5,LEN(A1:A5)-FIND("/",A1:A5))),"0")

....

OK, but this could be shortened to

=ROUND(AVERAGE(--SUBSTITUTE(A1:A5,"/",".000000")),0)&"/"
&ROUND(AVERAGE(--MID(A1:A5,FIND("/",A1:A5)+1,1024)),0)


  #5  
Old June 14th, 2004, 12:06 PM
Tushar Mehta
external usenet poster
 
Posts: n/a
Default Averaging compound numbers

You may also want to consider splitting the data into individual
components and operating on them. Suppose your BP readings are in col.
A starting with A2. Then, in B2, enter =LEFT(A2,FIND("/",A2)-1) to get
the systolic reading. In C2, enter =MID(A2,LEN(B2)+2,LEN(A2)) to get
the diastolic reading. Now, you can do whatever you want with the
components.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article ,
says...
Is there a formula for obtaining an average of a series of compound numbers,
such as blood pressure readinags, e.g. 140/80?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:38 PM.


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