Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JohnT
 
Posts: n/a
Default How to count B if C=Bob

I have a spreadsheet with data in column B that I want to show in Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in

Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!


  #3   Report Post  
JohnT
 
Posts: n/a
Default

Sorry, I may be dense but how does that reference C?


"Frank Kabel" wrote:

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in

Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!



  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
sorry, maybe I misunderstood you (would be better if you provide some
example data). But maybe in D1
=IF(C1="Bob",B1,"")
and copy down?

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
Sorry, I may be dense but how does that reference C?


"Frank Kabel" wrote:

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in

Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!




  #5   Report Post  
JohnT
 
Posts: n/a
Default

Thanks Frank!
I did =COUNTIF(B:C,"Bob") and that worked but I guess I didn't explain my
problem correctly. I need the total of the amounts entered in column B when
C=Bob not the number of entries. I tried SUMIF but that doesn't make sense...

"Frank Kabel" wrote:

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in

Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!





  #6   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
maybe
=SUMIF(C:C,"Bob",B:B)

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
Thanks Frank!
I did =COUNTIF(B:C,"Bob") and that worked but I guess I didn't

explain my
problem correctly. I need the total of the amounts entered in column

B when
C=Bob not the number of entries. I tried SUMIF but that doesn't make

sense...

"Frank Kabel" wrote:

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in

Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!




  #7   Report Post  
JohnT
 
Posts: n/a
Default

Thanks Frank. It worked like a charm!

"Frank Kabel" wrote:

Hi
maybe
=SUMIF(C:C,"Bob",B:B)

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
Thanks Frank!
I did =COUNTIF(B:C,"Bob") and that worked but I guess I didn't

explain my
problem correctly. I need the total of the amounts entered in column

B when
C=Bob not the number of entries. I tried SUMIF but that doesn't make

sense...

"Frank Kabel" wrote:

Hi
try
=COUNTIF(B:B,"Bob")

--
Regards
Frank Kabel
Frankfurt, Germany

"JohnT" schrieb im Newsbeitrag
...
I have a spreadsheet with data in column B that I want to show in
Column D if
column C = Bob
I tried COUNTIF but can't get it happening.
Thanks in advance!




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
filter and count rexmann Excel Discussion (Misc queries) 2 November 30th 04 02:11 PM
Count occurences between dates DJ Dusty Excel Worksheet Functions 3 November 11th 04 12:25 AM
Count If Formula Mimi Excel Worksheet Functions 0 November 5th 04 11:55 AM
count based on two fields - need quickly JO Excel Worksheet Functions 1 November 1st 04 09:44 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 07:55 PM.

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"