Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default AverageIF with cell refenrence as criteria is not working

Thanks Niek.

That does it. But like you say, it isn't really clear form HELP.

Thanks!
Bart

"Niek Otten" wrote:

Hi Bart,

This is indeed not very clear from HELP.

But this works:

=AVERAGEIF(B29:B48,""&B25,B4:B23)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bart Geerling" wrote in message
...
| Hi Niek,
|
| It's a range of numbers and this range also contains blank cells:
|
| AVERAGEIF(B29:B48,"B25",B4:B23)
|
| I tried to fill the blanks with numbers but this doesn't make a difference.
| I also tried to remove the quotes, doesn't help either. When I change the
| formula to this:
|
| AVERAGEIF(B29:B48,"282",B4:B23)
|
| It does work. So the problem lies in the criteria: when I use a cell
| reference, it fails.
|
| Hope you can help.
|
| Cheers,
| Bart
|
| "Niek Otten" wrote:
|
| Hi Bart,
|
| What is your formula? What are the input values?
|
| --
| Kind regards,
|
| Niek Otten
| Microsoft MVP - Excel
|
| "Bart Geerling" <Bart wrote in message
| ...
| |I really love the new AverageIF function in Excel 2007, however, it doesn't
| | work for me :(.
| |
| | When I use a cell reference as criteria, I get a div/0 error. If I change
| | the cell reference by the value that is in that cell, the function works.
| |
| | I really hope anyone has a solution for this problem.
| |
| | Thanks!
| |
| | Bart
|
|
|



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
AverageIF coastal Excel Discussion (Misc queries) 1 November 13th 07 11:28 PM
SUMIF/PRODUCT with multiple Criteria not working Andi Excel Discussion (Misc queries) 4 January 22nd 07 06:01 PM
averageif name Excel Worksheet Functions 1 May 4th 06 05:27 PM
averageif rudy Excel Discussion (Misc queries) 5 April 27th 06 11:20 PM
Sumproduct w/date criteria not working JANA Excel Worksheet Functions 7 April 15th 05 11:19 AM


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