Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Equation required

I am trying to generate an equation to generate the total value in one column
if there are two categories are same in two columns. e.g.
A B C
1 a x 50
2 a y 55
3 b x 90
4 a y 69
5 b y 38

how i can generate the equation while Column A & B are matched.

Regards

Junaid
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pub pub is offline
external usenet poster
 
Posts: 29
Default Equation required

?B?SnVuYWlk?= wrote in
:

I am trying to generate an equation to generate the total value in one
column if there are two categories are same in two columns. e.g.
A B C
1 a x 50
2 a y 55
3 b x 90
4 a y 69
5 b y 38

how i can generate the equation while Column A & B are matched.

Regards

Junaid


this formula will look for a's and y's and sum

=SUMPRODUCT((A1:A5="a")*(B1:B5="y")*(C1:C5))

in this case you get 124
row2 and row4 match and get summed.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Equation required

Hi,

You don't provide a very good example but there's this
=SUMPRODUCT((A1:A5=B1:B5)*(C1:C5))

or this
=SUMPRODUCT((A1:A5="A")*(B1:B5="B")*(C1:C5))

Mike

"Junaid" wrote:

I am trying to generate an equation to generate the total value in one column
if there are two categories are same in two columns. e.g.
A B C
1 a x 50
2 a y 55
3 b x 90
4 a y 69
5 b y 38

how i can generate the equation while Column A & B are matched.

Regards

Junaid

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
Help required Hassan Excel Worksheet Functions 2 July 29th 08 05:38 AM
Help Required kiran Excel Discussion (Misc queries) 3 November 4th 06 05:36 AM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
Help required Sanjeev Excel Discussion (Misc queries) 1 August 25th 05 07:59 AM
VB Required?? Ket Excel Worksheet Functions 3 July 4th 05 07:32 PM


All times are GMT +1. The time now is 01:10 AM.

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"