LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
yozzdi
 
Posts: n/a
Default Adding a column of numbers, with a condition


I'd like to be able to create a cell which is the sum of the values in
column A, but only if the value of column B in the cell beside the
value in Column A is equal to some number (like = 12).

So that for this

col A col B
3 45
30 12
34 12

Sum of Column A where column B is also =12 would be 30+34 = 64

(I'd end up wanting a bunch of cells like this, using different numbers
instead of 12, ie another cell that has the sum of column A where column
B is =11)

What's the best way to do this?


--
yozzdi
------------------------------------------------------------------------
yozzdi's Profile: http://www.excelforum.com/member.php...o&userid=30376
View this thread: http://www.excelforum.com/showthread...hreadid=532909

 
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
Sum/average numbers in column A dependant on value in column B Sue Excel Worksheet Functions 3 March 29th 06 06:39 PM
Adding new numbers as I type without duplicates from Sheet1,ColumnA to Sheet2,ColumnA Master Excel Worksheet Functions 2 July 12th 05 05:03 PM
Adding numbers that meet a condition? carrera Excel Discussion (Misc queries) 3 July 8th 05 02:31 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
I cannot get a column of numbers to sum, why? HHG Excel Worksheet Functions 4 February 8th 05 04:23 AM


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