+ Reply to Thread
Results 1 to 11 of 11

Assistance with Summary of Employee Non Project Calendar

  1. #1
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Assistance with Summary of Employee Non Project Calendar

    Original post seems to have been locked. I have changed the title to comply with Forum Rules.
    Attached Files Attached Files
    Last edited by Cidona; 01-11-2015 at 05:18 PM. Reason: Title change to comply with Forum Rules.

  2. #2
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Help please with formula - guessing a magic combo of Countif and Index or such

    See attachment
    Attached Files Attached Files
    Click (*) if you received helpful response.

    Regards,
    David

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,570

    Re: Help please with formula - guessing a magic combo of Countif and Index or such

    Cidona,
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  4. #4
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Help please with formula - guessing a magic combo of Countif and Index or such

    Original post seems to have been wiped with the title change thing.

    For new readers, I’m looking for a formula for cell C7 on sheet ‘EmployeeLkUp’; that I can then manipulate for the adjacent cells as appropriate.
    The intent is that the user can select an employee in cell B3 and that EmployeeLkUp!C7:N10 would populate with the correct number of Holidays, Public Days, Sick Days

    To Dave that had originally replied; thank you very much for your response, however I'm wondering if it can be done a bit differently.

    I see the way you have it the formula it could be copied across which is cool; however the way the way the actual calendar is set up (not the simplified one I’ve attached on here), the month name is not directly above the days and see below regarding calculation. I would prefer if there was a way of doing this without reference to ‘Dates’ (formatted, etc.).
    Also, the way your formula seems to be working, it is matching the legend exactly. Whereas the intent is that Half Days and Holidays are added together. Same with the Sick and Travel Days.
    Is there a way of just referencing the Calendar!$C$10:$CN$14 and saying … look at cell $B$3 and reference against the list of names in cells on Calendar!$B10:$B14 to determine the right row to be looking at and then perform these formulas for the relevant row.
    Holidays
    =SUM(Calendar!$C$10:$CN$14)
    Sickdays
    =COUNTIF(Calendar!$C$10:$CN$14,"S")+COUNTIF(Calendar!$C$10:$CN$14,"H")*0.5
    Training
    =COUNTIF(Calendar!$C$10:$CN$14,"T")+(COUNTIF(Calendar!$C$10:$CN$14,"HT")*0.5)
    Public
    =COUNTIF(Calendar!$C$10:$CN$14,"P")
    I can change the ‘Calendar!$B$10:$AG$14’ for the various months easy enough.
    Again, thank you very much for your assistance.

  5. #5
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Assistance with Summary of Employee Non Project Calendar

    Hope this what you looking for, see the attachment
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Assistance with Summary of Employee Non Project Calendar

    Thanks again for the reply David. However, it's not exactly what I'm looking for. As mentioned the actual calendar is slightly different in a few ways. One of which is the month name is not directly above the dates.
    Can the forumla be simplified by directly referencing $C$10:$AG$14 (for January), ($AH10:BI14 for February) rather than bringing the month name into it?
    Thanks again David. This is the last touch to my weekend project so hoping you can help me put it to bed before the week starts up.
    Best Regards.

  7. #7
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Assistance with Summary of Employee Non Project Calendar

    You make something become very2 difficult that actually you can make it simple...

    1. You want simple formula like this "=SUM(Calendar!$C$10:$CN$14)" can track down the name on another sheet.
    2. Formula like this "=SUM(Calendar!$C$10:$CN$14)" you want track down by date but accumulate every month (unfortunately you make this more difficult)
    "the month name is not directly above the days and see below regarding calculation"

    My question : how exactly you create your format on sheet calendar?

  8. #8
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Assistance with Summary of Employee Non Project Calendar

    Hi David.

    Again, thank you for your response. First apologies, it is probably my phrasing that is complicating things, however I'm hoping to come away with this with not only a fix for this worksheet but a trick I can apply in different workbooks in the future also. It therefore needing it to be a simple as possible

    While trying to solve I came across this video on Youtube https://www.youtube.com/watch?v=LvCfi4uLBBU which is doing what I'm looking to do, except that he is totalling the matched column, while I want to total the matched row.

    I have recreated his workbook and tried manipulating the formula (see cell D26) for it to lookup on the horizontal (Product lookup) rather than on the vertical (Store lookup). However I get a #REF! return; and I don't know why.

    Again, thanks for the help!Store and Model LkUp.xlsx

  9. #9
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Assistance with Summary of Employee Non Project Calendar

    Got it

    Had to change the formula in D26 (Store and Model LkUp) to =SUM(INDEX($D$7:$I$16,MATCH(C26,$C$7:$C$16,0),0))

    I think that should do it. Thank you again very much for taking the time to address my post. I'll just make sure I have it working right in the real workbook and then mark the thread as Solved.

    Best Regards.

  10. #10
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Assistance with Summary of Employee Non Project Calendar

    Got it

    Had to change the formula in D26 (Store and Model LkUp) to =SUM(INDEX($D$7:$I$16,MATCH(C26,$C$7:$C$16,0),0))

    I think that should do it. Thank you again very much for taking the time to address my post. I'll just make sure I have it working right in the real workbook and then mark the thread as Solved.

    Best Regards.

  11. #11
    Forum Contributor
    Join Date
    04-27-2010
    Location
    Kinsale, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Assistance with Summary of Employee Non Project Calendar

    Yip, that did what I needed. Thanks again for your help. Your method was a better formula for the calendar, etc. but the direct cell reference (and modifying formulas when copying) is easier with my skill set, etc.

    Best Regards.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 09-17-2014, 06:00 AM
  2. [SOLVED] INDEX Match with a countif formula
    By namluke in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-25-2014, 06:32 PM
  3. [SOLVED] countif, plus match or index formula
    By justme1052 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2013, 01:55 PM
  4. [SOLVED] Help with countif & index formula
    By lvsmr2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2013, 01:18 AM
  5. [SOLVED] Countif & Index formula
    By sumonrezadu in forum Excel General
    Replies: 6
    Last Post: 08-28-2009, 10:10 AM

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