Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

sumproduct

ResolvedVersion 2007

Hashim has attended:
Excel Intermediate course

SumProduct

I would like to calculate the sum of the salaries for all people who live in Berks, has had a service greater than 5 years, and has a Rover 25 car, using the SumProduct function.

The purpose of using SumProduct is to make all values that are true=1 and false=0 hence we can calculate the SUM when we have 3 true values multiplied with the salary

RE: SumProduct

Hi Hashim

Thank you for your question

Having considered your problem I would recommend using a DSUM function. This function is a database function, which calculates the sum of a particular column depending on values contained in other contigous columns.
The function requires you to specify the following arguments

The area containing the data to be analysed
The column to be summed
The criteria range

The criteria range contains the headings of the criteria columns and the required values.

I have uploaded an example file for your information

Regards

Stephen

Attached files...

DsumExample.xls

Thu 4 Dec 2008: Automatically marked as resolved.

Excel tip:

Autofit column width – Excel (all versions)

a. Highlight the column or columns you wish to alter the width of. You do this by clicking on the grey button at the top of the column showing the column letter. Click and drag on these letters to select more than one column.
b. Double click the dividing line between the columns. This dividing line is the break between the columns on the column headers (grey buttons showing the column letter at the top of each column). When you hover your mouse over one of these dividing lines the point will change and show an arrow pulling a line in two directions. When you have this mouse pointer you should double click to get Excel to automatically set the column width to fit the contents of the column (autofit)

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.