Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tom tom is offline
external usenet poster
 
Posts: 570
Default If Formula question Excel 2003

What is the proper syntax in Excel 2003 for the following:

If cells A6:A20="Tom" and cells B6:B20="a" then count the number of "a" in
cells B6:B20.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default If Formula question Excel 2003

Try this:

=Sumproduct((A6:A20="Tom")*(B6:B20="a")*B6:B20)

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Tom" wrote in message
...
What is the proper syntax in Excel 2003 for the following:

If cells A6:A20="Tom" and cells B6:B20="a" then count the number of "a" in
cells B6:B20.

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default If Formula question Excel 2003

Drop the last argument ! ! !

=Sumproduct((A6:A20="Tom")*(B6:B20="a"))
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Tom" wrote in message
...
What is the proper syntax in Excel 2003 for the following:

If cells A6:A20="Tom" and cells B6:B20="a" then count the number of "a" in
cells B6:B20.

Thanks!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 303
Default If Formula question Excel 2003

I assume you want to know the number of times
that both conditions are met.

=SUMPRODUCT((A6:A20="Tom")*(B6:B20="a"))


Greetings from New Zealand

"Tom" wrote in message
...
What is the proper syntax in Excel 2003 for the following:

If cells A6:A20="Tom" and cells B6:B20="a" then count the number of "a" in
cells B6:B20.

Thanks!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default If Formula question Excel 2003

On Jan 5, 2:27*pm, "Bill Kuunders" wrote:
I assume you want to know the number of times
that both conditions are met.

=SUMPRODUCT((A6:A20="Tom")*(B6:B20="a"))

Greetings from New Zealand

"Tom" wrote in message

...



What is the proper syntax in Excel 2003 for the following:


If cells A6:A20="Tom" and cells B6:B20="a" then count the number of "a" in
cells B6:B20.


Thanks!- Hide quoted text -


- Show quoted text -


If you wish to count only the occurance of "a" in conlum B try
countif(B6:B20,"a").
If you need to tie "Tom" and "a" togeather so both conditions must be
met try =IF(AND(A6="TOM",B6="A"),"A","") placed in column C then use
the countif statement adjusted to column C.

Regards

BigD


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
Question for MVP - install Excel 2003 on MS Server 2003 WCM Setting up and Configuration of Excel 4 February 13th 08 06:59 PM
Crazy Excel 2003 Formula Question Marilyn Excel Discussion (Misc queries) 4 February 9th 07 10:57 PM
Excel 2003 Question Marilyn Excel Discussion (Misc queries) 0 December 22nd 06 08:24 PM
excel 2003 question CorinDarksoul Excel Worksheet Functions 5 June 26th 06 05:05 PM
Question about Excel 2003 Jason Excel Discussion (Misc queries) 1 April 27th 05 03:53 PM


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