LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
LPS LPS is offline
external usenet poster
 
Posts: 108
Default EXcel 2000 IF-AND Statement

I have a workbook with two sheets: Evaluation Detail and Evaluation Summary.
On Evaluation Detail, I have a column with course numbers (Column B) and
another with Instructor Names (Column F). On the Evaluation Summary sheet I
want to count the number of course numbers if the Instructor name is
specific. I have created an IF-AND statement which includes the COUNTA
function (I have also tried using the COUNT function):

=IF(AND('Evaluation Detail'!$B$7:$B$499<0,'Evaluation
Detail'!$F$7:$F$499="Linda Sgabellone"),COUNTA('Evaluation
Detail'!$B$7:$B$499),0)

This returns a result of 0 (zero), even though there are two occurrences
which should match. If I simply do a COUNTA, I get the correct answer but as
soon as I combine COUNTA (or COUNT) with the IF statement, it returns an
incorrect result.

Any suggestions?
All help is greatly appreciated.
--
LPS
 
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
Excell 2000 IF Statement LPS Excel Discussion (Misc queries) 1 September 18th 08 02:05 AM
How do you run a Macro from an IF statement in Excel 2000? Rosey Excel Worksheet Functions 1 April 27th 06 04:55 PM
I cannot edit cell format in Excel 2000 (Part of office 2000)! Brett Excel Discussion (Misc queries) 1 April 12th 06 05:58 PM
If then statement Excell 2000 holy dog Setting up and Configuration of Excel 2 December 16th 05 04:47 PM
Hyperlink in Excel 2000 can't open bookmarked Word 2000 file DCheslock Excel Discussion (Misc queries) 1 May 5th 05 10:46 PM


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