Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BM
 
Posts: n/a
Default How to sum items from column A only if Column B row equals X

Hi all,

Here's an example of whan I'm trying to do:

Column A Column B
1 Add
2 Don't
3 Add
4 Don't


Add values in Column A if the cell to the left of them equals "Add" ...
result should be 4


Any help would be appreciated.

Blue


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMIF(B1:B4,"Add",A1:A4)

--
HTH

Bob Phillips

"BM" wrote in message
...
Hi all,

Here's an example of whan I'm trying to do:

Column A Column B
1 Add
2 Don't
3 Add
4 Don't


Add values in Column A if the cell to the left of them equals "Add" ...
result should be 4


Any help would be appreciated.

Blue




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
calculating 10 percentage of items in a column ysymon Excel Discussion (Misc queries) 2 August 24th 05 04:16 PM
Filter based on a column of items Pasko1 Excel Discussion (Misc queries) 1 August 22nd 05 11:56 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
how can I list items in a column with totals? andy Excel Discussion (Misc queries) 4 February 22nd 05 08:30 PM


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