Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Receiving #VALUE! when using examples from Microsoft Excel, why?

Using an example from "Count how often multiple text or number values occur
by using functions" returns #VALUE! Why? Currently using Excel 2002 with
Add-Ins Conditional Sum Wizard, Solver Add-in, and Lookup Wizard.
fx:
=SUM(IF(A2:A7="Buchanan",IF(B2:B7<9000,1,0)))

I have tried using other examples using COUNT and get same results.
I have two columns, one is a number the other text, that need to match two
logicals to return a sum or count of those that match.
Please help - Thanks, RickG
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Receiving #VALUE! when using examples from Microsoft Excel, why?

1) This is an array function. When you type it in (or open it for editing
with double click or F2) you need to complete the process with
CTRL+SHIFT+ENTER not just ENTER

2) That is a very poor example when SUMPRODUCT is so much simpler to use.
SUMPRODUCT does not need CTRL+SHIFT+ENTER
=SUMPRODUCT(--(A2:A7="Buchanan),--(B2:B7<9000))
For more details see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"RickG" wrote in message
...
Using an example from "Count how often multiple text or number values
occur
by using functions" returns #VALUE! Why? Currently using Excel 2002 with
Add-Ins Conditional Sum Wizard, Solver Add-in, and Lookup Wizard.
fx:
=SUM(IF(A2:A7="Buchanan",IF(B2:B7<9000,1,0)))

I have tried using other examples using COUNT and get same results.
I have two columns, one is a number the other text, that need to match two
logicals to return a sum or count of those that match.
Please help - Thanks, RickG



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Receiving #VALUE! when using examples from Microsoft Excel, wh

Thank you very much Bernard!
CTRL+SHIFT+ENTER works and SUMPRODUCT works great!

"Bernard Liengme" wrote:

1) This is an array function. When you type it in (or open it for editing
with double click or F2) you need to complete the process with
CTRL+SHIFT+ENTER not just ENTER

2) That is a very poor example when SUMPRODUCT is so much simpler to use.
SUMPRODUCT does not need CTRL+SHIFT+ENTER
=SUMPRODUCT(--(A2:A7="Buchanan),--(B2:B7<9000))
For more details see:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"RickG" wrote in message
...
Using an example from "Count how often multiple text or number values
occur
by using functions" returns #VALUE! Why? Currently using Excel 2002 with
Add-Ins Conditional Sum Wizard, Solver Add-in, and Lookup Wizard.
fx:
=SUM(IF(A2:A7="Buchanan",IF(B2:B7<9000,1,0)))

I have tried using other examples using COUNT and get same results.
I have two columns, one is a number the other text, that need to match two
logicals to return a sum or count of those that match.
Please help - Thanks, RickG




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
Excel VBA examples [email protected] Excel Discussion (Misc queries) 1 July 3rd 07 01:47 PM
where can i get some design examples spreadsheets in excel 2000 db310756 Excel Discussion (Misc queries) 1 May 9th 06 12:41 AM
Best Examples of Excel Charts? Tom Excel Discussion (Misc queries) 2 February 14th 06 06:15 PM
Change Excel cell format date type examples ("14-Mar-01") Cogito.ergo.sum Setting up and Configuration of Excel 1 May 17th 05 06:13 PM
Looking for funny Excel examples Zdenek Moravec Excel Discussion (Misc queries) 1 April 12th 05 02:45 PM


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