View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Andy the yeti
 
Posts: n/a
Default Multiple Sum, based on criteria

Thank you very much, those options are pefect.

Have a great Xmas all !!

A.

"ikr" wrote:

"Andy the yeti" wrote in message
...
Hi all,

Many thanks if you can help me with this.

I have a table of 5 columns and 330 rows of data, in column A, each cell
has
one of the numbers from 1 to 8. So for example 4 could be repeated around
40
times.

What I would like to do is add up all the numbers in columns B, C, D & E
dependant on which one of the 8 numbers is in column A. So I would get a
total for all the 1's, a total for all the 2's etc at the bottom of each
of
the columns

Hope this makes sense and thank you


Andy


Use SUMPRODUCT to test multiple criteria (SUMIF can use only one criterion).

See this:

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

Ian