#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Counting 3 columns?

I have 3 columns with different text values. I want to know the # of times
col a = texta, and col b=textb and colc = text c - how do I do this in excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Counting 3 columns?

I'm going to assume that only columns A:C are in use, so we can use D, E, F,
G and H. Otherwise find 5 other columns to use.

For column D we will enter a formula to combine A, B and C into one long
text value (assume we start on row 2 and go down to row 100 with the entries)
=A2 & B2 & C2
fill that formula on down to row 100.

Lets say you're looking for "able" in column A, "baker" in column B and
"charlie" in column C.
in 3 cells put the 3 words/phrases you're seeking as
E1 = "able"
F1 = "baker"
G1 = "charlie"
Then the counting formula in H1:
=COUNTIF(D:D,E1 & F1 & G1)
change the entries in E1, F1 and G1 to look for other groupings in A, B and C
done.

Hope this helps.


"Owen" wrote:

I have 3 columns with different text values. I want to know the # of times
col a = texta, and col b=textb and colc = text c - how do I do this in excel?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Counting 3 columns?

Trying again - hope this doesn't turn out to be a double post.

Assume your list goes from A2 down to C100. Assume columns D, E, F, G and H
are available for us to use; all of column D and at least 1 row in E:H.
in D2 put formula:
=A2 & B2 & C2
fill that formula down to row 100 (end of your list).

In E1 put the word/phrase you're seeking in column A, in F1 put the
word/phrase you're seeking in column B and same for G1 and column C phrase.
In H1 put this formula:
=COUNTIF(D:D,E1 & F1 & G1)
just change entries in E1, F1 and G1 to count various groupings.

Hope this helps.


"Owen" wrote:

I have 3 columns with different text values. I want to know the # of times
col a = texta, and col b=textb and colc = text c - how do I do this in excel?

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 in columns Deb Excel Worksheet Functions 5 June 11th 09 09:51 AM
counting in columns Mrs T.[_2_] Excel Worksheet Functions 15 May 2nd 09 11:44 PM
counting in columns Mrs T. Excel Worksheet Functions 9 May 2nd 09 10:13 PM
Counting in Columns Bernie R. Excel Worksheet Functions 4 February 11th 08 07:28 PM
counting columns jpcblood Excel Worksheet Functions 1 August 10th 05 12:41 AM


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