+ Reply to Thread
Results 1 to 7 of 7

!Help Please! count some value between two dates

  1. #1
    Registered User
    Join Date
    11-14-2007
    Posts
    4

    Question !Help Please! count some value between two dates

    Final V1.0.xlsx

    Dear All,

    I need help of experts. I am making Gantt Chart(Project progress chart). One the second sheet I manage the Leaves of employee working on that project. See the attached file.

    I want to count the number of leaves of an employee between two starting and ending dates of a project. I am not able to call countif or countifs function. Please help me to fill the J6 column automatically according the requirement I mentioned above:

    Please see the attached file for reference
    Last edited by nikkiddl; 05-28-2014 at 05:46 AM.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: !Help Please! count some value between two dates

    HI,

    In need some more information, i want to know whether "name of person is unique & also the list of names in "LEAVE PLAN" & "Projects" follow the same sequence ?.

    Punnam
    Attached Files Attached Files

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: !Help Please! count some value between two dates

    Try..

    In J6
    =SUMPRODUCT(((INDEX('LEAVE PLAN'!$C$4:$DD$8,MATCH(D6,'LEAVE PLAN'!$A$4:$A$8,0),))="L")*('LEAVE PLAN'!$C$1:$DD$1>=E6)*('LEAVE PLAN'!$C$1:$DD$1<=G6))

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    11-14-2007
    Posts
    4

    Re: !Help Please! count some value between two dates

    Quote Originally Posted by Punnam View Post
    HI,

    In need some more information, i want to know whether "name of person is unique & also the list of names in "LEAVE PLAN" & "Projects" follow the same sequence ?.

    Punnam
    Thanks a lot for your reply... Ploblem is solved now by Ace_XL.

  5. #5
    Registered User
    Join Date
    11-14-2007
    Posts
    4

    Re: !Help Please! count some value between two dates

    Quote Originally Posted by Ace_XL View Post
    Try..

    In J6
    =SUMPRODUCT(((INDEX('LEAVE PLAN'!$C$4:$DD$8,MATCH(D6,'LEAVE PLAN'!$A$4:$A$8,0),))="L")*('LEAVE PLAN'!$C$1:$DD$1>=E6)*('LEAVE PLAN'!$C$1:$DD$1<=G6))

    Copy down
    Thanks dear.... It's work as I want.

    Actuly I want this at I6. But due to circuler dependency I am not able to impliment this on that cell. Is there any way to impliment this on I6 so I need not to copy J6 to I6 everytime.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: !Help Please! count some value between two dates

    Currently your 'End Date' (Col G) is dependent on Column I causing the circular reference. You need to ascertain the 'End Date' by some other mechanism to do away with the circular reference

  7. #7
    Registered User
    Join Date
    11-14-2007
    Posts
    4

    Re: !Help Please! count some value between two dates

    Quote Originally Posted by Ace_XL View Post
    Currently your 'End Date' (Col G) is dependent on Column I causing the circular reference. You need to ascertain the 'End Date' by some other mechanism to do away with the circular reference
    Thanks a Lot.... I am Happy... best forum

+ 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] Vlookup dates between two dates and count the number of days
    By nishikanth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2013, 03:25 AM
  2. Replies: 1
    Last Post: 12-18-2012, 03:09 PM
  3. Replies: 5
    Last Post: 08-29-2012, 05:25 PM
  4. Replies: 4
    Last Post: 02-02-2012, 09:24 AM
  5. need to convert list of dates to count no. of dates by week
    By neowok in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2006, 11:54 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