Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave R.
 
Posts: n/a
Default

Follow the instructions on entering the formulas given in my post, Aladin's,
and referenced in Harlan's (look for the *emphasis*).


"Ourania" wrote in message
...
I used the following formulars and for the x value I got a 45 when it

should
be a 55 and for the y value I got a 55 when it should be a 65. What am I
doing wrong?

x values in Rng:
=AVERAGE(--SUBSTITUTE(LEFT(Rng,FIND(",",Rng)-1),"(",""))

y values in Rng:
=AVERAGE(--SUBSTITUTE(MID(Rng,FIND(",",Rng)+1,256),")",""))

" wrote:

Ourania wrote...
I am using an Excel spreadsheet with 2 numbers in every cell separated

my a
comma and a space (45, 55) and want to calculate the average for only

the
left numbers across a variety of cells [(45,55) (55,55) (65,85)].

Here the
averages I am looking for would be 55 for the left set of numbers and

65 for
the right set. I was wondering if there is any way to do this

automatically
in Excel instead of going through and doing them all manually. Any

help you
can provide would be most appreciated.


These are (x, y) pairs? Do they also include the parentheses? Here are
*array* formulas that can deal with parentheses whether they're
included or not.

x values in Rng:
=AVERAGE(--SUBSTITUTE(LEFT(Rng,FIND(",",Rng)-1),"(",""))

y values in Rng:
=AVERAGE(--SUBSTITUTE(MID(Rng,FIND(",",Rng)+1,256),")",""))




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
CAN I ADD NUMBERS IN ONE CELL jim1022 Excel Worksheet Functions 2 December 20th 04 10:15 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
combining several individual cells of numbers into one cell Jeanne Excel Worksheet Functions 5 November 24th 04 12:31 PM
How do you extract numbers from a string of chacters in a cell (E. blackbeemer Excel Worksheet Functions 6 November 12th 04 09:00 AM


All times are GMT +1. The time now is 02:26 PM.

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

About Us

"It's about Microsoft Excel"