#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default MATCH, SUM

I have identifiers in column A which may be duplicated, then I have the
federal tax in column B and state tax in column C. If the identifier is the
same in column A, I would like to sum the B and C columns.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default MATCH, SUM

Hi

Have you considered using a pivot table to summarise the data?

Otherwise, a formula option could include:

=SUMPRODUCT(--(A2:A1000="YourIdentifier"),B2:B1000,C2:C1000)

You would need to replace "YourIdentifier" with whatever identifier
value you have (or with a reference to a cell containing that value).
You can adjust your ranges to suit.

Hope this helps!

Richard


mwoody wrote:

I have identifiers in column A which may be duplicated, then I have the
federal tax in column B and state tax in column C. If the identifier is the
same in column A, I would like to sum the B and C columns.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default MATCH, SUM

try
=sumproduct((a2:a22=id)*b2:c22)

--
Don Guillett
SalesAid Software

"mwoody" wrote in message
...
I have identifiers in column A which may be duplicated, then I have the
federal tax in column B and state tax in column C. If the identifier is
the
same in column A, I would like to sum the B and C columns.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default MATCH, SUM

=SUMPRODUCT(--(COUNTIF(A2:A100,A2:A100)1)*B2:C100)


"mwoody" wrote:

I have identifiers in column A which may be duplicated, then I have the
federal tax in column B and state tax in column C. If the identifier is the
same in column A, I would like to sum the B and C columns.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default MATCH, SUM

My original was wrong, it should be amended:

=SUMPRODUCT(--(A2:A1000="YourIdentifier"),B2:B1000+C2:C1000)

or you could use:

=SUM(IF(A2:A100="Identifier",B2:C100))

which is an array formula confirmed with Ctrl+Shift+Enter

Richard




RichardSchollar wrote:

Hi

Have you considered using a pivot table to summarise the data?

Otherwise, a formula option could include:

=SUMPRODUCT(--(A2:A1000="YourIdentifier"),B2:B1000,C2:C1000)

You would need to replace "YourIdentifier" with whatever identifier
value you have (or with a reference to a cell containing that value).
You can adjust your ranges to suit.

Hope this helps!

Richard


mwoody wrote:

I have identifiers in column A which may be duplicated, then I have the
federal tax in column B and state tax in column C. If the identifier is the
same in column A, I would like to sum the B and C columns.


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
Match Index cjjoo Excel Worksheet Functions 3 October 25th 05 09:33 AM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 22nd 05 01:41 PM
Look up data in colum a and find match in colum b Chris(new user) Excel Discussion (Misc queries) 1 March 19th 05 09:27 PM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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