Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tw5633
 
Posts: n/a
Default How do I sum with 3 reference columns?

I want to show the total sales dollars for a salesperson. Basically saying
IF column I=DP and Column N=S,=Sales by sales person. Any suggestions would
be appreciated.


Column I Column L Column N
Salesman $ Amount Status
DP 14000 S
DP 20000 NI
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUMPRODUCT(--($I$2:$I$40="DP"),--($N$2:$N$40="S"),$L$2:$L$40)

tw5633 wrote:
I want to show the total sales dollars for a salesperson. Basically saying
IF column I=DP and Column N=S,=Sales by sales person. Any suggestions would
be appreciated.


Column I Column L Column N
Salesman $ Amount Status
DP 14000 S
DP 20000 NI


--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.
  #3   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

You may try this out (Ctrl+Shift+Enter):

=sum(if((range1="DP")*(range2="S"),sumrange))

Regards,

Ashish

"tw5633" wrote:

I want to show the total sales dollars for a salesperson. Basically saying
IF column I=DP and Column N=S,=Sales by sales person. Any suggestions would
be appreciated.


Column I Column L Column N
Salesman $ Amount Status
DP 14000 S
DP 20000 NI

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
Help with grouping columns couriced New Users to Excel 5 September 2nd 05 05:07 PM
how to combine several columns into a single column jims Excel Discussion (Misc queries) 9 August 15th 05 12:00 PM
Absolute Worksheet reference number Tony M Excel Discussion (Misc queries) 4 March 21st 05 06:10 PM
How do I reference non-contiguous columns in another sheet and th. Bill Nash Excel Discussion (Misc queries) 3 March 3rd 05 05:47 PM
Counting the Contents of Two Columns Molochi Excel Discussion (Misc queries) 6 December 22nd 04 08:13 PM


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

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"