LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default Sumproduct if column begins with text

=SUMPRODUCT(--(LEFT(A2:A200,1)="Q"),--(B2:B200="Y"))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"webee33" wrote in
message ...

Hi. I've searched for half an hour to see if this question has already
been answered, and I'm not having any luck.

I have a detail sheet with multiple fields. I need to count when one
field begins with a Q and when another field equals "Y". When I know
the exact values I need (rather than a 'begins with') I can easily use
sumproduct. This one is tripping me up, though.

For example:

A1 B1
Q.501.1 Y
E.504.3 N
Q.505.4 Y

It should come up with two for the first and third rows of data in this
case. Make sense? Any help would be appreciated.


--
webee33
------------------------------------------------------------------------
webee33's Profile:

http://www.excelforum.com/member.php...o&userid=28171
View this thread: http://www.excelforum.com/showthread...hreadid=479235



 
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
Formula to lookup Multiple Column Text and then Count Result ShelbyMan Excel Worksheet Functions 2 August 22nd 05 01:43 AM
How I can print full text bigger than column, in repeat column Prince Excel Discussion (Misc queries) 0 August 11th 05 07:28 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Search a Column by text length kb_63 Excel Worksheet Functions 2 May 6th 05 09:17 PM
another text to column problem gbeard Excel Worksheet Functions 11 May 5th 05 07:20 AM


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