Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Probably simple question on AVG function

I'm not a power Excel user, but I'm constructing a pretty simple grading
platform for a friend who is a teacher.

I want to AVG a row of cells, and, I understand that when the cell contains
no information, the AVG function does not count it.

However, on the top level sheet, that row of cells picks their numeric
values from lower level sheets, so each cell has "other sheet location"
information there to start with. The AVG function then sees this as
information and counts that cell in the average, when it should not be.

I guess there should be a variable, or some script I should use that would
tell the AVG function only to count the cells that contain numeric values???

Any help with this would be EXTREMELY appreciated!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Probably simple question on AVG function

If you're using a formula to return a value from a different worksheet, you may
want to use something like:

=if(sheet1!a1="","",sheet1!a1)
or
=if(isna(vlookup(a2,sheet1!a:b,2,false)),"",
if(vlookup(a2,sheet1!a:b,2,false)=0,"",
vlookup(a2,sheet1!a:b,2,false)))

Then those strings ("") won't be included in your =average() function.

Mike612 wrote:

I'm not a power Excel user, but I'm constructing a pretty simple grading
platform for a friend who is a teacher.

I want to AVG a row of cells, and, I understand that when the cell contains
no information, the AVG function does not count it.

However, on the top level sheet, that row of cells picks their numeric
values from lower level sheets, so each cell has "other sheet location"
information there to start with. The AVG function then sees this as
information and counts that cell in the average, when it should not be.

I guess there should be a variable, or some script I should use that would
tell the AVG function only to count the cells that contain numeric values???

Any help with this would be EXTREMELY appreciated!!!


--

Dave Peterson
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
a simple question Zee Excel Discussion (Misc queries) 1 September 18th 06 10:44 AM
Simple question..I think Levi Excel Discussion (Misc queries) 1 May 4th 06 08:34 PM
Simple Function question? jboss73 Excel Worksheet Functions 3 January 6th 06 02:22 PM
a very simple question [email protected] Excel Discussion (Misc queries) 6 November 6th 05 02:50 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM


All times are GMT +1. The time now is 08:36 AM.

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"