Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Average Function Problem

I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Average Function Problem

John,

Any displayed values that contain a * should be text, so they should be ignored.

Any cell that contains a formuls like =A1*4 will not be ignored, since they will return a value.

So, what do you mean, exactly?

HTH,
Bernie
MS Excel MVP


"John" wrote in message
...
I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Average Function Problem

Try this

=Round(AVERAGE(IF(A4:T40,A4:T4)),1)

If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Average Function Problem

Jacob,

Unfortunately I copied and pasted your response and the error message
appeared #VALUE!

Thanks,

John

"Jacob Skaria" wrote:

Try this

=Round(AVERAGE(IF(A4:T40,A4:T4)),1)

If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Average Function Problem

Sorry forgot to mention that this is an array fomula. Within the cell in edit
mode (F2) paste this formula and press Ctrl+Shift+Enter to apply this
formula. If successful in the Formula Bar you can notice the curly braces at
both ends "{=<formula}"
--
If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

Jacob,

Unfortunately I copied and pasted your response and the error message
appeared #VALUE!

Thanks,

John

"Jacob Skaria" wrote:

Try this

=Round(AVERAGE(IF(A4:T40,A4:T4)),1)

If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Average Function Problem

In a row I have values in cells from for example A4:T4 but on the end of some
of the value I have a * and I want the average to ignore the velues with a *

Example

55,67,89*,100,10*

Thanks

"Bernie Deitrick" wrote:

John,

Any displayed values that contain a * should be text, so they should be ignored.

Any cell that contains a formuls like =A1*4 will not be ignored, since they will return a value.

So, what do you mean, exactly?

HTH,
Bernie
MS Excel MVP


"John" wrote in message
...
I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default Average Function Problem

Jacob,

That fantastic it works really well, many thanks for the response.

I have another small issue that you may be able to help me with?

Is there anyway I can include the value of the cell with a * but not perform
the average for that sepcific cell:

for example

55,67,89*,22,37

the totals would be 270 but the average would be /4 and not /5 because of
the *

Once again thanks

"Jacob Skaria" wrote:

Sorry forgot to mention that this is an array fomula. Within the cell in edit
mode (F2) paste this formula and press Ctrl+Shift+Enter to apply this
formula. If successful in the Formula Bar you can notice the curly braces at
both ends "{=<formula}"
--
If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

Jacob,

Unfortunately I copied and pasted your response and the error message
appeared #VALUE!

Thanks,

John

"Jacob Skaria" wrote:

Try this

=Round(AVERAGE(IF(A4:T40,A4:T4)),1)

If this post helps click Yes
---------------
Jacob Skaria


"John" wrote:

I am using the following formula in Excel 2003

=ROUND(AVERAGE(A4:T4),1)

and I need to ignore any values that contain a * can any please help??

Thanks in advance

John

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
Finding the average using conditions in a logic function - problem Thomas Excel Discussion (Misc queries) 1 August 1st 08 04:18 PM
problem with "average" function jxk Excel Discussion (Misc queries) 4 June 16th 08 09:26 PM
Average Problem Paul Excel Worksheet Functions 3 February 10th 07 04:44 PM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
AVERAGE problem malik641 Excel Worksheet Functions 3 July 21st 05 04:04 AM


All times are GMT +1. The time now is 03:32 PM.

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

About Us

"It's about Microsoft Excel"