Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mukesh Garg
 
Posts: n/a
Default Concatenating two formulas

Hi,
I have two seperate data in two seperate columns. say columns are
ABC 123
DEF 456
GHI 789
JKL 012

Now i wish to write a formula that will count the occurance of 123 with
corrosponde to ABC. say for above columns, value would be "1".

i am trying it with COUNTIF, but i am not able to concatenate two COUNTIF's.

Please help

Mukesh
  #3   Report Post  
Mukesh Garg
 
Posts: n/a
Default

Dear Biff,

It is not returning the right value. In my sheet according to cell
information value should be 5 but it is returning "0".

Would this formula wrk???

Suggest

Thanks
Mukesh

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(A1:50="ABC"),--(B1:B50=123))

Better to use cells to hold the criteria:

D1 = ABC
E1 = 123

=SUMPRODUCT(--(A1:50=D1),--(B1:B50=E1))

Biff

"Mukesh Garg" <Mukesh wrote in message
...
Hi,
I have two seperate data in two seperate columns. say columns are
ABC 123
DEF 456
GHI 789
JKL 012

Now i wish to write a formula that will count the occurance of 123 with
corrosponde to ABC. say for above columns, value would be "1".

i am trying it with COUNTIF, but i am not able to concatenate two
COUNTIF's.

Please help

Mukesh




  #4   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=SUMPRODUCT(--(A1:50="ABC"),--(B1:B50="123"))

If that works then your 123 is really TEXT and is not a numeric number. If
that doesn't work post the *EXACT* formula that you tried.

Biff

"Mukesh Garg" wrote in message
...
Dear Biff,

It is not returning the right value. In my sheet according to cell
information value should be 5 but it is returning "0".

Would this formula wrk???

Suggest

Thanks
Mukesh

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(A1:50="ABC"),--(B1:B50=123))

Better to use cells to hold the criteria:

D1 = ABC
E1 = 123

=SUMPRODUCT(--(A1:50=D1),--(B1:B50=E1))

Biff

"Mukesh Garg" <Mukesh wrote in message
...
Hi,
I have two seperate data in two seperate columns. say columns are
ABC 123
DEF 456
GHI 789
JKL 012

Now i wish to write a formula that will count the occurance of 123 with
corrosponde to ABC. say for above columns, value would be "1".

i am trying it with COUNTIF, but i am not able to concatenate two
COUNTIF's.

Please help

Mukesh






  #5   Report Post  
Mukesh Garg
 
Posts: n/a
Default

Hey Biff....

that works....

thanks a lot...

mukesh

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(A1:50="ABC"),--(B1:B50="123"))

If that works then your 123 is really TEXT and is not a numeric number. If
that doesn't work post the *EXACT* formula that you tried.

Biff

"Mukesh Garg" wrote in message
...
Dear Biff,

It is not returning the right value. In my sheet according to cell
information value should be 5 but it is returning "0".

Would this formula wrk???

Suggest

Thanks
Mukesh

"Biff" wrote:

Hi!

Try this:

=SUMPRODUCT(--(A1:50="ABC"),--(B1:B50=123))

Better to use cells to hold the criteria:

D1 = ABC
E1 = 123

=SUMPRODUCT(--(A1:50=D1),--(B1:B50=E1))

Biff

"Mukesh Garg" <Mukesh wrote in message
...
Hi,
I have two seperate data in two seperate columns. say columns are
ABC 123
DEF 456
GHI 789
JKL 012

Now i wish to write a formula that will count the occurance of 123 with
corrosponde to ABC. say for above columns, value would be "1".

i am trying it with COUNTIF, but i am not able to concatenate two
COUNTIF's.

Please help

Mukesh






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
Concatenating IF(AND formulas wellfm Excel Discussion (Misc queries) 3 October 4th 05 07:50 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


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