+ Reply to Thread
Results 1 to 3 of 3

macro/formula to count distinct resources and match to location

  1. #1
    Registered User
    Join Date
    09-16-2009
    Location
    belfast
    MS-Off Ver
    Excel 2003
    Posts
    24

    macro/formula to count distinct resources and match to location

    Hi

    i am looking to create a small table from the attached worksheet that will show how many users there are for 3 different locations, the user names are in column a and the locations in column c.

    the thing is, the actual worksheet i am using in work contains almost 1000 lines, and is being updated daily, there can be multiple entries for a person for projects etc.. and someone can even be in the availability and pto area's without being in the main project area..
    each resource can only be on one location so that will not change.

    also, there can be blank cells for resource which should not be counted.

    i was wondering if there was a formula or a macro that would count the distinct number of names and reference them to the location and give a count of resources by location?

    does anyone have any suggestions?
    the actual worksheet is huge, and has lots of different sections, but the columns are the same so the distinct of names matched to the 3rd column would work for the whole sheet.

    Many Thanks
    Neill
    Attached Files Attached Files
    Last edited by nikoniko; 10-08-2009 at 12:44 PM.

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: macro/formula to count distinct resources and match to location

    Hi, Try Code Button on sheet (2) of your returned File.
    Regards Mick
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-16-2009
    Location
    belfast
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: macro/formula to count distinct resources and match to location

    thats excellent mate, thanks, i will be able to adapt that to the bigger worksheet

    many thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1