Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Excel equivalent of sql group by count

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shikarishambu - 27 Oct 2006 03:04 GMT
I need to do the excel equivalent of sql group by count without pivot tables
etc...

Scenario:

1) I have work sheet with list of clients
2) In another sheet I have all projects for all clients
   One to many relationship between 1) and 2)

I need to report the summary of the project status for a client - 3 live, 2
in progress, 2 delayed.
In this case, there are 7 rows in sheet 2 and the status is a column in the
row with three possible values "live", "in progress" and "delayed"

TIA
Ron Coderre - 27 Oct 2006 12:53 GMT
Maybe something like this:

=SUMPRODUCT((client_col="client_name")*(proj_status_col="live")
=SUMPRODUCT((client_col="client_name")*(proj_status_col="in progress")
=SUMPRODUCT((client_col="client_name")*(proj_status_col="delayed")

where
client_col: the range containing client names
proj_status_col: the range containing project status

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP

> I need to do the excel equivalent of sql group by count without pivot tables
> etc...
[quoted text clipped - 11 lines]
>
> TIA
shikarishambu - 31 Oct 2006 17:09 GMT
Thank you. that worked
> Maybe something like this:
>
[quoted text clipped - 31 lines]
>>
>> TIA
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.