Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Question about SumIF


Hello,
I know this is really confusing, but...anyway....
Say for example I have 4 columns of data, the first contains, say, the
name of the sales man, second column contains the name of a client and
and the third column contains different projects and are mixed
together, the forth contains the number of hours of the sales man spend
on this particular client and in this particular project, a sales man
could spend time on multiple projects and of course, a client with
multiple project may be given to different salesman. Now I want to know
how many hours altogether does a parituclar salesman spend on all the
projects for a particular client by constructing a separate sheet in
this work book, is there a chance I could do that using sumif? Or is
there any better suggestion? Thanks a lot!

Regards,
Anyi


--
zhuanyi
------------------------------------------------------------------------
zhuanyi's Profile: http://www.excelforum.com/member.php...o&userid=37361
View this thread: http://www.excelforum.com/showthread...hreadid=570563

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Question about SumIF

Hazarding a thought .. believe using a pivot table would be a good start to
help unravell some of the many underlying intents expressed
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"zhuanyi" wrote:

Hello,
I know this is really confusing, but...anyway....
Say for example I have 4 columns of data, the first contains, say, the
name of the sales man, second column contains the name of a client and
and the third column contains different projects and are mixed
together, the forth contains the number of hours of the sales man spend
on this particular client and in this particular project, a sales man
could spend time on multiple projects and of course, a client with
multiple project may be given to different salesman. Now I want to know
how many hours altogether does a parituclar salesman spend on all the
projects for a particular client by constructing a separate sheet in
this work book, is there a chance I could do that using sumif? Or is
there any better suggestion? Thanks a lot!

Regards,
Anyi


--
zhuanyi
------------------------------------------------------------------------
zhuanyi's Profile: http://www.excelforum.com/member.php...o&userid=37361
View this thread: http://www.excelforum.com/showthread...hreadid=570563


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Question about SumIF

Another possibility. Say A1:A10 is the salesman name, B1:B10 is the client,
and D1:D10 is the hours. Change ranges as needed. Note that Sumproduct
cannot accomodate entire columns, such as A:A.

=SUMPRODUCT(--(A1:A10="Joe"), --(B1:B10="ABC Corp"), D1:D10)


"zhuanyi" wrote:


Hello,
I know this is really confusing, but...anyway....
Say for example I have 4 columns of data, the first contains, say, the
name of the sales man, second column contains the name of a client and
and the third column contains different projects and are mixed
together, the forth contains the number of hours of the sales man spend
on this particular client and in this particular project, a sales man
could spend time on multiple projects and of course, a client with
multiple project may be given to different salesman. Now I want to know
how many hours altogether does a parituclar salesman spend on all the
projects for a particular client by constructing a separate sheet in
this work book, is there a chance I could do that using sumif? Or is
there any better suggestion? Thanks a lot!

Regards,
Anyi


--
zhuanyi
------------------------------------------------------------------------
zhuanyi's Profile: http://www.excelforum.com/member.php...o&userid=37361
View this thread: http://www.excelforum.com/showthread...hreadid=570563


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Question about SumIF

Of course, I would set up cell references instead of hardcoding the salesman
name and client into the formula.

"JMB" wrote:

Another possibility. Say A1:A10 is the salesman name, B1:B10 is the client,
and D1:D10 is the hours. Change ranges as needed. Note that Sumproduct
cannot accomodate entire columns, such as A:A.

=SUMPRODUCT(--(A1:A10="Joe"), --(B1:B10="ABC Corp"), D1:D10)


"zhuanyi" wrote:


Hello,
I know this is really confusing, but...anyway....
Say for example I have 4 columns of data, the first contains, say, the
name of the sales man, second column contains the name of a client and
and the third column contains different projects and are mixed
together, the forth contains the number of hours of the sales man spend
on this particular client and in this particular project, a sales man
could spend time on multiple projects and of course, a client with
multiple project may be given to different salesman. Now I want to know
how many hours altogether does a parituclar salesman spend on all the
projects for a particular client by constructing a separate sheet in
this work book, is there a chance I could do that using sumif? Or is
there any better suggestion? Thanks a lot!

Regards,
Anyi


--
zhuanyi
------------------------------------------------------------------------
zhuanyi's Profile: http://www.excelforum.com/member.php...o&userid=37361
View this thread: http://www.excelforum.com/showthread...hreadid=570563


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
SUMIF function help PO Excel Worksheet Functions 1 June 1st 06 09:33 AM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM
SUMIF Question Criteria Dave Excel Worksheet Functions 3 February 8th 06 12:48 PM
sumif Question Jason Excel Discussion (Misc queries) 4 March 15th 05 04:11 PM


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