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.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Would you be kind enought to post sample data and expected outcomes using the xl2bb add in? (Link Below).
If you cannot use the add in, then please post the data and expectations as a table.
 
Upvote 0
Would you be kind enought to post sample data and expected outcomes using the xl2bb add in? (Link Below).
If you cannot use the add in, then please post the data and expectations as a table.
Hi, does this help at all?
I am not so great at this.
So far I have formulas which tell me how many of 'Leigh's' clients have completed during March 2023 but I would like to have a formula that tells me all of that and the total number sessions were completed by the clients that completed in March 2023.
 

Attachments

  • Capture.PNG
    Capture.PNG
    40.1 KB · Views: 5
Upvote 0
Hi, does this help at all?
I am not so great at this.
So far I have formulas which tell me how many of 'Leigh's' clients have completed during March 2023 but I would like to have a formula that tells me all of that and the total number sessions were completed by the clients that completed in March 2023.
it is an image, which also means the scenario must be recreated which can lead to errors, and takes time.
Did you download and activate the xl2bb add in? Worst case, post the values and expectations in a table (just highlight range, copy, and paste - but with this you will not copy the formulas)
 
Upvote 0
what is the value in Summary!B104? Is it a date?
 
Upvote 0
Client NameCard No.Medical ConditionReferral DateInstructorStatusInitial AppointmentLast AppointmentNext AppointmentDate RemovedChase UpNotesSessions CompletedNotes CompletedExpiry DateDate CheckedINCOME FOR NOTES COMPLETEDTestimonials
Joe Bloggs05/07/2022LeighCompleted18/08/202201/03/2023232301/03/202301/03/2023£598.00
Jill Bloggs04/10/2022LeighCompleted22/10/202230/03/2023141426/04/202312/04/2023£364.00
it is an image, which also means the scenario must be recreated which can lead to errors, and takes time.
Did you download and activate the xl2bb add in? Worst case, post the values and expectations in a table (just highlight range, copy, and paste - but with this you will not copy the formulas)



HOP
INSTRUCTORTOTAL REMOVED CLIENTSTOTAL COMPLETED CLIENTSTOTAL REFERREDTOTAL NOTES
Leigh
1​
2​
0​

I'm not sure I am doing this right. Unfortunately I can't download anything as it is a work computer.
 
Upvote 0
Okay, I did not make 3 worksheets, I hope you can figure out where you need tomake adjustments: Also, I use different date formats so you may need to fiddle with that some.
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 NOTES
8Leigh120
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)
 
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....
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,958
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