+ Reply to Thread
Results 1 to 12 of 12

Help with a formula

  1. #1
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16

    Help with a formula

    Hi,
    Could someone help with a formula please? I am using Excel 2016.
    I am trying to get the count into Column B of those items which are still open within month (“In Progress” in Column G in Sample Data).
    I’ve tried Countifs function, but don’t seem to get this to work.
    As you can see on the Report Tab, I need to count the number of reports opened in month, Completed in month and what is still open within month if its not completed.
    I have attached a sample for use.

    Thanks in advance

    MMB
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,149

    Re: Help with a formula

    There are no expected results that I can see.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    What is wrong with the results you have and why?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16
    What I require in column B under open last in month is the total number of items that are not completed but are “In Progress “ but only for April.
    I need to have a count formulation or something that lets me know the total that are still open and not complete
    Last edited by AliGW; 09-13-2024 at 04:25 AM. Reason: Please don't quote unnecessarily - use the Quick Reply button instead. Please review the forum guidelines.

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,268

    Re: Help with a formula

    Need to add criteria Completed, Closed, In Progress, Awaiting information
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Change range as per required.
    File Attached.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Help with a formula

    Added 2 more columns: In Progress and Completed within 30 Days

    Open Last of Month: =COUNTIFS('Sample Data'!$A:$A,""<""&B$1,'Sample Data'!$E:$E,"">=""&B$1)
    +COUNTIFS('Sample Data'!$A:$A,""<""&B$1,'Sample Data'!$E:$E,""="")"

    In Progress: =COUNTIFS('Sample Data'!$A:$A,"<="&EOMONTH(B$1,0),'Sample Data'!$E:$E,">"&EOMONTH(B$1,0))+COUNTIFS('Sample Data'!$A:$A,"<="&EOMONTH(B$1,0),'Sample Data'!$E:$E,"=")

    Completed within 30 Days: =COUNTIFS('Sample Data'!$E:$E,">="&B$1,'Sample Data'!$E:$E,"<="&EOMONTH(B$1,0),'Sample Data'!$F:$F,"<=30")
    % Completed within 30 Days: =E4/(A4+B4)
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16

    Re: Help with a formula

    Hi,

    I need to show what was opened in the month of in this case April, What was completed/closed in April and what is still open in April, which will then need to be added to the Opening numbers for May.

    If its still open at the end of April, then it should in Column G under request Status show "In Progress" Which i thought might be easy to count. Maybe this is wrong and i need something different to show this.

    I then also need to detail how many were completed within the 30 days target, even if that date goes beyond April and into May, so i need a countifs formula i think .

    I have built the sample so that i could see if there were any issues over the 4 month period of trying to get this data to work, and give me the correct figures i need. for when i build the proper work sheet and reports i need.

    So any advice or help is welcomed.

  7. #7
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16

    Re: Help with a formula

    I Have simplified what i require, new sample attached, with questions for each months required information. I need to put the right formulas into those cells to give me the numbers for an overall monthly, quarterly and yearly report.
    As always thanks in advance for helping.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Help with a formula

    Did you see post #5?

  9. #9
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16
    Quote Originally Posted by josephteh View Post
    Did you see post #5?
    Hi.

    Yes however it doesn’t pick the information that I wish to report.
    As part of the April nos there is 1 in progress
    But that’s not pulling through.
    Also. The number completed should show only those in April. Those with a complete date in May should show in May only.
    If a report is opened in April but then closed in May, I need to show that it was included in mays Open figures too. As it might have been closed later in May.
    I thought this would have been easy for me, but I’m finding it difficult.

  10. #10
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Help with a formula

    Please provide your expected results.

  11. #11
    Registered User
    Join Date
    02-21-2023
    Location
    Lydney
    MS-Off Ver
    2016
    Posts
    16

    Re: Help with a formula

    Josephteh,

    Having had a relook at this with a rest and fresh set of eyes, thank you so much as this is what I do require in terms of the formula needed to capture what I asked for.

  12. #12
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2019
    Posts
    4,542

    Re: Help with a formula

    You are welcome! Thanks for your feedback and Rep and for marking this thread "Solved"!

+ 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: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

Tags for this Thread

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