OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Counting column entry only if another column entry is blank

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
boles4357
Newbie
Newbie


Joined: 07 Jun 2012
Posts: 2

PostPosted: Thu Jun 07, 2012 9:13 am    Post subject: Counting column entry only if another column entry is blank Reply with quote

Want to count the name (# of occurances) in column A only if the value in column B of the same row is blank

A B

Baker YES
Jones YES
Gray
Red YES
Baker
Baker

Tried this one, but no dice
=COUNTIF(A4:A10000,"Baker")+COUNTIF(B4:B10000,"")


Help appreciated and thanks in advance
Back to top
View user's profile Send private message
karolus
OOo Advocate
OOo Advocate


Joined: 22 Jun 2011
Posts: 210

PostPosted: Thu Jun 07, 2012 9:28 am    Post subject: Reply with quote

Hallo

Code:
=SUMPRODUCT(A4:A10000="Baker" ; B4:B10000="" )


Karo
Back to top
View user's profile Send private message
boles4357
Newbie
Newbie


Joined: 07 Jun 2012
Posts: 2

PostPosted: Thu Jun 07, 2012 10:39 am    Post subject: Reply with quote

karolus wrote:
Hallo

Code:
=SUMPRODUCT(A4:A10000="Baker" ; B4:B10000="" )


Karo


Perfect- Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group