+ Reply to Thread
Results 1 to 17 of 17

Formula to count entries

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Formula to count entries

    Hi Everyone,

    I am new to this forum. Hope some one can help me out with my query.

    I have a table as follow and need to count the entries automatically based on monthly

    Column A Column B Column C Column D
    Detailed Plan 05-Jan-2013 10-Jan-2013 +4
    Detailed Plan & Estidama 05-Jan-2013 15-Jan-2013 -1
    Detailed Plan 02-Feb-2013 20-Feb-2013 -9
    Detailed Plan 02-Feb-2013 12-Feb-2013 -1
    Detailed Plan & Estidama 09-Mar-2013 18-Mar-2013 0

    Column A represents the document, Column B the document submitted date, Column C review completion date and column D measure the review time against 10 days KPI, it is within service level or not.

    I need a formula to calculate the number of document submitted in jan , feb and march which is within KPI and without KPI.

    Could someone help me out here?

    Thanks,

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    Please attach a sample workbook with expected output for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    i have attached the file and on sheet two is what the answer should look like. (i have considered -1 within KPI. i mean >=-1 are within KPI and <=-1 are all out of KPI.) I hope you understand my query.
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    In sheet - Sheet2

    In B9 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B10 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B11 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag all the formula's to right...

  5. #5
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    Thank a ton sixth sense.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    Glad it helps you and thanks for the feedback

  7. #7
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    what of column b had another entry Detailed Design? would it count?

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    Sorry I am unable to get your point

  9. #9
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    what if i add a new entry in the future in column B and the name would be Detailed Design not detailed plan or detailed plan & estidama?

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    At present I have I just covered the formula for cells which is having the data (i.e. Row 8 to R20 alone), so in case of any addition of data just extend the formula's to cover those rows of entries.

    Here name is not an issue because we are comparing the formula with submission dates and the KPI data.

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formula to count entries

    Using Sixthsenses' formulae in B9:B10 from Post #4
    You might consider this in B11
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    @ Marcol,

    Good catch

    Exactly there is no need to use sumproduct again in B11:D11

  13. #13
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    in that case i have another question. Hope you dont mind. i have attached the scenario. this time it should count only the Detailed Plan and Detailed Plan & Estidama for Column B excluding the other entries. Is it Possible?
    Attached Files Attached Files

  14. #14
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    In B9 Cell - For Detailed Plan & Estidama alone
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B9 Cell - For Estidama alone Detailed Plan" & "Detailed Plan & Estidama
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Can you please add this logic to the remaining of the cells please....

  15. #15
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    Is this for total submissions?

    what about Out of KPI and WIthin KPI?

  16. #16
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to count entries

    In B9 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B10 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In B11 Cell - As suggested by Marcol in Post #11
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag all the formula cells to right...

  17. #17
    Registered User
    Join Date
    05-24-2013
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Formula to count entries

    Thank you Sixthsense and Marcol. Much appreciated.

+ 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