+ Reply to Thread
Results 1 to 3 of 3

Table Assistance

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Table Assistance

    I have a spreadsheet schedule that can be sorted by department, bannermanger1, or bannermanger2.

    I'm trying to populate a table that has rows listing manger1, manage2, etc. and column headers listing cyclea, cycleb etc. where a cycle represents a specific date range on the schedule. For example, cycle a refers to all the events happening on the schedule between 12/7 - 1/4.

    I'd like to populate cell1 [ manager1, cyclea ] with the count of all instances of 'pst' for that manger during that specific date range.

    The user needs to be able to sort department, bannermanger1, or bannermanger2 without affecting the data within the table.

    This was our initial attempt, but it only allows the user to sort by department. If we sort by bannermanager1, the data in the table is no longer correct.

    =COUNTIF(OFFSET('2013'!$A$17,$T60,W$58,1,1):OFFSET('2013'!$A$17,$U60,W$59,1,1),"PST")

    Your assistance is greatly appreciated.

    In the instance below cyclea and cycleb refers to three weeks on the calendar.

    cyclea begins cycleb begins
    manager1 PST PST
    manager1 PST
    manager1 PST PST
    manager2 PST PST
    manager2 PST

    and here's the table to populate the PST counts :

    cyclea cycleb
    manager1
    manager2

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Table Assistance

    Hi,

    In the absence of your actual workbook I find it difficult to comment with any certainty since I for one don't fully understand your request.
    For instance I don't see what the problem is with a straightforward sort assuming you are including all the data. i.e. I don't understand your statement about the data in the table no longer being correct.

    However a couple of suggestions spring to mind.

    If you're trying to count items which involve two or more criteria, and since you have Excel 2007, use COUNTIFS() rather than the old COUNTIF().

    Have you considered Data Advanced Filter rather than Sorting?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Table Assistance

    Thank you Richard. I suppose I need to work on wording. Newbie.

    No experience with Data Advanced Filter, but I'll research it, as well as, the COUNTIFS approach.

    The Endgame is a Chart which will adapt to the changes we make to the schedule.

    ---------- Post added at 02:13 PM ---------- Previous post was at 02:11 PM ----------

    This is my base question : How many "PST's" does "manager1" have during "cyclea"?

+ 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