#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 145
Default =countif ???

yes it worked too thanks!

"Dave F" wrote:

The ranges need to be the same size. Use C2:C5054.

Also, use the first formula you give below. The one I gave you is incorrect.

Dave
--
Brevity is the soul of wit.


"Tammy" wrote:

Dear guys - I tried both:

=SUMPRODUCT(--('Utilization Detail'!B2:B5054="tul"),--('Utilization
Detail'!C2:C5000="Agent"))


=SUMPRODUCT(('Utilization Detail'!B2:B5054="tul"),('Utilization
Detail'!C2:C5000="Agent"))

and both return #Value! errors? Any advice please?
"bj" wrote:

if you want to count when both criteria are met try
=sumproduct(--('Utilization Detail'!B1:B1000="lex"),--('Utilization
Detail'!C1:C1000="Agent"))
with sumproduct, you can't use the shorthand for entire columns or rows
the "--(" changes the true/false logic response to 1/0 numeric.

if you want when either are met try
=COUNTIF('Utilization Detail'!B:B,"lex") + ('Utilization Detail'!C:C,"Agent")

"Tammy" wrote:

Can I specify two columns to pull info from? For example - what is wrong
with this formula?

COUNTIF('Utilization Detail'!B:B,"lex") AND ('Utilization Detail'!C:C,"Agent")

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
Is the equation: =COUNTIF B:B, <9/31/2005 AND 9/1/2005 possible? fireofeve Excel Worksheet Functions 4 June 6th 06 02:01 PM
use =countif to generate returns from more than one column petess Excel Discussion (Misc queries) 7 April 3rd 06 04:03 PM
using =COUNTIF to count two text values John in Surrey Excel Worksheet Functions 1 October 25th 05 07:05 PM
does the =COUNTIF have to be a range? Xanadude Excel Worksheet Functions 2 April 21st 05 08:31 AM
=COUNTIF How to if 2 or more arguments??? Trixie Excel Worksheet Functions 1 March 3rd 05 07:55 PM


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