+ Reply to Thread
Results 1 to 8 of 8

Get employee name from calendar template to a table

  1. #1
    Registered User
    Join Date
    12-25-2019
    Location
    brazil
    MS-Off Ver
    2019
    Posts
    6

    Question Get employee name from calendar template to a table

    Hello everyone,

    I'm trying to create a work shift schedule on a calendar and I want to get the name of the employee from each day on the calendar to get in a table.

    Look the picture attached to understand. Thank you very much.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by igones; 12-26-2019 at 11:29 AM.

  2. #2
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Get employee name from calendar template to a table

    Hi,
    use Hlookup

    =HLOOKUP(J3,$B$3:$H$4,2,FALSE)
    Attached Files Attached Files
    Christopher Yap

  3. #3
    Registered User
    Join Date
    12-25-2019
    Location
    brazil
    MS-Off Ver
    2019
    Posts
    6

    Re: Get employee name from calendar template to a table

    Hello, thanks for your reply! But I want to search in the whole calendar (B3:H12), not only the first line. How can I do that?

    Thanks again!

  4. #4
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Get employee name from calendar template to a table

    you can manually copy the formula (See yellow highlight)

    I have not think of an efficient way of automate it as each year and month with different pattern from Sunday-Saturday,
    therefore copying will be faster

    Rgds
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-25-2019
    Location
    brazil
    MS-Off Ver
    2019
    Posts
    6

    Re: Get employee name from calendar template to a table

    You are right, thanks! I am trying to automate, but that's very good so far.

  6. #6
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Get employee name from calendar template to a table

    Try this in K3 and copy down

    =INDEX($B$3:$H$12,SUMPRODUCT(--($B$3:$H$12=J3)*ROW($B$3:$H$12))-ROW($B$3:$H$12)+2,SUMPRODUCT(--($B$3:$H$12=J3)*COLUMN($B$3:$H$12))-COLUMN($B$3:$H$12)+1)

    Beth.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,094

    Re: Get employee name from calendar template to a table

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, we shall do tt for you this time.)

    x posted
    https://www.mrexcel.com/board/thread...table.1118802/

    and
    https://www.reddit.com/r/excel/comme...ndar_to_table/
    Last edited by AliGW; 12-26-2019 at 02:58 AM. Reason: Links added by moderator - new member,

  8. #8
    Registered User
    Join Date
    12-25-2019
    Location
    brazil
    MS-Off Ver
    2019
    Posts
    6

    Re: Get employee name from calendar template to a table

    Amazing! Thank you very much.

+ 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. [SOLVED] Employee Attendance Template
    By mcanny in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2016, 01:07 PM
  2. Populate an Excel calendar template with events from a separate table
    By Dana_Carter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2014, 12:14 PM
  3. Employee Vacation Calendar Help
    By maximus0120 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-03-2013, 05:48 PM
  4. Employee Calendar Calculation Problem
    By jasono in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2011, 04:28 PM
  5. Replies: 0
    Last Post: 04-25-2011, 04:28 PM
  6. employee training template
    By jw01 in forum Excel General
    Replies: 1
    Last Post: 03-14-2011, 01:08 PM
  7. 2005 Employee Vacation Calendar
    By Nettyg8 in forum Excel General
    Replies: 3
    Last Post: 02-11-2005, 04:48 PM

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