+ Reply to Thread
Results 1 to 4 of 4

Trying to find a faster solution than array formulas

  1. #1
    Registered User
    Join Date
    09-07-2007
    Posts
    5

    Trying to find a faster solution than array formulas

    So I have this database in excel of manager stats like sales, labor, service times, etc. data.gif And each stat is awarded a number of points based on a formula that calculates the value according to a target. So, what I need to do now is make a manager summary where each shift of a particular manager is listed so that manager can look at a detailed report of each shift and see how many points they got for each category. Like So:shift detail.gif

    The way I did it before is a little trick I got off of the Microsoft excel website:
    {=SMALL(IF(Managers=$C$2,ROW(INDIRECT(B$1))),A6)-ROW(INDIRECT(B$1))+1}
    What it does is pull each shift starting when the first shift that matches the manager name. Now you see, the problem is, as you might have figured out, is if each manager works that 5 days a week and I have 6 managers, and 4 weeks in a month, that 120+ array formula's. That's a lot. I've thought about using a pivot table, but I need to include two rows of data from two different tables. And I wouldn't know where to begin using database functions, besides, I don't see how that would pull out individual shifts.

    So, if there are any suggestions or ideas, let me know, thanks.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    May be these links can offer some help?

    http://www.decisionmodels.com/optspeedj.htm

    http://www.grbps.com/Excel3.pdf
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    09-07-2007
    Posts
    5
    I did it! Here what I did. shift data update.gif Over there on the right I used DMin function (=DMIN(Data, "Index", R6:S7)) that returns the first index value where the manager name is Jamie. Then on the next line I included another criteria that searches for the first index that's greater than the last on. It worked out pretty well. Thanks for you help.

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Well done travkliewer, glad you were able to sort it out - thanks for the feedback

+ 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