ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum particular items from a list (https://www.excelbanter.com/excel-discussion-misc-queries/15496-sum-particular-items-list.html)

Jeff

sum particular items from a list
 
I have a long list of orders attributed to four different salespeople. I
want to use a function (in a cell at the bottom of the list) to SUM the
value of all the orders in the list which belong to salesman1, ignoring all
the others. Then do the same for salesman2 etc...

Salesman's name is in column A, order value is in column D. I KNOW this is
straightforward, but I just can't figure out how to do it. Help, please!

Thanks



Bob Phillips

=SUMIF(A:A,"Salesman1",D:D)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jeff" <no_em@ilplease wrote in message ...
I have a long list of orders attributed to four different salespeople. I
want to use a function (in a cell at the bottom of the list) to SUM the
value of all the orders in the list which belong to salesman1, ignoring

all
the others. Then do the same for salesman2 etc...

Salesman's name is in column A, order value is in column D. I KNOW this

is
straightforward, but I just can't figure out how to do it. Help, please!

Thanks





Domenic

Try...

=SUMIF(A1:A100,"SalespersonName",D1:D100)

Adjust the range accordingly.

Hope this helps!

In article , "Jeff" <no_em@ilplease wrote:

I have a long list of orders attributed to four different salespeople. I
want to use a function (in a cell at the bottom of the list) to SUM the
value of all the orders in the list which belong to salesman1, ignoring all
the others. Then do the same for salesman2 etc...

Salesman's name is in column A, order value is in column D. I KNOW this is
straightforward, but I just can't figure out how to do it. Help, please!

Thanks


Jeff

Thanks!

"Bob Phillips" wrote in message
...
=SUMIF(A:A,"Salesman1",D:D)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jeff" <no_em@ilplease wrote in message ...
I have a long list of orders attributed to four different salespeople. I
want to use a function (in a cell at the bottom of the list) to SUM the
value of all the orders in the list which belong to salesman1, ignoring

all
the others. Then do the same for salesman2 etc...

Salesman's name is in column A, order value is in column D. I KNOW this

is
straightforward, but I just can't figure out how to do it. Help, please!

Thanks








All times are GMT +1. The time now is 07:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com