Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gupta A.
 
Posts: n/a
Default SumIF full columns, multiple conditions

In column A:A, B:B, i have data. I want a formula to count the number of
times the two pieces of data appaer in the same row. For example if A:A
contains
1
2
3 and B:B contains
A
B
C
I would like it to count the number of times B appears next to the number 1.
I need this done for an entire column, and looking through past helps
questions I get the idea that pivot tables would be useful here, however I
dont want to use them. Is there any other solution? (In essence its a SUM if
formula with two conditions)
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default SumIF full columns, multiple conditions

=SUMPRODUCT(--A1:A65535=1),--(B1:B65535="A"))

Note that array function don't work with complete columns, you have to
specify a range.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Gupta A." wrote in message
...
In column A:A, B:B, i have data. I want a formula to count the number of
times the two pieces of data appaer in the same row. For example if A:A
contains
1
2
3 and B:B contains
A
B
C
I would like it to count the number of times B appears next to the number

1.
I need this done for an entire column, and looking through past helps
questions I get the idea that pivot tables would be useful here, however I
dont want to use them. Is there any other solution? (In essence its a SUM

if
formula with two conditions)



  #3   Report Post  
Posted to microsoft.public.excel.misc
mrice
 
Posts: n/a
Default SumIF full columns, multiple conditions


You could consider putting a concatentation formula into column C

= A1 & B1 in cell C1

You could then count how many times "B1" appears in column C


--
mrice

Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile: http://www.excelforum.com/member.php...o&userid=10931
View this thread: http://www.excelforum.com/showthread...hreadid=544850

  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default SumIF full columns, multiple conditions

Typo

=SUMPRODUCT(--(A1:A65535=1),--(B1:B65535="A"))


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Bob Phillips" wrote in message
...
=SUMPRODUCT(--A1:A65535=1),--(B1:B65535="A"))

Note that array function don't work with complete columns, you have to
specify a range.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Gupta A." wrote in message
...
In column A:A, B:B, i have data. I want a formula to count the number

of
times the two pieces of data appaer in the same row. For example if A:A
contains
1
2
3 and B:B contains
A
B
C
I would like it to count the number of times B appears next to the

number
1.
I need this done for an entire column, and looking through past helps
questions I get the idea that pivot tables would be useful here, however

I
dont want to use them. Is there any other solution? (In essence its a

SUM
if
formula with two conditions)





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
SUMIF with multiple criteria macquarl Excel Discussion (Misc queries) 4 January 5th 06 02:18 AM
SUMIF on multiple sheets JJackson Excel Worksheet Functions 5 December 27th 05 11:43 PM
making multiple columns when printing long datasheet Piet Excel Discussion (Misc queries) 1 November 11th 05 04:00 AM
SUMIF and MULTIPLE DATA Brian Excel Discussion (Misc queries) 2 March 23rd 05 05:20 AM
Sum(if ... multiple conditions ... Interpretation? Ken Excel Discussion (Misc queries) 6 December 16th 04 10:23 PM


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