Formula Help Please

HAYLO22

New Member
Joined
Jul 8, 2022
Messages
21
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet which counts when clients have been removed from a scheme, if they have completed and how many sessions the client completed within particular time periods.
I have formulas which work out how many clients have been removed/completed within each month etc but I cannot figure out how to collate the data with regards to the amount of sessions have been completed for each client that have completed/been removed within a particular time frame.
INSTRUCTORTOTAL REMOVED CLIENTSTOTAL COMPLETED CLIENTSTOTAL REFERRED
Leigh
1​
2​
0​

Below is the formula for clients 'completed' in March 2023 which was 2.

=COUNTIFS(HOP!E2:E5000,"Leigh",HOP!F2:F5000,"Completed",HOP!H2:H5000,">=" & Summary!$B$104,HOP!H2:H5000,"<=" & Summary!$C$104)
How do I add the total number of sessions completed for the 2 clients in this formula please?
Sessions completed is on the tab named HOP and is in the column M2-M5000

Please let me know if you need more info.
 
I think this gets what you want:
mr excel questions 25.xlsm
ABCDEFGHIJKLMNOPQR
1
2Client NameCard No.Medical ConditionReferral DateInstructorStatusInitial AppointmentLast AppointmentNext AppointmentDate RemovedChase UpNotesSessions CompletedNotes CompletedExpiry DateDate CheckedINCOME FOR NOTES COMPLETEDTestimonials
3Joe Bloggs05/07/2022LeighCompleted2022-08-182023-03-01232301/03/202301/03/2023£598.00
4Jill Bloggs04/10/2022LeighCompleted2022-10-222023-03-01141426/04/202312/04/2023£364.00
5
6HOP
7INSTRUCTORTOTAL REMOVED CLIENTSTOTAL COMPLETED CLIENTSTOTAL REFERREDTOTAL NOTESsessions completed
8Leigh12037
9
10B104C104
112023-03-012023-03-31
HAYLO22
Cell Formulas
RangeFormula
C8C8=COUNTIFS($E$3:$E$4,$A8,$F$3:$F$4,"Completed",$H$3:$H$4,">=" & $A$11,$H$3:$H$4,"<=" & $B$11)
F8F8=SUMIFS($M$3:$M$4,$E$3:$E$4,$A8,$F$3:$F$4,"Completed",$H$3:$H$4,">=" & $A$11,$H$3:$H$4,"<=" & $B$11)
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Thank you so much, I will try that out on my spreadsheet when I get home. Thanks for taking the time to help me. I will let you know how I get on.
 
Upvote 0
Okay, so I don' think I added the clients sessions. Where is that data? Can you post some? And what the expected result is? I think I may have the question figured. hold on....
Thank you - sorry I can't see where the total number of notes are? It's so hard to explain without showing my spreadsheet.

Perhaps I could send the spreadsheet and just change the client names?
 
Upvote 0
I think this gets what you want:
mr excel questions 25.xlsm
ABCDEFGHIJKLMNOPQR
1
2Client NameCard No.Medical ConditionReferral DateInstructorStatusInitial AppointmentLast AppointmentNext AppointmentDate RemovedChase UpNotesSessions CompletedNotes CompletedExpiry DateDate CheckedINCOME FOR NOTES COMPLETEDTestimonials
3Joe Bloggs05/07/2022LeighCompleted2022-08-182023-03-01232301/03/202301/03/2023£598.00
4Jill Bloggs04/10/2022LeighCompleted2022-10-222023-03-01141426/04/202312/04/2023£364.00
5
6HOP
7INSTRUCTORTOTAL REMOVED CLIENTSTOTAL COMPLETED CLIENTSTOTAL REFERREDTOTAL NOTESsessions completed
8Leigh12037
9
10B104C104
112023-03-012023-03-31
HAYLO22
Cell Formulas
RangeFormula
C8C8=COUNTIFS($E$3:$E$4,$A8,$F$3:$F$4,"Completed",$H$3:$H$4,">=" & $A$11,$H$3:$H$4,"<=" & $B$11)
F8F8=SUMIFS($M$3:$M$4,$E$3:$E$4,$A8,$F$3:$F$4,"Completed",$H$3:$H$4,">=" & $A$11,$H$3:$H$4,"<=" & $B$11)
Can I send you my spreadsheet please?
I have altered it so names removed etc so will be fine for you to view and you will get a better understanding? with different pages etc
 
Upvote 0
can you post the sanitized workbook to a share site?

what is wrong with what I have above? All you need to to is paste the formula in your worksheet, then change the cell references by navigating and pointing to your specific locations. I suggest copying my formula with a ' (apostrophe) in front of it so you have a text version as a reference.
 
Upvote 0
In the SUMIFS formula, I used hte number of completed sessions, not a number of "notes".
 
Upvote 0
can you post the sanitized workbook to a share site?

what is wrong with what I have above? All you need to to is paste the formula in your worksheet, then change the cell references by navigating and pointing to your specific locations. I suggest copying my formula with a ' (apostrophe) in front of it so you have a text version as a reference.

can you post the sanitized workbook to a share site?

what is wrong with what I have above? All you need to to is paste the formula in your worksheet, then change the cell references by navigating and pointing to your specific locations. I suggest copying my formula with a ' (apostrophe) in front of it so you have a text version as a reference.
The problem is me, I don't fully understand the formula and can't work it out for my spreadhseet.
How do I go about sharing my spreadsheet with you please?
 
Upvote 0
just search for free file sharing platforms. dropbox.com is one.
 
Upvote 0
just search for free file sharing platforms. dropbox.com is one.
Zoho Accounts

Hope this works. Thank you
When you get onto it - it's the March 2023 I am interested in filling the Notes completed for completed clients sections. Even if you can just do one for one instructor I can do the rest.

Thank you so much.
It is a little confusing as the March info is based on the client completing the scheme in March however the notes could have been at any point. I am after the info for those that completed that month though. I hope that makes sense.

So for example if you did HOP completion for LEigh in MArch 2023 the answer should be 37 I just cant get the formula to work that out for me.
 
Last edited:
Upvote 0
Haylo,
I've downloaded the workbook. The Notes column in HOP sheet is blank. What sheet are you getting the 37 for Leigh from?
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top