PC Review


Reply
Thread Tools Rate Thread

basic information needed

 
 
Carole Greco
Guest
Posts: n/a
 
      26th May 2004
I need help with the following on an excel spreadsheet:

I need to average a column of numbers where one on the items might not have
an entry. for example

abcde 5.0
abcd 4.5
abc n/a
ab 4.5
a 4.0

What formula do I put in to make this average? I tried this
(a1+a2+a3+a4+a5)/5 but this does not seem to work.

Can anybody help me???? I have a project due tomorrow (Wednesday) and must
figure this out. Thanks to anyone who can help me.



 
Reply With Quote
 
 
 
 
Tushar Mehta
Guest
Posts: n/a
 
      26th May 2004
If your numbers are in B1:B5, use the array formula =AVERAGE(IF
(ISNUMBER(B1:B5),B1:B5))

--
An array formula is entered with CTRL-SHIFT-ENTER rather than just
ENTER. If done correctly, XL will display curly brackets { and }
around the formula

Regards,

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

In article <FOTsc.61844$(E-Mail Removed)>,
(E-Mail Removed) says...
> I need help with the following on an excel spreadsheet:
>
> I need to average a column of numbers where one on the items might not have
> an entry. for example
>
> abcde 5.0
> abcd 4.5
> abc n/a
> ab 4.5
> a 4.0
>
> What formula do I put in to make this average? I tried this
> (a1+a2+a3+a4+a5)/5 but this does not seem to work.
>
> Can anybody help me???? I have a project due tomorrow (Wednesday) and must
> figure this out. Thanks to anyone who can help me.
>
>
>
>

 
Reply With Quote
 
BookLady
Guest
Posts: n/a
 
      26th May 2004
How about
=sum(a1:a5)/count(a1:a5)

so long as the blank is actually blank or has text in it the coun
won't inlcude it. If you enter zero in the blank it will be counted

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      27th May 2004
Try it with the n/a in the OP entered as =NA()

SUM ignores text and empty fields, but not errors (or #N/As).

--
Regards,

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

In article <(E-Mail Removed)>, BookLady
<<(E-Mail Removed)>> says...
> How about
> =sum(a1:a5)/count(a1:a5)
>
> so long as the blank is actually blank or has text in it the count
> won't inlcude it. If you enter zero in the blank it will be counted.
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic How To needed silk Windows XP Help 3 26th Jun 2008 02:06 PM
please I need help with basic ado.net save, basic syntax needed =?Utf-8?B?TmV3YmVlIEFkYW0=?= Microsoft Dot NET 5 28th Jun 2005 07:09 AM
Basic help needed Noel S Pamfree Windows XP Video 1 21st Apr 2005 04:16 PM
ok there basic help needed here basic101 Windows XP Networking 6 6th May 2004 09:04 PM
HELP NEEDED!! Do I have a router that needs taken back. Please. Any information is much needed. newbie Windows Networking 0 28th Sep 2003 05:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:19 AM.