+ Reply to Thread
Results 1 to 2 of 2

Calculating Layers in headcount database

  1. #1
    Registered User
    Join Date
    03-23-2021
    Location
    India
    MS-Off Ver
    2019
    Posts
    1

    Calculating Layers in headcount database

    Hi

    I've a database which has headcount names with unique employee ID, also have their direct Managers' employee ID. I wish to calculate number of Layers for each employee. I've attached example of the dataset, on which I wish to do this. Any help, guidance will be very much appreciated.
    Many Thanks
    Rahul
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,554

    Re: Calculating Layers in headcount database

    Hello rahulismyname and Welcome to Excel Forum.
    This proposal employs helper columns which may be moved and/or hidden for aesthetic purposes.
    The first helper column is populated using: =COUNTIFS(D$2:D$26,B2)
    The second and subsequent helper columns are populated using: =COUNTIFS(F$2:F$26,">0",$C$2:$C$26,"<>"&"-",$D$2:$D$26,$B2)
    The "Layers" column is populated using: =COUNTIFS(F2:H2,">0")
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Help in calculating retrospective headcount
    By yoursamrit2000 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-18-2019, 12:08 PM
  2. Calculating Employee Headcount by month.
    By jekeith in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-25-2018, 10:44 PM
  3. [SOLVED] Excel keeps calculating % very slow in a big database
    By JEAN1972 in forum Excel General
    Replies: 4
    Last Post: 05-02-2016, 09:50 AM
  4. Calculating overtime in a database spreadsheet
    By dkrishman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2014, 03:05 AM
  5. Replies: 1
    Last Post: 07-17-2013, 11:34 AM
  6. Replies: 0
    Last Post: 03-28-2013, 02:35 PM
  7. [SOLVED] Excel 2007 : Calculating average from a linked database
    By sprinter in forum Excel General
    Replies: 11
    Last Post: 06-26-2012, 12:29 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