+ Reply to Thread
Results 1 to 2 of 2

COUNTIF and relative offsets from current cells

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Madison, WI
    MS-Off Ver
    Excel 2003
    Posts
    1

    COUNTIF and relative offsets from current cells

    I am stumped on how to do the following:
    I have a set of resources (programmers) and I want to see how many work packages they have assigned per sprint for load balancing purposes. I have a primary and secondary programmer for most packages. In the spreadsheet I have the packages, the programmers, an X for the sprints that they will do the work in. I also have in same spreadsheet the names of the programmers and I want to compute the number of packages they are working per sprint. The goal is that be 1 per sprint. I cannot come up with a formula for it. Here is a manual depiction. Note that I want to compute the loadings automatically.

    Package Prim Second Sprint1 Sprint2 Sprint3
    wp1 ProgA ProgC X X
    wp2 ProgB X
    wp3 ProgD ProgA X X


    ProgA 1 2 1
    ProgB 0 1 0
    ProgC 1 1 0
    ProgD 0 1 1

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: COUNTIF and relative offsets from current cells

    A sample file would help here but given what you have and your version (2003) you'd be looking at a SUMPRODUCT which is not overly efficient.

    Given the above I'd suggest you revise approach slightly such that:

    a) X is replaced by 1 (use custom format to have 1 appear as "X")

    b) create a concatenation of Primary & Second programmer in another column

    With both of the above in place you can use a basic and efficient SUMIF approach - attached is a rough example of the above.
    Attached Files Attached Files

+ 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