Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
hadmybreaktoday
 
Posts: n/a
Default Help needed in finding specific series via row.


I need help in finding how many rows contain a common series. For
example, if cells A1-A5, B1-B5, and C1-C5 all contain a single-digit
value of either 1, 2, or 3, I need to know what function to use that
tells me how many rows contain the following series, 2, 1, 2, in that
order. I have created a rough visual below. As you can see, 2 rows
contain the series 2, 1, 2. The formula I am looking for would return
to me the value of "2" since rows 4 and 5 both contain that specific
series. I am working with a data pool that contains 130 different
reference points (the column titles) and each refrence point has 140
data entries. I need to compare several colums to one another and do
not want to have to pick out a specific series manually. Any help will
be greatly appreciated!

A B C
2 2 1
2 3 3
2 1 2
2 1 2
3 2 3


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile: http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(A1:A5=2),--(B1:B5=1),--(C1:C5=2))

Biff

"hadmybreaktoday"
<hadmybreaktoday.1u0zeq_1124478361.2743@excelfor um-nospam.com wrote in
message news:hadmybreaktoday.1u0zeq_1124478361.2743@excelf orum-nospam.com...

I need help in finding how many rows contain a common series. For
example, if cells A1-A5, B1-B5, and C1-C5 all contain a single-digit
value of either 1, 2, or 3, I need to know what function to use that
tells me how many rows contain the following series, 2, 1, 2, in that
order. I have created a rough visual below. As you can see, 2 rows
contain the series 2, 1, 2. The formula I am looking for would return
to me the value of "2" since rows 4 and 5 both contain that specific
series. I am working with a data pool that contains 130 different
reference points (the column titles) and each refrence point has 140
data entries. I need to compare several colums to one another and do
not want to have to pick out a specific series manually. Any help will
be greatly appreciated!

A B C
2 2 1
2 3 3
2 1 2
2 1 2
3 2 3


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile:
http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327



  #3   Report Post  
hadmybreaktoday
 
Posts: n/a
Default


Thank you very much, Biff! You just saved me alot of work!


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile: http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327

  #4   Report Post  
hadmybreaktoday
 
Posts: n/a
Default


Hey Biff, I spoke too soon. I re-created my example in Excel and copy
amd pasted your formula and it worked perfectly, however, when I try to
recreate the formula for my list, Excel gives me an answer of "0". Here
is the formula I tried to use:

=SUMPRODUCT(--(C2:C134=0),--(D2:D134=20))

Column C is made up of 133 entries of either "0" or "1" while
column D is made up of 133 entries ranging from "18" to "22". The
formula appears to be correct, however Excel still returns me value of
"0" when I should be getting an answer of atleast 20 because I counted
the cells twice. Could you let me know what I am doing wrong here,
please?


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile: http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327

  #5   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Are you sure the values in your table are real numbers and not just TEXT
that looks like numbers?

Try this:

=SUMPRODUCT(--(C2:C134="0"),--(D2:D134="20"))

If the above formula works then your values are TEXT.

Biff

"hadmybreaktoday"
<hadmybreaktoday.1u1lmo_1124507138.7369@excelfor um-nospam.com wrote in
message news:hadmybreaktoday.1u1lmo_1124507138.7369@excelf orum-nospam.com...

Hey Biff, I spoke too soon. I re-created my example in Excel and copy
amd pasted your formula and it worked perfectly, however, when I try to
recreate the formula for my list, Excel gives me an answer of "0". Here
is the formula I tried to use:

=SUMPRODUCT(--(C2:C134=0),--(D2:D134=20))

Column C is made up of 133 entries of either "0" or "1" while
column D is made up of 133 entries ranging from "18" to "22". The
formula appears to be correct, however Excel still returns me value of
"0" when I should be getting an answer of atleast 20 because I counted
the cells twice. Could you let me know what I am doing wrong here,
please?


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile:
http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327





  #6   Report Post  
hadmybreaktoday
 
Posts: n/a
Default


Sorry it took so long to reply. I did get to work in a way...in the
function box, it returns me the correct value, but when I hit enter, it
stills shows a "0". It is working though, thanx alot.


--
hadmybreaktoday
------------------------------------------------------------------------
hadmybreaktoday's Profile: http://www.excelforum.com/member.php...o&userid=26463
View this thread: http://www.excelforum.com/showthread...hreadid=397327

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
search a series of rows for a specific formating Harris Excel Worksheet Functions 2 July 30th 05 11:46 PM
How do I color specific data series based on location on data she Havard Charts and Charting in Excel 1 July 1st 05 02:06 PM
What function will check a row for a series of specific numbers? PuzzledK Excel Discussion (Misc queries) 1 May 11th 05 09:20 PM
Finding Specific Text in a Text String Peter Gundrum Excel Worksheet Functions 9 April 10th 05 07:21 PM
Finding specific word in column Phil #3 Excel Worksheet Functions 3 March 28th 05 09:00 AM


All times are GMT +1. The time now is 07:20 AM.

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"