Help! Countif codes..

bryskie

New Member
Joined
Jun 21, 2019
Messages
16
Good Day Mam/Sir.

In this project , i have to register for an appointment.
Sample picture below.

my-drive
p.png


as of now, i am managing to save the inputs from userform to worksheet.
to finish my project, i just want to add a code that limit the applicant to register for a specific time in a specific date.

here is the scenario:
I am registering for an appointment.
I will enter my name, choose what date and what time.
(example picture above)

Now i want to limit the applicant that can register in a specific time and date.
for example max 10 applicants can register on 8-10am, Nov.8,2019.
if that time and date reaches the limit, i want to make that option under the combobox "8am - 10pm" cannot be chosen anymore coz it reaches 10applicants. (Hope you get what i am trying to attain here).

Is it possible to do that?
Please help me write a code, for now i am studying COUNTIFS in youtube tutorials but unfortunately cant write a code.

Help is so much appreciated.
again, forgive me because i am only a newbie, only relying on youtube tuts.

THANK YOU! AND GOD BLESS!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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