Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bSB bSB is offline
external usenet poster
 
Posts: 1
Default Counting multiple cells containing text.

I am trying to track 3 error types (type1, type2, type3) for two different
regions (region1, region2). Column D (D10:D20) lists the regions in varying
orders while Columns G,H,I (G10:I20) list the error types if there is one.

Ex: ~Row 10 has region1(D10) containing errors: type1(G10) type2(H10)
type3(I10)
~Row 11 has region2(D11) containing errors: type1(G11) type2(H11)
~Row 12 has region1(D12) containing errors: type2(G12)

Every time Column D contains €śregion1€ť I want it to count the corresponding
errors in that row Columns G:I. Same for €śregion2€ť.

So in my example region1 should have 4 errors while region2 should have 2
errors. Hope this makes sense, I really appreciate the help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting multiple cells containing text.

Try this:

=SUMPRODUCT((D10:D20="region1")*(G10:I20<""))
=SUMPRODUCT((D10:D20="region2")*(G10:I20<""))

I'm assuming that G:I will contain only error types and no other text or
numeric values. So, all you need to do is count those cells in G:I that
aren't empty/blank.

--
Biff
Microsoft Excel MVP


"bSB" wrote in message
...
I am trying to track 3 error types (type1, type2, type3) for two different
regions (region1, region2). Column D (D10:D20) lists the regions in
varying
orders while Columns G,H,I (G10:I20) list the error types if there is one.

Ex: ~Row 10 has region1(D10) containing errors: type1(G10) type2(H10)
type3(I10)
~Row 11 has region2(D11) containing errors: type1(G11) type2(H11)
~Row 12 has region1(D12) containing errors: type2(G12)

Every time Column D contains "region1" I want it to count the
corresponding
errors in that row Columns G:I. Same for "region2".

So in my example region1 should have 4 errors while region2 should have 2
errors. Hope this makes sense, I really appreciate the help.



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
counting text across multiple columns WastingTime Excel Worksheet Functions 3 November 12th 07 06:04 PM
Counting cells using multiple criteria andrew.curley Excel Worksheet Functions 4 June 12th 06 04:41 PM
Counting text in multiple cells. Phil Jenkins Excel Worksheet Functions 8 March 31st 06 04:18 PM
Counting Occurrence of Text within Text in Cells in Range. Jeremy N. Excel Worksheet Functions 1 September 8th 05 05:16 AM
Counting multiple cells using a criteria John Excel Discussion (Misc queries) 1 June 14th 05 04:51 PM


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