Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Way to average a group of results from using LOOKUP?

I have a table of scores achieved as a result of using the LOOKUP function
(typical % converted to score type of scenario). I am trying to average (say
10) resulting scores but am running into problems where I constantly receive
the #div/0 error or receive a 0. I can't see where I'm dividing by 0.

Any thoughts on how to work around this?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default Way to average a group of results from using LOOKUP?

It's because the values returned by the lookup function are formatted as
text. To fix, you can do a couple things:

Add a double negative (--) to the beginning of each lookup function, this
will force Excel to return the results formatted as a number (Note: Simply
doing a <Format<Cells<Number will NOT work)

=--LOOKUP(...)

You can also chage it at the source by forcing Excel to treat your lookup
range numerically. To do this:

Copy a blank cell
Select your range
<Edit<Paste Special...
Select "Values" and "Add"
Click OK

--
Regards,
Dave


"L.Chua" wrote:

I have a table of scores achieved as a result of using the LOOKUP function
(typical % converted to score type of scenario). I am trying to average (say
10) resulting scores but am running into problems where I constantly receive
the #div/0 error or receive a 0. I can't see where I'm dividing by 0.

Any thoughts on how to work around this?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Way to average a group of results from using LOOKUP?

Thanks guru!

"David Billigmeier" wrote:

It's because the values returned by the lookup function are formatted as
text. To fix, you can do a couple things:

Add a double negative (--) to the beginning of each lookup function, this
will force Excel to return the results formatted as a number (Note: Simply
doing a <Format<Cells<Number will NOT work)

=--LOOKUP(...)

You can also chage it at the source by forcing Excel to treat your lookup
range numerically. To do this:

Copy a blank cell
Select your range
<Edit<Paste Special...
Select "Values" and "Add"
Click OK

--
Regards,
Dave


"L.Chua" wrote:

I have a table of scores achieved as a result of using the LOOKUP function
(typical % converted to score type of scenario). I am trying to average (say
10) resulting scores but am running into problems where I constantly receive
the #div/0 error or receive a 0. I can't see where I'm dividing by 0.

Any thoughts on how to work around this?

Thanks!

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
Formula for variable-height group average hmm Excel Worksheet Functions 3 December 25th 06 12:49 PM
Average a group, where grouping is Conditional on other col.??? tommot82 Excel Discussion (Misc queries) 1 June 9th 06 11:41 AM
sum the results of a group of formulas astjels Excel Worksheet Functions 3 May 11th 06 09:34 AM
How do I extract 3 middle results and average them in excel SYBS Excel Worksheet Functions 4 July 2nd 05 03:14 PM
IF Statement with Average Function results in #Value! Paul Excel Discussion (Misc queries) 5 December 28th 04 08:11 AM


All times are GMT +1. The time now is 12:55 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"