Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match Index | Excel Worksheet Functions | |||
Look up data in colum a and find match in colum b | Excel Discussion (Misc queries) | |||
Look up data in colum a and find match in colum b | Excel Discussion (Misc queries) | |||
Find a match that;s not exact | Excel Worksheet Functions | |||
Vlookup, Index & Match | Excel Worksheet Functions |