Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

COUNTIF or COUNT.... IF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MBS - 27 May 2008 20:25 GMT
Working on Sheet 2, I need to count records from Sheet1 but only want if ColA
= "text1" and ColB = "text2".

COUNTIF(('Sheet1'!A1:A10,"text1")*('Sheet1'!B1:B10,"text2"))

This is the formula I have been playing with that obviously is not working!
Signature

MBS

Teethless mama - 27 May 2008 20:31 GMT
=SUMPRODUCT(--('Sheet1'!A1:A10,"text1"),--('Sheet1'!B1:B10,"text2"))

> Working on Sheet 2, I need to count records from Sheet1 but only want if ColA
> = "text1" and ColB = "text2".
>
> COUNTIF(('Sheet1'!A1:A10,"text1")*('Sheet1'!B1:B10,"text2"))
>
> This is the formula I have been playing with that obviously is not working!
Marcelo - 27 May 2008 20:33 GMT
=sumproduct(--(sheet1!a1:a10="text1")*(sheet1!b1:b10="text2"))

hth
Signature

regards from Brazil
Thanks in advance for your feedback.
Marcelo

> Working on Sheet 2, I need to count records from Sheet1 but only want if ColA
> = "text1" and ColB = "text2".
>
> COUNTIF(('Sheet1'!A1:A10,"text1")*('Sheet1'!B1:B10,"text2"))
>
> This is the formula I have been playing with that obviously is not working!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.