Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pw034
 
Posts: n/a
Default Lookup One Column - Sum Another


I have a spreadsheet that contains text in one column and then dollar
amounts in the other. I am looking for a way to search the text and
sum all the dollar amounts that equal the text. Example:

COLUMN A[/b] [b]COLUMN B
$1,500.00 CD
$1,000.00 CD
$5,000.00 CD
$7,724.40 CL
$2,000.00 CL
$2,183.08 CL

I am looking for a formula that will search for CD (located in column
B) and sum all the amounts (located in column A), search for CL
(located in column B) and sum all those amounts (located in Column A)
and so on.

So in this example, CD=$7,500.00 and CL=$11,907.48

Thank you in advance for the help!

Paul


--
pw034
------------------------------------------------------------------------
pw034's Profile: http://www.excelforum.com/member.php...fo&userid=7091
View this thread: http://www.excelforum.com/showthread...hreadid=496570

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Lookup One Column - Sum Another

=SUMIF(B:B,"CD",A:A)

do the same for CL or replace both by a cell reference where you can type in
the criteria
e.g.

=SUMIF(B:B,E1,A:A)



--
Regards,

Peo Sjoblom

(No private emails please)


"pw034" wrote in
message ...

I have a spreadsheet that contains text in one column and then dollar
amounts in the other. I am looking for a way to search the text and
sum all the dollar amounts that equal the text. Example:

COLUMN A[/b] [b]COLUMN B
$1,500.00 CD
$1,000.00 CD
$5,000.00 CD
$7,724.40 CL
$2,000.00 CL
$2,183.08 CL

I am looking for a formula that will search for CD (located in column
B) and sum all the amounts (located in column A), search for CL
(located in column B) and sum all those amounts (located in Column A)
and so on.

So in this example, CD=$7,500.00 and CL=$11,907.48

Thank you in advance for the help!

Paul


--
pw034
------------------------------------------------------------------------
pw034's Profile:
http://www.excelforum.com/member.php...fo&userid=7091
View this thread: http://www.excelforum.com/showthread...hreadid=496570


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pw034
 
Posts: n/a
Default Lookup One Column - Sum Another


That did it! Than you so much :)


--
pw034
------------------------------------------------------------------------
pw034's Profile: http://www.excelforum.com/member.php...fo&userid=7091
View this thread: http://www.excelforum.com/showthread...hreadid=496570

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
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM
2 Column Data lookup Hari Excel Discussion (Misc queries) 2 June 15th 05 07:54 AM
Column Lookup N Harkawat Excel Discussion (Misc queries) 1 June 14th 05 03:39 PM
Lookup then Match and insert value from next column Tenacity Excel Worksheet Functions 3 March 4th 05 02:49 AM
How to lookup data in a row and column Confused Excel Discussion (Misc queries) 5 January 10th 05 08:20 PM


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