Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default count the # of times "name" is in E and "x" in F are in the same r

Not exactly sure how to describe it best. Just need a tally of the times a
two different names in two different columns are on the same row. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default count the # of times "name" is in E and "x" in F are in the same r

Try something like this...

=SUMPRODUCT(--(A2:A10="Biff"),--(B2:B10="Betty"))

Better to use cells to hold the criteria.

D2 = Biff
E2 = Betty

=SUMPRODUCT(--(A2:A10=D2),--(B2:B10=E2))

If you happen to be using Excel 2007:

=COUNTIFS(A2:A10,D2,B2:B10,E2)

--
Biff
Microsoft Excel MVP


"Nielly" wrote in message
...
Not exactly sure how to describe it best. Just need a tally of the times
a
two different names in two different columns are on the same row. Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default count the # of times "name" is in E and "x" in F are in the same r

Hi,

In 2007:

=COUNTIFS(E1:E9,"Shane",F1:F9,"x")

or if the name is in A1

=COUNTIFS(E1:E9,A1,F1:F9,"x")


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Nielly" wrote:

Not exactly sure how to describe it best. Just need a tally of the times a
two different names in two different columns are on the same row. 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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Count(if(A3:A200)="100000" if (B3:B200="Y") and (C3:C200=Z))) Prasad Excel Discussion (Misc queries) 2 June 27th 06 06:39 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


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