background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario"

input logo icon
Table of contents
|

Table of contents

0:00
Presentación
4:15
Introducción
12:00
Crear el formato de la agenda
15:25
Crear el calendario
29:30
Formato condicional del calendario
32:10
Agenda diaria
40:45
Formato condicional agenda diaria
46:50
Programar el evento SelectionChange
53:30
Indicadores Pendiente y Terminado
1:01:30
Fórmulas usadas
1:04:05
Agradecimientos y despedida
Video tags
|

Video tags

andres rojas moncada
excel hecho facil
tutoriales de excel
cursos de excel
agenda en excel con calendario
agenda automatizada en excel con calendario
hacer un google calendar en excel
como hacer una agenda con calendario en excel
agenda automatizada en excel
agenda de pendientes con calendario excel
calendario con agenda en excel automatizado
como hacer una agenda con formulas en excel
excel
trucosexcel
formulasexcel
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:00
Hello, how are you my friends?
00:00:02
Welcome back to my
00:00:05
YouTube channel Excel made easy and in this
00:00:07
new tutorial I want to share with you
00:00:10
a small mini application that
00:00:13
we developed completely from scratch
00:00:15
that will practically emulate an agenda
00:00:19
but in this case an
00:00:22
automated and interactive agenda with
00:00:25
calendar using Microsoft Excel
00:00:28
I want you to see that on the right side
00:00:30
I have an Excel workbook OR I have
00:00:32
practically a view inside the
00:00:34
Excel workbook that has a data source
00:00:36
that has three columns date and time a
00:00:39
matter that I need to do or need to
00:00:41
remember and a status if it is pending or
00:00:44
finished and on the left side I have
00:00:46
a sheet that allows me to select a
00:00:48
month and a year to see how many issues
00:00:51
I have in that month and year ago and here it
00:00:53
is giving me the agenda of the day that I
00:00:56
choose in the calendar What happens that
00:00:59
this calendar with a formula But if
00:01:02
I come and click here for example on
00:01:04
day 7 Notice that this changes depending
00:01:07
on the day that I load in this cell
00:01:10
I want to see how many issues or how many
00:01:13
activities I have for example on the day 20
00:01:15
then I come and select 20 I want to
00:01:17
see, for example, how many issues I have on
00:01:19
Wednesday but in October, for
00:01:22
example, 28, sorry, September because
00:01:25
it would be the previous month of October and it
00:01:27
tells me that I have no data, that is, that day I
00:01:29
did not register data in the source of data,
00:01:31
for example, on the 8th it is telling me
00:01:34
that I have three pending completions 4,
00:01:36
look at a fully automated agenda with a calendar
00:01:38
using a
00:01:42
set of formulas and functions
00:01:44
obviously aligned to generate those
00:01:46
formulas that allow us to develop
00:01:48
this type of Mini applications with Excel
00:01:51
that make us life Much easier and they
00:01:53
allow us to keep a
00:01:56
record of our activities,
00:01:57
our affairs day by day as we
00:02:00
need I
00:02:01
have not seen this on the internet I have not
00:02:04
seen this here on YouTube I think I am
00:02:07
the person the first person to do it It's going
00:02:09
to cover it, obviously in the spirit of
00:02:10
giving each other the flowers, I'll just say it if you
00:02:12
see it. On another channel they copied it from
00:02:14
this one. The date is October 21, 2022.
00:02:18
Look, October 21, Friday, October 21,
00:02:22
2022. 540 in the afternoon, I'm
00:02:25
developing this. tutorial so that the
00:02:27
people of the Channel who follow Excel
00:02:29
Made Easy do not follow me, they follow the
00:02:31
Excel Made Easy project because
00:02:33
they want to learn Excel, they want to Learn
00:02:36
to manage this spreadsheet like
00:02:38
professionals, like true
00:02:40
self-taught professionals who manage
00:02:43
knowledge to transform the
00:02:45
data in useful information I am making
00:02:48
this calendar or this agenda with an
00:02:51
automated calendar or an
00:02:53
automated calendar with an agenda or with a small one
00:02:55
or an automated agenda with a small
00:02:57
calendar I have not seen it on YouTube So
00:03:01
if you see it after this date
00:03:02
most likely It's because
00:03:05
this video has been copied. Thank you very much in advance
00:03:07
for choosing to watch my videos. I truly
00:03:10
sincerely shake your hand. I give you a
00:03:12
big hug to all of you,
00:03:15
gentlemen and ladies, gentlemen and ladies who
00:03:18
are watching this video. Thank you very much
00:03:20
for choosing to watch. first my videos
00:03:24
truly and from the heart I say them with my
00:03:27
hand here in my heart Thank you very much
00:03:29
for choosing to watch my videos first
00:03:31
I hope you learn a lot from this new
00:03:34
video and I hope you continue learning from
00:03:36
the other videos on the channel where I
00:03:39
practically transmit what that I know, without
00:03:42
profit, I transmit what I know so
00:03:44
that you learn and become
00:03:47
professionals in this tool. At no
00:03:50
cost to you, you only
00:03:51
have to watch the tutorial to
00:03:53
practice the concepts and that's it. In
00:03:56
time, from so much practice, you will become
00:03:58
experts in the tool Excel is not useful
00:04:01
for everything a big hug I hope
00:04:03
you get the most out of this
00:04:05
tutorial How to make an
00:04:07
automated agenda with a calendar using
00:04:09
Microsoft welcome and see you in
00:04:13
this tutorial
00:04:15
Hello how are you my friends How are you
00:04:17
welcome back to my
00:04:20
YouTube channel Excel easy fact that
00:04:23
your friend and colleague Andrés Rojas Moncada speaks to you,
00:04:27
welcome partners to a
00:04:29
new Excel tutorial video plus one
00:04:32
more Excel tutorial video on my
00:04:34
YouTube channel excellent easy and they asked me for
00:04:37
something very particular in
00:04:39
one's comment box of the
00:04:41
Channel's videos and I'm going to give you an answer
00:04:42
because it really took me about an
00:04:45
hour before I went to work. I want to
00:04:47
record what I have fresh How to make a
00:04:50
better calendar or agenda How to
00:04:53
make an agenda with a calendar or an
00:04:57
automated agenda in Excel with a
00:04:59
calendar using formulas within
00:05:03
Excel and be careful we are going to use a small
00:05:06
Macro so that this is very
00:05:08
interactive and so that it looks great
00:05:11
as you saw at the beginning of the video I don't
00:05:14
know if it works I don't know if we should record it
00:05:16
today or maybe tomorrow because suddenly today it does
00:05:18
n't work out but I'm going to try
00:05:20
and I'm going to record it so that you can see it yes
00:05:23
Obviously you are listening to this
00:05:25
because it already worked out on the first attempt That
00:05:28
's my first attempt ready the first thing
00:05:30
you have to do is take an
00:05:31
Excel workbook and create a small
00:05:34
database. Look, I have an Excel workbook that
00:05:35
has approximately
00:05:37
smoke. A table that has approximately.
00:05:39
Well, I'll tell you how many rows it has.
00:05:42
At the moment, it has 23 rows, but I think it
00:05:44
has much more. Let's go check it out.
00:05:47
down 220 rows this is an
00:05:50
example database that has three columns look
00:05:53
column number one says date now
00:05:55
column number 2 says subject and column
00:05:58
number 3 says status What am
00:06:01
I doing inside this database I am
00:06:03
recording the issues of my agenda
00:06:06
items on my agenda obviously those are
00:06:08
fictitious data from, for example, making a
00:06:11
template for a video tutorial
00:06:12
studying an Excel function and doing a
00:06:15
5 mit exercise with Diana to collect
00:06:18
Software requirements that we also create the
00:06:21
title and description of a video
00:06:22
tutorial well, in short, they are, let's say,
00:06:25
things or activities that are being
00:06:27
done during the day and that
00:06:30
I am recording within the database.
00:06:33
This is a table that I have created
00:06:36
on sheet number one with that amount
00:06:38
of records then I'm going to place the sheet,
00:06:41
for example, look like this
00:06:43
database sheet, I'm going to give it an enter and
00:06:46
immediately I'm going to press the
00:06:48
secondary button and I'm going to change the color.
00:06:50
I'm a little nervous because I don't know
00:06:52
if this will help me. come out first I have
00:06:54
everything in my mind I have everything in my
00:06:56
mind let's see if it works
00:06:58
and I'm going to create a table with this Look
00:07:01
I'm going to give it control t control asterisk
00:07:03
control t and I'm going to give it an enter I'll create
00:07:06
a table Obviously have
00:07:08
headers, that is, I have here this
00:07:11
little check that I have over here, I have to
00:07:13
leave it checked. Look at this little check
00:07:15
that I have here, I leave it checked in
00:07:17
order to create a data table that
00:07:20
contains the headers and I am going to
00:07:22
immediately remove the filters
00:07:24
using the design of table of the
00:07:26
tab that is activated called
00:07:28
table design, I will call this table, for
00:07:31
example, different from the sheet, it is a
00:07:34
database basically that is
00:07:36
recording all the activities that I
00:07:38
propose or propose to do on a
00:07:40
given day. So for example Suppose
00:07:42
someone asks me for advice.
00:07:44
Then I come and enter it
00:07:46
directly into this
00:07:48
database and put it, for example, advice
00:07:50
with Daniel, advice with a client, such
00:07:53
advice with such a person, when are we going
00:07:56
to do it, we are going to do it on
00:07:58
October 10th or We are going to do it on October 2
00:08:00
of the year 2022 at 10 in the morning and
00:08:03
I placed it pending in the ready state. Look,
00:08:05
here I have a column called
00:08:07
status, a column of the subject and a
00:08:09
column for example of the date. Now
00:08:11
suppose, for example, that I go to place
00:08:13
here look at an activity we are going to
00:08:15
place it for October 31
00:08:18
in my system in my system the dates
00:08:21
are given as month 10 years That is to say
00:08:24
first the month goes then the day goes and
00:08:26
then the year goes because my Excel or my
00:08:30
system My Regional configuration of the
00:08:31
operating system is in American, my
00:08:35
laptop is in American. So
00:08:37
in this case I have
00:08:39
first the month, notice, then I have the day
00:08:42
and then I have the year, I have the month of the year,
00:08:45
therefore the dates go like this but a
00:08:48
date is a date inside like this Don't
00:08:49
worry, then suppose, for example,
00:08:52
that on October 20, October 21, October 22,
00:08:56
or on October 31, I'm going to place them and look,
00:08:58
October 31, 2022, at 2 p.m.,
00:09:03
which would be two in the afternoon, I'm going to
00:09:05
place them like this. Look, 14 hours, I'm going to
00:09:07
meet.
00:09:09
meeting we are going to place them and look
00:09:12
meeting with Pablo We are going to put
00:09:15
together meeting with Pablo for
00:09:16
template development for
00:09:20
template development obviously
00:09:23
Excel template for Excel template and I am going to
00:09:26
put it pending suppose for example
00:09:28
that I am serving a client they ask me
00:09:30
for me They ask me why they ask me
00:09:32
by email on Whatsapp whatever it is
00:09:35
that sets up a meeting
00:09:37
So I come here, the objective
00:09:39
of this database is to make this a
00:09:41
database that contains the agenda
00:09:44
so that it can obviously be
00:09:46
selected within a calendar and
00:09:49
bring you the pending ones as you saw
00:09:51
at the beginning of the video and bring you the
00:09:54
finished ones and the complete list of
00:09:56
activities for that date selecting
00:09:58
the calendar ready first
00:10:01
important thing you have to do we are going to
00:10:02
use a very small Macro that is
00:10:05
done or that is executed with the
00:10:07
selection Chain event when I make a change
00:10:09
in a selection in the sheet or in a
00:10:11
sheet or in a cell then I need Yes
00:10:14
or yes to enable the macros then this
00:10:16
Excel file or the Excel file that
00:10:19
you are going to use has to save look
00:10:22
file save as like an
00:10:25
Excel file enabled for Macro
00:10:27
I want you to realize that this
00:10:28
file is in the folder that
00:10:31
is on the desktop look here
00:10:33
little card that is on the desktop that
00:10:35
would be 99.2 Look at this folder I
00:10:39
saved an Excel workbook enabled for
00:10:41
macros here you have it, look at it This is
00:10:44
the same book that I have open book
00:10:46
992 which is the tutorial to download a
00:10:48
spreadsheet enabled for macross
00:10:51
when you are going to save it what you
00:10:53
have to do is select a path
00:10:55
then In this case, you put the name
00:10:57
here in file name And where it
00:11:00
says type, in this second combo you tell it an
00:11:03
Excel workbook enabled for macros.
00:11:05
You select this option. You save it as an
00:11:08
Excel workbook enabled for macros
00:11:09
so that it saves the macros and
00:11:12
keeps them. and you can run them obviously
00:11:14
the first thing you have to do is that
00:11:16
the first thing you have to do is that
00:11:18
then it doesn't matter if you don't have the
00:11:20
programmer tab active we're going to
00:11:22
get the development environment with Ale f11
00:11:24
So I'm not going to use it in this video
00:11:26
here how to activate the programmer tab
00:11:28
But well, what I said, so to
00:11:31
leave it complete I come here to
00:11:34
and here where it says to customize the ribbon,
00:11:36
I said I was not going to do it and I
00:11:39
ended up doing it, enable the
00:11:41
programmer tab. Look at this tab that I
00:11:44
have here. It's called a ready programmer
00:11:47
so you activate this tab to
00:11:49
access the development environment to
00:11:51
tell what I'm going to do now I'm going to
00:11:53
insert a new sheet. Look, I insert
00:11:56
a new sheet. I pass the database over
00:11:58
here. I select it and the new sheet
00:12:00
goes away. Let's call it agenda, look why I'm
00:12:03
going to call it agenda, obviously
00:12:04
because it's going to contain my agenda, so
00:12:06
I come here, I'll give it a name, I'll give it an
00:12:10
agenda, and I'll put a little color on it.
00:12:12
Look at this little blue tab and
00:12:15
I have the database as a table.
00:12:17
In this case, through the
00:12:20
table design it is called db and then I have an
00:12:23
agenda that is a blank sheet of paper which I
00:12:25
am going to increase the size to 120% so that it
00:12:27
fits just like the database and
00:12:30
also fits 120%. percent
00:12:33
What are we going to do next, I'm going to
00:12:35
create a view, so I come here to the
00:12:37
view tab to make it much
00:12:39
easier for me, I'm going to tell you in New
00:12:41
Window to create a new
00:12:43
Excel workbook that points to the same address
00:12:45
as physical RAM memory that
00:12:48
directly accesses this book And in this
00:12:50
second window I am going to select the
00:12:52
database. Notice if I stop here in
00:12:54
Excel I have sheet number one which
00:12:56
would be the agenda and in window number 2
00:12:58
or in the view Sorry number 2 I
00:13:00
obviously have the database so I
00:13:03
place myself here on this side of the
00:13:05
left side I come here on the left side
00:13:07
of this view look and I come to the
00:13:10
view tab organize everything and I tell it to
00:13:13
generate a
00:13:15
vertical type window organization so that I can I take it out like this and
00:13:18
then I come and increase this zoom to
00:13:21
120% so that you can see it and I'm going to make it
00:13:23
a little smaller, that is, I'm going to
00:13:26
select the folder here so that
00:13:28
the desktop can't be seen over there. I come and
00:13:30
select this file, look. and I'm going to
00:13:32
run it so that it gives me space I
00:13:34
slowly I slowly I think that
00:13:36
's fine and then I come to this file
00:13:39
number one that would be window number
00:13:41
one and I come and expand it a tricityco
00:13:44
Look so that you have context of what
00:13:46
we are doing and we are going to start
00:13:49
creating our template. I am
00:13:51
doing this completely acapella, I have not
00:13:53
practiced it at all and I hope it works
00:13:56
out if this tutorial takes
00:13:57
an hour, I'm sorry, friend, but this is
00:14:00
what it is, I like to do it a cappella
00:14:01
so that You see that this has no
00:14:03
loss and that this can be done
00:14:05
from scratch and from nothing simply by
00:14:08
having a good knowledge of Excel and
00:14:11
the functions and the tools and
00:14:12
they go on and on and on and on and on with this you
00:14:15
come out with this you should exit Okay then
00:14:18
I'm going to create inside this cell, notice,
00:14:21
a small text called month and I'm
00:14:25
going to start adding a color. Look, I'm
00:14:26
going to add a little color here
00:14:28
so that this doesn't go away
00:14:31
with a blue background.
00:14:33
bold and I'm going to put a line
00:14:37
here below And look here is a month
00:14:39
that I'm going to load in this month, for
00:14:42
example, I'm going to load October November
00:14:44
January February March April May June
00:14:48
July August September, that is, the 12
00:14:50
months of the year, so for that I'm going to
00:14:53
place a month here, right now we're going to
00:14:55
put it and then I'm going to create a ready year and
00:14:58
down here to start I'm going to create the
00:15:01
calendar, that is, here I'm going to create a
00:15:03
formula that will display the calendar
00:15:05
very easily using a dynamic matrix
00:15:08
I know You are going to see this video
00:15:10
there in
00:15:11
2025-2030, yes,
00:15:14
I still believe that we are here working hard on
00:15:17
Excel videos, teaching and
00:15:20
training people through
00:15:21
YouTube videos and I know that it will go away. Let's
00:15:24
see in 5 6 7 8 10 years ready
00:15:27
so here we are going to create a
00:15:29
calendar I come here and select or
00:15:31
place this cell in the direction of
00:15:33
this cell and I place here the word
00:15:36
calendar and How many days does a
00:15:38
week have because it has 7 so I come and
00:15:40
volume 1 2 3 4 5 6 and 7 look at 7 cells
00:15:45
I come to the group alignment with wine
00:15:49
absolutely nothing happens to the group Source
00:15:51
I come and I put a fill of
00:15:53
blue white in bold and at once I put
00:15:56
an alignment or a line quote or a
00:15:59
little border we have the days Monday
00:16:02
we have the days Tuesday we have the days
00:16:05
Wednesday then Thursday so I'm going to place
00:16:08
three letters for each day of the
00:16:10
week Friday then Saturday and lastly
00:16:14
Sunday you can put them in the order
00:16:16
you want and then I'm going to select
00:16:19
this I come center alignment font
00:16:21
bold and immediately and I'm going to
00:16:24
put a much softer fill color of blue on this
00:16:26
and I'm going to
00:16:28
put a small line at the
00:16:30
bottom. Note that the
00:16:33
calendar usually has six
00:16:34
rows, that is, six rows for accommodate
00:16:37
every day how do I know that a
00:16:39
calendar has 6 days because I am guided
00:16:41
by the operating system calendar,
00:16:42
notice it has one row it has two rows
00:16:45
it has three rows it has four rows
00:16:47
it has five rows and it has six rows
00:16:49
well by seven columns because there are seven
00:16:52
days I am going to create a formula that
00:16:54
allows me to establish the dates according to that
00:16:57
calendar in a fairly
00:16:59
simple way. I am going to
00:17:02
create a matrix of
00:17:04
six rows by seven columns by using the sequence function. I
00:17:07
am going to give it an enter. And notice that it created them for me.
00:17:09
without any problem 1 2 3 4 5 6 and 7
00:17:13
then 8 9 10 11 up to 14 up to 42 there
00:17:17
I have a matrix of 6 by 7 6 row by
00:17:19
seven columns what am I going to do now
00:17:21
because I am going to take the month that I pass
00:17:24
directly through example here in this
00:17:27
cell in this cell that I have here and a
00:17:29
year because I can
00:17:30
also specify a year because this agenda can
00:17:33
do events or it can have events or
00:17:35
it can have records that contain
00:17:37
different years from different months at
00:17:40
different times obviously This is for
00:17:42
fill it out and make it interactive
00:17:44
and make it work not only for one
00:17:47
year but for all years.
00:17:48
This is basically a
00:17:50
relational model with a single table but it
00:17:52
works perfectly, so look, I'm
00:17:55
going to put it. Here we're going to see if
00:17:57
we put it in this case. the year
00:17:59
inside this cell we are going to put like this
00:18:02
Look year and I am going to copy this same
00:18:05
format that I have here using the
00:18:08
source command Sorry here using the
00:18:10
clipboard command copy format I
00:18:12
come and paste it here look and these three
00:18:15
cells that I have here I'm going to
00:18:16
combine directly and I'm going to create a
00:18:19
drop-down list that has the
00:18:21
different months of the year ready and here in
00:18:24
these other two cells I come and
00:18:26
combined them and I'm going to create the year a
00:18:29
numerical value that tells me the year for example
00:18:30
2021 22 23 is 24 and 25 and we are going to do it
00:18:35
with a drop-down list So I am going to
00:18:37
select these two cells I come to
00:18:39
source I put a colored background like this
00:18:42
light blue with in this case a
00:18:45
thick top and bottom border so that
00:18:48
's fine and I'm not going to put bold
00:18:50
I'm going to leave it like this so I select this
00:18:53
cell then I come to the data tab data
00:18:55
tools
00:18:57
data validation look stay with me don't
00:18:59
leave me and then here where it says
00:19:01
list I'm going to select for example or
00:19:04
select no to copy the months of the
00:19:05
year as they are, look at January so that
00:19:08
this remains literal so that the person does not get
00:19:11
lost later that with the
00:19:12
formula that we write it should
00:19:15
come out we already know in the tutorials How to
00:19:17
convert a text string to a
00:19:19
date through nesting of a
00:19:21
number or a concatenation of a number,
00:19:22
very easy. In the video, we are going to
00:19:24
see it. I am going to place the month of February here.
00:19:27
Look, you have to
00:19:29
place them very well. You have to
00:19:31
write them very well. You cannot make a mistake.
00:19:33
It says January, February. Then I am going to place them
00:19:35
like this. Look. March then he placed January
00:19:38
February March to April then he placed April
00:19:42
May So then I put look there he
00:19:45
corrected me I put May then I put June
00:19:48
then I put July then I put August
00:19:53
then I put September like
00:19:58
this look and then he put October in the
00:20:01
month we are in October or in the month I
00:20:04
'm recording This video then I place
00:20:06
November And finally I put December
00:20:10
Look, I'm going to click on accept what's
00:20:14
going to happen Well, I have it
00:20:15
statically and it's how I need it, I'm not going to
00:20:17
use a set of cells to
00:20:19
place these months I have January I have
00:20:21
February I have March I have April I have
00:20:24
May I have June July August September
00:20:26
October November and December I am going to
00:20:29
select, for example October, look
00:20:31
here at the interline I am going to fix it in
00:20:33
one go I am going to remove this center I am going to
00:20:36
place it like this and then Here I go I'm going to place
00:20:38
the year using the data tab data
00:20:41
tools
00:20:43
data validation and then I'm going to create a
00:20:45
list and I'm going to place, for example, the year
00:20:47
2021. In case I have
00:20:49
records with dates from that year 2021, I
00:20:52
put 2022
00:20:55
2023 then I put 2024 And finally
00:20:59
I put 2025 I'm going to click on
00:21:02
accept I'm going to select the year 2022
00:21:05
look, it also seems centered to me I come
00:21:07
to the start alignment I remove the
00:21:09
central alignment in fact I'm going to
00:21:11
center it like here or I'm going to leave it
00:21:13
like this Look how it is and ready I'm not going to
00:21:16
make a calendar that big
00:21:17
obviously Here I have a sequence
00:21:20
but I'm not going to leave the calendar that
00:21:22
big then I have to make it smaller I left it
00:21:24
that big because I want to convert
00:21:26
this into a date that starts on the day it
00:21:29
is of the week this is How to make
00:21:31
a calendar using even a
00:21:33
formula on the channel I have like 7 videos
00:21:35
of that so you can go look for it,
00:21:37
however I will explain it to you here I want you to
00:21:39
realize that for October
00:21:41
2022 the date on the one I am recording This
00:21:44
video the month starts on Saturday Look at
00:21:47
October 1st of the year 2022 October
00:21:50
1st of the year 2022 is a Saturday and
00:21:54
October 31st is a Monday therefore I
00:21:57
have to take the day of the
00:21:59
week into account to to be able to allow and
00:22:01
start the corresponding dates.
00:22:04
So here at the moment I only have
00:22:06
a formula that is telling me a
00:22:09
sequence of six rows by seven
00:22:11
columns, what am I going to say to this because I am
00:22:13
simply going to add a date and
00:22:16
the date will be I am going to add by transforming
00:22:18
this month that I have as text into the month
00:22:21
as a number and the year that I have as a
00:22:23
number because I pass it into the
00:22:25
date function without problems so that it generates
00:22:27
a date. So to create a date
00:22:29
within Excel the function is used
00:22:31
date, look, it's asking us for the year.
00:22:33
So the year where it is is here
00:22:36
inside this cell. Look inside
00:22:39
this combined cell, I'm going to give it a
00:22:41
comma and it tells me Give me the month, so since I
00:22:43
have the month in text and I need to
00:22:45
transform it into a number What I'm going to
00:22:48
do is use the month function and
00:22:50
then I take the text string,
00:22:53
pass it into the serial number and
00:22:55
concatenate it using the symbol of the
00:22:57
person on day 1. If I come and evaluate
00:23:00
this text string, it says October 1,
00:23:02
obviously. For Excel, this is a
00:23:05
date. So when I want to calculate the
00:23:07
month, it simply tells me that the
00:23:10
month of October is October and it
00:23:12
is already returning the month as a
00:23:14
number and I pass it directly into the month
00:23:16
argument of the date function and
00:23:18
that's it. and then I come and tell it day 1
00:23:20
because it is always going to start the
00:23:22
calendar on the first day and I close it
00:23:24
and evaluate it with enter. Notice now it is
00:23:27
giving me or I am adding to each of
00:23:29
those sequences or to each of those
00:23:31
numbers that they generate a sequence a
00:23:33
date that starts on the first of
00:23:35
October or on October one of the year 2022,
00:23:38
increased it by one and it gives me October 2 of the year
00:23:41
2022 October 3 of the year 2022 October 4
00:23:45
well so if I come and copy this
00:23:47
format here with the little brush and I come and
00:23:49
paste it here Notice that it is giving me
00:23:51
October 2 October 3 October 4 October 5
00:23:54
October 6 October 7 October 8 to
00:23:56
November 12 and I say man but
00:23:58
the calendar has to have the
00:24:00
date of October Of course because I am not
00:24:02
taking it into account The starting day
00:24:04
turns out that I need the first of
00:24:06
October and that it starts on Saturday. How
00:24:08
do I do it? Well, go back with
00:24:09
the day of the week. Then I come and with
00:24:11
the formula I subtract the position of the day
00:24:14
of the week that falls on the first day,
00:24:16
then I use the day of week function,
00:24:19
which is a function that returns a
00:24:22
number from 1 to 7 depending on the day of
00:24:24
the week it falls on and the
00:24:26
type configuration that I give it. It asks me for a
00:24:28
date. Look here, the serial number is
00:24:31
a date. I already have the date
00:24:32
saved in this expression that I
00:24:34
just created by using the
00:24:36
date function I come and copy it with
00:24:39
control C I paste it inside the
00:24:41
serial number with control B I give it a comma and
00:24:44
Note that in the type argument He is
00:24:46
telling me Look, you are giving me a
00:24:48
date I want to find out or I am going to
00:24:50
return it to you What is the day of the week
00:24:52
but I am going to return it to you as a number
00:24:54
if you choose option 2 Monday is the one
00:24:57
Tuesday is the 2 Wednesday That's the
00:25:00
3 Thursday 4 Friday 5 Saturday 6 and
00:25:03
Sunday 7 look This is the option that
00:25:07
suits me best why Because I
00:25:08
like the week to start on a Monday
00:25:10
you decide what day of the week starts
00:25:13
for me The week starts on a Monday.
00:25:16
Then I select this option with
00:25:18
a click on option 2, I come and close and it
00:25:21
tells me Look, the first of October of the
00:25:23
year 2022, there is a Saturday day,
00:25:26
therefore it is a value of 6, as
00:25:28
the person is telling me here. calendar Look Monday 1
00:25:31
Tuesday 2 Wednesday 3 Thursday 4 Friday 5
00:25:33
Saturday 6 October 1st Well,
00:25:37
in this case I am going to go back in this case this date
00:25:40
that is generating 6 days for the first
00:25:42
cell so that it returns the
00:25:44
corresponding date and by increasing it
00:25:47
by one unit Saturday falls on October
00:25:50
1 of the year 2022, I'm going to give it control Z
00:25:53
then I come and evaluate with enter and
00:25:54
indeed Saturday is October
00:25:57
1 of the year 2022 and it ends in this case
00:26:01
on Monday, look at October 31 of the year
00:26:04
2022 as I have it in the calendar
00:26:06
these dates would be September as I
00:26:09
have here and these other dates would be
00:26:12
November remember in my date or in
00:26:14
my system the date has the month in
00:26:16
the first two digits November
00:26:17
November November November October the
00:26:19
whole month and that's it What do I need
00:26:22
now do Well I need to transform
00:26:23
that into a day so I come and
00:26:25
select the entire set of cells
00:26:27
I give control 1 to call the
00:26:29
custom cell format dialog box
00:26:31
and I come and tell it I only need
00:26:34
two digits of D to specify the day
00:26:38
there already being one date but I
00:26:40
come and using the cell format I
00:26:43
change the information presentation mask
00:26:45
where I tell it with two
00:26:47
digits dd I want to put the two
00:26:49
digits of the day Obviously the year, look, I
00:26:52
click on accept and I have 26 27
00:26:56
28 29 and September 30 first 2 then
00:27:00
until October 31 1 2 3 4 5 and 6
00:27:05
November but I have a date there I
00:27:07
'm just showing the days using
00:27:09
the number format or the
00:27:11
cell format what am I going to do I'm going to select
00:27:14
everything I appreciate this very much and I'm going to leave it at
00:27:17
the same size as it was on Sunday. Look,
00:27:19
we're going to make it one tricot
00:27:21
smaller, another little bit smaller. I think
00:27:24
it would be fine here so that it won't come
00:27:27
out even a little bit. I
00:27:30
think it's fine now, look. and now I'm
00:27:33
going to add a color to this. Look, I'm
00:27:35
going to put a blue color in the Font so
00:27:37
that it looks very pretty, and in the last
00:27:39
line I'm
00:27:41
going to place here where it says
00:27:43
font, a bottom line or a
00:27:46
bottom border. Look, I already have a calendar
00:27:48
What is the idea of ​​this that when I
00:27:50
hit a date of the current month or a
00:27:53
date that has records here within
00:27:55
this database, the
00:27:56
elements from outside are brought here in a
00:27:59
database as if it were an agenda from that
00:28:01
day and that's it, we have the agenda formed,
00:28:03
then we can put indicators on it.
00:28:05
Of course, we can play with the
00:28:07
indicators. And that is possible.
00:28:09
I have also thought about how to make something like this with
00:28:11
indicators, but for now I need to
00:28:13
write a conditional format that
00:28:16
allows me to identify what the
00:28:18
dates that do not belong to the month that I
00:28:19
have selected Look at this month and
00:28:22
this year that I have selected
00:28:24
So we already did it like this I need
00:28:27
to create a conditional formatting rule
00:28:29
where this date is different from the month
00:28:33
that I have selected here, which in
00:28:35
this case It could be the month of October, the
00:28:38
month of November, the month of January, the month
00:28:40
of February, any month that I have
00:28:41
selected that is different from this
00:28:44
month that I have within these dates,
00:28:45
well, just clarify it for me,
00:28:48
then I am going to create a formula here,
00:28:50
look at this. It is very very easy, we have already created
00:28:52
the sequence formula, I want you to
00:28:54
observe it, take a screenshot there,
00:28:57
copy it, so we generate the calendar,
00:28:59
then if I already have it and I change, for
00:29:01
example, here to January. Notice what it generated, it
00:29:03
is changing me if I come and change here to
00:29:05
March. Notice how The dates change if
00:29:07
I put, for example, September. Notice that
00:29:10
September has a change here, it starts
00:29:13
on Thursday and ends on Friday, Thursday and
00:29:16
Friday, so here it starts on a Thursday,
00:29:18
notice, and we end on a Friday, then
00:29:21
the dates
00:29:22
would be in August And they would be in October,
00:29:25
so I need to establish a
00:29:27
conditional format that allows me to see with a
00:29:31
dark black color or with a gray color
00:29:33
the difference of the months, then
00:29:35
I come and establish through a
00:29:37
conditional format formula by using
00:29:40
the month function and I tell with KTM this
00:29:43
cell that I have here that It's going to bring
00:29:44
a text string like I need
00:29:46
her to stay still to place
00:29:48
conditional formatting throughout this Range
00:29:51
I set it with F4 and then I come and with an
00:29:54
amperson I add the value of 1 and as I
00:29:58
told you a moment ago Well that's that That's that
00:30:00
expression was going to say that thing, that
00:30:02
expression is going to give October 1. If I come
00:30:05
and calculate the month by using the
00:30:07
month function, it is going to give me 10 and
00:30:09
this was September, so it gives 9,
00:30:10
if it were July, it gives 7, if it were August,
00:30:12
it gives 8 and I tell you that the month that I have
00:30:16
here is the same or it is different, we are going to
00:30:20
do it with different, it is different from the
00:30:22
month that I am going to spend inside this
00:30:25
cell and each of them, when I
00:30:27
apply the conditional formatting, if
00:30:30
it is different, put it a light color if it
00:30:32
is not different, leave it as it is, that
00:30:34
is, leave it black I come and copy the
00:30:36
expression control c I copy it I give it an
00:30:40
escape
00:30:41
like this I press the
00:30:43
key combination al or r or n to bring up the
00:30:46
new formatting rule dialog box if
00:30:48
you don't know get home styles
00:30:52
conditional formatting new formatting rule I come
00:30:55
and I bring it here and I tell you Look
00:30:56
in the last item that says use a
00:30:59
formula that determines the cells to
00:31:01
apply the format I come and I paste it so
00:31:03
ready and I come and I tell you Look I I want
00:31:05
the font of that letter here in the
00:31:09
Font, look, I'm
00:31:10
selecting it to be a color, for
00:31:12
example red. Let's put a gray,
00:31:15
this light gray, I'm going to click on
00:31:17
accept, click on accept. And look, look, I already
00:31:19
have it, this would be the month of September,
00:31:22
look, that's a date, this is a
00:31:24
date, and this would be the month of November,
00:31:26
ready, all the ones that are left in
00:31:28
black would obviously be the month of
00:31:30
November, the month of October. Sorry, the
00:31:32
month that I have current, if I change it
00:31:35
to For example, January, look, then February.
00:31:38
Look at how each of
00:31:41
the dates on the
00:31:43
automatic calendar changes. Ready, then we have
00:31:45
October. Look, if I come and change
00:31:47
the year, for example, to 2024, well,
00:31:50
obviously, This changes
00:31:51
dynamically. We are in the year 2022. What am I
00:31:55
going to do? let's do I'm going to center all this
00:31:56
alignment I come and center here ready so
00:32:00
that the calendar is well centered and
00:32:02
we already have it okay What are we going to do
00:32:05
now let's establish here an agenda
00:32:09
for the day like that we're going to take it out here
00:32:11
with macros I'll come here and I'm going to give it a
00:32:13
width of 5 points. Let's see if this
00:32:16
works out. So we're going to place the day's agenda. I
00:32:18
'm going to place the
00:32:21
two-point agenda like this. I'm going to give it an
00:32:25
enter and I'm going to copy this same format
00:32:27
with the little brush. that I have in Access
00:32:29
in the quick Access tool bar I
00:32:31
paste it here and we are going to
00:32:35
place, for example, here in this cell
00:32:37
a much softer color with an
00:32:41
alignment directly here with a
00:32:43
thick lower border that contains a date
00:32:46
suppose suppose for For example, we are
00:32:48
returning the date of October 1,
00:32:51
2022, so I come and set October
00:32:54
1, 2022. Look, that's a date,
00:32:58
October 1, 2028, October
00:33:01
1, 2022. I'm going to set
00:33:07
the time directly here. Look, I come here and set the time. of the agenda data
00:33:10
that would be these agenda data
00:33:12
and then I place the subject here. Look at the
00:33:17
subject, we are going to set it well
00:33:19
and I am going to give it an enter and here I am going to
00:33:21
place the ready status so that it can tell me
00:33:24
if it is a finished status or pending
00:33:25
depending on how I have configured
00:33:27
the activity if I have already met with Diana if I have
00:33:30
already created the title the description of the
00:33:31
video if I have already done the activity then I
00:33:33
will finish it if I have not done it then I
00:33:34
left it pending and ready I come and I will
00:33:37
copy here or I'm going to stretch this
00:33:41
right now I'm going to stretch it I'm going to put a
00:33:42
bold white background color and I'm going to
00:33:45
place these edges and here in the matter
00:33:49
I'm going to go a little bit to
00:33:51
the right another little bit to the right
00:33:53
because here the thing is a little bit
00:33:54
big or it's a little long I
00:33:58
think it's there like okay Let's
00:34:00
make it a little smaller and that's it
00:34:02
Look we have it what I'm going to do Well
00:34:06
I'm going to make a filter from the
00:34:07
database that is, I'm going to select a
00:34:10
value that I have according to this date for
00:34:12
each of the elements of the column
00:34:15
ready because I need it like this to
00:34:18
extract the data I am going to use the
00:34:19
filter function I am not going to start
00:34:21
using functions that are not
00:34:23
dynamic matrix because those functions are
00:34:25
The old ones are going to leave the market in a very
00:34:28
short time so this is pure
00:34:30
dynamic matrix and we are going to take advantage of this new
00:34:32
calculation engine or this calculation engine
00:34:34
that produces Overflow range
00:34:37
what am I going to do well obviously I am going to
00:34:39
call the filter function because It is the
00:34:41
function for let's say by preference to
00:34:45
make filters from a database
00:34:47
so I come and call the function here
00:34:48
look at filtering and I tell it in the first
00:34:51
argument called array I am going to call
00:34:54
the database so I come and
00:34:57
use the name of the database
00:34:58
so as not to point to this sheet if I do
00:35:00
n't want you to see it and I select the
00:35:02
table and tell it I want to filter that
00:35:05
database and I want you to
00:35:07
even take the date column in the argument.
00:35:10
Look at this date that I have here but
00:35:12
It turns out that this date has a date and
00:35:15
has a time, it has an integer that
00:35:17
represents the date and it has a time that
00:35:20
represents a decimal part or a
00:35:22
decimal part that represents the time and an
00:35:24
integer that represents the date. I
00:35:27
need to return from this column
00:35:29
only the date because here I have
00:35:32
a date of the day such an ordinary normal day
00:35:35
that I work by
00:35:38
clicking within the elements of this
00:35:40
calendar so I need to use
00:35:43
some type of gadget that allows me
00:35:45
to truncate this integer value and this
00:35:48
decimal part so that It only returns
00:35:51
the integer part. I can do it with the
00:35:53
round function or I can do it
00:35:55
with the truncated function.
00:35:56
For this type of exercises, I really like using
00:35:59
the truncate function that truncates an
00:36:01
integer value and blows away the decimal part without
00:36:04
rounding to any number. decimal but
00:36:05
she allows me to put how many
00:36:08
decimals I am going to remove, select
00:36:10
the truncate function and within this
00:36:12
function basically I am going to call the
00:36:15
database column called
00:36:17
date time so I come here and tell her,
00:36:19
Look, the database is call bd I'm going to
00:36:23
open it with a square bracket and I'm going to say
00:36:25
Give me back the date time field I'll come and
00:36:27
close it with a square bracket and it's going to
00:36:29
have each of the
00:36:32
sequential serial number elements with its
00:36:34
integer part and its decimal part, look at this is
00:36:37
the sequential serial number this part
00:36:39
quote that represents the time I'm going to
00:36:42
click here to open the selector this
00:36:44
would be the time 44 842 Sorry that would be the
00:36:47
date this would be the date and this other
00:36:50
little part that is after the point
00:36:52
would be the part decimal this represents
00:36:56
the time ready I'm going to give you an escape
00:36:58
I want you to observe it Here is the
00:37:00
decimal point semicolon which is a
00:37:02
row change for each of the rows
00:37:04
so I come and tell drum that this is
00:37:07
to zero decimal positions to zero
00:37:11
decimal positions And if I come and
00:37:13
evaluate the truncate function here, well,
00:37:15
notice that it is going to return a
00:37:17
lot of dates, it is going to return a
00:37:21
lot of dates without the
00:37:22
decimal parts, that is, only the pure
00:37:25
integer values. So what I am going to do is What
00:37:27
to do is to tell it directly if this
00:37:30
date is what I have within this
00:37:32
column that I called from the database column
00:37:34
date time are the same as the date
00:37:37
that I have here then directly let it
00:37:39
filter me then I come and close I evaluate
00:37:42
with an enter boom and look It is
00:37:44
returning results to me, look, it is
00:37:47
returning integers and
00:37:49
decimal numbers because it is the result of the
00:37:50
filter, not the result of the expression
00:37:53
of the Formula, ready for you to take into
00:37:55
account. This is the filter. So what
00:37:58
happens if, for example, there is no data if I
00:38:00
I come and place here September 30 of the
00:38:03
year 2022 this agenda only has
00:38:06
values ​​for the month of October of the year
00:38:08
2022 that was an
00:38:10
example database if I place September 30 of the
00:38:13
year 2022 Well it appears unique to me but if
00:38:16
I place in this case September 29 of the
00:38:20
year 2022 I get a calculation error
00:38:23
Look, this was the arrangement that I
00:38:24
basically made to have a
00:38:27
previous date here only To test it I
00:38:29
had forgotten it and here I did it To
00:38:31
test it then suppose that I come here
00:38:33
and I am going to put Look October in this
00:38:36
case
00:38:37
of October 21, let's put it like this in the
00:38:40
year 2022. If I come and tell you, Look, I
00:38:42
want you to give me dates for
00:38:44
September 30, 2022. No, I don't have it,
00:38:46
so I have to come and adjust the
00:38:48
formula, the result of the
00:38:50
filter function. Well, basically I'm going to I'm going to remove
00:38:52
this parenthesis and I'm going to give it a comma
00:38:54
and I'm going to establish a matrix type expression
00:38:56
using some curly braces and I'm going to
00:38:59
place it with a couple of meals, for
00:39:01
example there is no data or there is no if
00:39:04
there is no data. Let's put it like this. Look
00:39:06
no data And I am going to place a copy or
00:39:11
I am going to make a copy and later
00:39:13
using the comma I am going to place a change of
00:39:16
column, I paste the text string, one
00:39:20
for the time, one for the subject and one
00:39:22
for the state, I am going to place a change
00:39:24
of column and I paste I come and close the
00:39:27
filter function evaluated with enter and it
00:39:29
tells me no data no data and no data that
00:39:32
is, when the date does not match
00:39:35
any date in the base then it brings up
00:39:38
no data Because obviously there is no data
00:39:39
But if I For example, I put October 1
00:39:41
of the year 2022. Note that if it is bringing
00:39:44
the data Okay, then we already have the
00:39:47
filter done. I now need to do a
00:39:49
sorting, a sorting of the
00:39:51
matrix so that the agenda is
00:39:52
obviously ordered by a type of
00:39:55
sorting, for example, ascending to
00:39:58
start. with the first hours of the day
00:40:00
and finish with the last hours of the day
00:40:02
ready then I use the
00:40:04
sort function I come and call and tell me order
00:40:07
the return of the filter function and you are
00:40:10
going to order it by the index that is
00:40:12
returning the first column that In this
00:40:15
case it is done now so I say the
00:40:17
first column I give it a comma and the
00:40:19
type of sorting is ascending Look
00:40:21
I double click I select
00:40:23
ascending I
00:40:24
evaluate with enter and it practically does
00:40:27
the sorting as I need it Okay
00:40:29
then I'm going to create a formula that
00:40:32
allows me to establish using a
00:40:34
conditional format, for example,
00:40:37
the plot, a plot, for example, here
00:40:38
it starts in row 4. I can do it
00:40:40
using the is even function so that I
00:40:43
can put a little color on it and not look so
00:40:45
lost when I am reading each of
00:40:47
the values. So This is very easy,
00:40:50
the only thing I have to do is use
00:40:52
the functions to look. Now I tell you,
00:40:56
please, the function is an even point that
00:40:59
returns true if the number
00:41:01
that I pass in its argument is even, it
00:41:03
returns false if not. It is even, I tell you, please
00:41:05
evaluate the row for this cell
00:41:09
that I have here or where I created the
00:41:11
conditional format, then I come and
00:41:13
tell you using the function, it is even,
00:41:15
please Call me, call me at the row functions
00:41:18
And if I pass it without a reference,
00:41:20
then every Every time I execute a
00:41:23
formula in a cell obviously from the
00:41:25
selected Range, the row function is going to
00:41:29
evaluate the row where
00:41:31
the function is being run and that's it, it returns the value
00:41:34
of the row where the function is being run.
00:41:36
If I execute the row here, then I it
00:41:38
returns 4 if I execute the row here it
00:41:41
returns 6 and I execute the row here it
00:41:43
returns 7 and I come and tell her this is even
00:41:46
Then she gives me a logical value
00:41:48
a boolean value of true or false
00:41:51
See if I come and evaluate this this
00:41:55
function is even with the row inside
00:41:58
12 because 12 is for Look if I evaluate with
00:42:00
f9 it tells me true but if I run
00:42:03
this formula for example in 13 it will
00:42:04
tell me false I need to also evaluate
00:42:07
Which cells are empty of these
00:42:09
cells that are empty So I'm going
00:42:11
to ask you an additional question and I'm going to
00:42:13
tell you, for example, in the
00:42:16
cell where the displacement is going to be,
00:42:18
which of those cells
00:42:20
are empty, how do I need to place
00:42:21
two expressions that both execute as
00:42:24
true, called the function and I tell you
00:42:27
the first logical expression is going to be is
00:42:30
even and row if the row that is being
00:42:31
moved is for and also the
00:42:34
value of this cell moved OR moved
00:42:37
using conditional formatting is
00:42:40
different from an empty which is different from
00:42:43
an empty Well that is full then
00:42:44
return me a value of true
00:42:46
therefore place a plot only on
00:42:48
the even rows I come and select this
00:42:51
with control c then I give it an escape I
00:42:53
select this entire Range of cells
00:42:55
notice how here I am not going to
00:42:57
select this last cell because I don't have
00:42:59
enough time until 22, I don't think there are any
00:43:02
more time elements, for example, I don't
00:43:04
think they exist in this database,
00:43:06
but if they exist, you can drag them
00:43:08
down, press o r or n, and go to
00:43:12
the new format rule
00:43:14
dialog box, use a formula.
00:43:16
Determine a cell, paste with control b
00:43:19
and we are going to establish, for example, a
00:43:21
frame. We are going to put a
00:43:23
light-colored fill. I think it is
00:43:26
visible there. I am going to click on
00:43:28
accept. Click on accept. And look,
00:43:31
the frames are already being placed. here directly
00:43:33
Look, the plots are being placed
00:43:35
so let's put it, for example,
00:43:38
October 22 to see what comes out of the year 2022,
00:43:41
look. More procedures are being placed
00:43:43
ready Look So, since I need to
00:43:46
convert this to a time because I already
00:43:49
have the date here, well, what a nonsense, well I
00:43:51
simply select the column here, I
00:43:53
give it control 1 and I come and tell it about that
00:43:56
date. Now I need you to
00:43:58
change the format in a personalized way and
00:44:01
it is hour, two points, minute, minute, that is, it
00:44:04
shows me the hour and
00:44:06
shows me the minutes, ready. Look, no.
00:44:08
absolutely nothing happens I come here
00:44:10
I select it alignment I come and center I already
00:44:13
have this here pending I have this
00:44:15
here the status and I have the matter
00:44:17
returned
00:44:18
What else am I going to do Let's see if
00:44:20
we change the format of this so that it
00:44:22
gives us a much more pleasant format control 1
00:44:25
I have and select this
00:44:26
dialog box, I say personalized, we are going to
00:44:28
establish a custom type format
00:44:30
and I am going to place, for
00:44:32
example, Saturday, Sunday, the day of the
00:44:34
week. Then I put three times so
00:44:37
that it gives me the day of the week and
00:44:39
then He placed a comma so
00:44:41
that it is like a comma so not a
00:44:43
decimal comma but a text meal and he
00:44:46
placed day by day so that it can be thrown to me
00:44:49
as a number so here It would be Saturday
00:44:51
the 22nd for example and he placed a space
00:44:54
inside a couple of quotes I put it in
00:44:57
closing with a couple of quotes October
00:44:59
November December for example whatever month it
00:45:02
is then I come and put mom mom
00:45:05
mom Moon like this in this case 4 m and I
00:45:09
put it here with a couple of meals
00:45:12
year year year year like this from the year 2022
00:45:16
I give it click on accept, look and now it
00:45:19
tells me Saturday, October 22, 2022,
00:45:22
if I come and put, for example, October 1,
00:45:25
2022, you put me on Saturday, October 1 or
00:45:28
October 1, 2022, that would be
00:45:31
the date,
00:45:32
there is a date, there is no a
00:45:35
text string there exists a date So the
00:45:38
important thing is that you understand that here
00:45:41
there is a date Here there is a date Here
00:45:43
there is a date but I am
00:45:44
representing it as a time here there is
00:45:46
text that is returning the formula and
00:45:48
that's it What is the trick of The trick
00:45:51
of this is to be able to generate using a
00:45:54
Macro that tells us, for example, when I
00:45:57
touch a Range,
00:45:59
when I touch a Range, for example, an
00:46:02
element of this Range of this
00:46:03
calendar, send the date to this cell,
00:46:06
then this year, this month and this year I
00:46:10
They allow you to configure the calendar and this
00:46:13
calendar when I touch it here in
00:46:15
each of its cells every time there is
00:46:17
a change in the selection it sends the date
00:46:19
directly here and as this date
00:46:21
updates the formula the filter is
00:46:23
updated and there we basically have our
00:46:25
interactive agenda This would be this, then we
00:46:27
can get some indicators,
00:46:29
I would think, dependent and finished, ready,
00:46:32
how do we do this? Well, we open the
00:46:34
visual basic editor for applications, I want
00:46:37
you to realize that the
00:46:40
calendar range is from A5
00:46:43
to G 10, ready. Look. find
00:46:47
from 5 to g10 and that's it, then I
00:46:50
'm going to press f11 to open the
00:46:53
development environment, look, and then I
00:46:56
'm going to hit maximize, I'm going to hit here
00:46:58
restore, I'm going to make it smaller,
00:47:01
let's make it a little bit smaller,
00:47:04
leave it to me box I'm going to do it like
00:47:07
here I'm going to take it down a tricycle and I'm going to come
00:47:11
here and I'm going to take it like up here.
00:47:14
Look, I have sheet 1 which is called
00:47:17
agenda and sheet 2 which is called
00:47:19
database. I need to place the event that
00:47:21
detects the change in the selection of and
00:47:24
calendar that is in the agenda,
00:47:26
therefore I have to look for the sheet of the
00:47:28
agenda that would be sheet number one. I am going to
00:47:30
double click
00:47:34
on it. I need the procedure to be triggered every time I make a change in the
00:47:36
selection then I need the
00:47:37
selection change event I select workship and it
00:47:40
tells me private selection change Target
00:47:44
returns the cell that I am
00:47:46
selecting at a certain time
00:47:48
the cell or cells that I am
00:47:49
selecting at a certain time the
00:47:52
Chain selection event by default so I
00:47:53
'm going to give it Here Tico and I'm going to
00:47:55
write a small sentence, I'm going to
00:47:57
tell you if, for example, in this case we're going
00:48:00
to see how we do it
00:48:02
using the intercept method, I'm going to
00:48:05
use the application object to
00:48:07
call intercept, look, I'm going to call
00:48:09
here the intercept method that does this.
00:48:12
intercept method returns me an object
00:48:14
of type Range or returns me an object
00:48:17
that intersects if there is a crossing
00:48:19
between two ranges if, for example, I
00:48:22
pass to an element Or I pass to an
00:48:25
argument a very large Range and then I
00:48:27
pass a Range to it tiny in the
00:48:29
next argument if the
00:48:30
tiny range is within the big
00:48:33
interset it returns an object of type Range
00:48:37
if not it returns a notting or it returns a
00:48:40
nothing then I come and open it notice
00:48:42
and he is asking me for argument number
00:48:44
one as of type Range notice an
00:48:46
argument of type Range of cells
00:48:49
Then I come and tell you, look how I am
00:48:51
going to run this event on sheet
00:48:54
number one, which is the agenda, obviously
00:48:56
then everything that I make reference
00:48:58
to the Range is going to be a reference to the
00:49:00
cells of this sheet number one then
00:49:03
I call the Range object
00:49:06
I open a parenthesis and within a couple of
00:49:08
meals like this Look inside a couple of
00:49:10
quotes I'm going to place the reference
00:49:12
from a5 to g10 then I come and
00:49:16
place two points g10 from a5 and
00:49:20
establish a Range I come and close here and
00:49:23
this object of type Range that I am going to
00:49:25
place here with a capital letter is
00:49:27
returning me a Range that has all this
00:49:30
width, look, it has this whole Range of
00:49:32
cells as I am selecting it
00:49:34
as is here
00:49:36
And then the Target parameter that
00:49:40
is being declared in the
00:49:41
selection header change because it is
00:49:43
returning the cell or the set of
00:49:45
cells that I have selected
00:49:46
so I come here and I give it a comma and it
00:49:49
is telling me give me the range 2 because I
00:49:51
tell it Look Target is a variable of
00:49:55
object that is returning a Range But
00:49:57
it can return one or more cells I am
00:50:00
always going to return cell number 1
00:50:02
using the sells property I tell it to
00:50:04
return cell number 1 I come and
00:50:06
close the intersec method What happens if
00:50:10
I make a change and The selection or the
00:50:13
active cell is within this
00:50:16
calendar range, so intercept is going to
00:50:18
return a cell element, that is, it
00:50:21
returns an object of type Range,
00:50:24
so it is not a notin, so if I
00:50:27
select a cell out here, that is,
00:50:30
for example, the cell e15 that
00:50:33
is outside here e15 enters
00:50:35
Target Then e15 is not
00:50:38
found inside a5 to g10 intercept
00:50:41
returns a notin So I have to
00:50:43
validate directly here using the is
00:50:45
notting instruction if the
00:50:49
returned element is nothing or is a Range and
00:50:52
later I give it a then And I give
00:50:55
an enter and I already have the instruction ready
00:50:58
but it turns out that if I
00:51:00
click on it out here it will tell me that this
00:51:02
is true that is, if I give it a
00:51:04
cell if I place this in the active cell
00:51:06
on the outside Well, it is going to tell me
00:51:08
that the active cell is outside the
00:51:10
Range. It is indeed a notin and it is going to
00:51:13
execute the procedure, so I
00:51:15
need to execute it when I
00:51:17
click on the cell, so if I deny
00:51:20
the expression through the not clause
00:51:22
Well, basically I am
00:51:24
reversing the effect of is notting
00:51:28
when an element exists if I the cell
00:51:31
Well, it is going to tell me that it is a nothing and it
00:51:33
tells me true the cell the
00:51:35
interset method returns is notting So it
00:51:37
tells me notting if true for a not it
00:51:40
returns false and the procedure is not
00:51:42
executed But if I place the cell here
00:51:44
directly within the
00:51:46
intercept Range then intersec returns an
00:51:49
object of type Range and tells me it is noting it
00:51:52
tells me false but since I am denying it it
00:51:54
tells me true enters into the
00:51:56
procedure and runs in this case
00:51:59
the execution of that line of code that
00:52:02
is going to load the date into the other
00:52:04
cell so I come here and say in If
00:52:07
I close the procedure I
00:52:08
give it an enter and basically I come and
00:52:11
minimize the window and I tell it that the
00:52:13
cell that I have here is going to contain a
00:52:15
date. So the value of cell j1
00:52:19
is going to contain the value of Target point
00:52:21
value. I come here to the
00:52:24
development environment and I say Range j1,
00:52:28
I'm going to select j1 here and I close with a
00:52:31
pair. of quotation marks valid dot
00:52:33
I call the property valid the property
00:52:36
value and I directly assign to the j1
00:52:39
the value of Target in this case of the
00:52:42
selected one of the selected cell
00:52:44
then I come and put Target
00:52:47
Target
00:52:49
dot cells dot value like this Look, it was
00:52:55
assigned directly to j1 Ready
00:52:58
The difficult procedure is ready This
00:53:00
is not difficult I was going to say it is difficult what is
00:53:03
going to be difficult This is not
00:53:05
difficult a super well understood line of code
00:53:07
then the assignment an
00:53:10
assignment statement and then the
00:53:11
completion of the If from in elche of the
00:53:13
builder who makes the decision Range
00:53:16
j1 point value is going to be equal to target.6
00:53:18
point value ready I
00:53:20
minimized this and I come and try it See
00:53:22
if I come and crash here look how
00:53:24
that is working well cool
00:53:27
ready look
00:53:28
it is working well at the hair So
00:53:31
what happens if I want to create for
00:53:33
example here an earring let's
00:53:35
create an indicator so I come and
00:53:37
place here tell me please how many
00:53:39
earrings I have I
00:53:40
place like this Look earrings I'm going to leave
00:53:43
a small space and I place finished
00:53:46
finished like this Look matters finished and
00:53:50
pending matters I come and select
00:53:53
this alignment with wine then I come and
00:53:57
copy with the
00:53:58
Z control format broom here I made a mistake I'm going to
00:54:01
do it manually alignment combine
00:54:03
cells this costs 2
00:54:06
and I put a dark color with a white
00:54:09
background in bold and I'll do it I'm going to leave it like this, I'm
00:54:12
not going to put anything in it and then I come
00:54:14
here and I'm going to create a very very
00:54:17
simple formula, I'm going to delete all this here
00:54:19
so that the rest of the format doesn't go away
00:54:22
and I'm going to give it the same and I'm going to
00:54:25
tell you I want you to tell me about this
00:54:27
Overflow Range that the
00:54:28
filter function and the
00:54:30
sort function are generating here. Return me Return the
00:54:33
status column, then I am going to call
00:54:35
the choose columns function and
00:54:37
later in the matrix I am going to
00:54:39
select the cell where I am
00:54:40
originating the formula and with the
00:54:43
pound symbol I select the entire
00:54:45
overflow range and tell it to choose columns,
00:54:48
please return column number 3
00:54:50
which would be the status and if it evaluated it with
00:54:53
f9 Notice that it says pending
00:54:54
pending finished etcetera etcetera
00:54:56
this would be for the pending If
00:54:59
I ask you then Tell me which of these
00:55:01
values ​​are equal to pending then
00:55:03
I come and copy the text string
00:55:05
pending I
00:55:06
close I come and evaluate with f9 and it returns
00:55:10
a logical array
00:55:12
if I enclose it with an
00:55:14
opening and closing parenthesis and multiply it by
00:55:16
one, then the logical matrix converts
00:55:19
each true value into a value of
00:55:21
one and each false value converts it
00:55:23
into a zero. I come and with the sum
00:55:26
product function it directly added that
00:55:28
binary matrix and it returns a value
00:55:31
corresponding to 5 pending, look: 1
00:55:35
2 3, 4 and 5, I'm going to select three cells,
00:55:40
I combine this, then I come here to the font,
00:55:42
I put a size of 20, I think 25
00:55:46
is better than 25 in bold, and then
00:55:50
I come and center it like this, look, and I'm going to
00:55:53
put a light-colored fill. so
00:55:56
that it is well pulled and here I am going to
00:55:58
establish another little formula, look very
00:56:00
simple, this does not have any
00:56:02
difficulty In fact, here in this
00:56:04
quote part I am going to put a bottom line
00:56:07
like this Look so that it looks very cool And
00:56:10
then we copy the format This is going to
00:56:12
have again to the choose
00:56:14
columns function I choose the matrix where
00:56:16
the overflow range is generated I put the
00:56:19
pound symbol
00:56:20
Return me the column 13 evaluated with f9
00:56:23
Tell me which of these are equal to
00:56:25
finished then I come and place the
00:56:27
column or I put the literal value so
00:56:29
that it is compared against that column
00:56:31
finished and then I come and close here I
00:56:35
evaluate with f9 I get my logical matrix
00:56:38
I come and I close this and I multiply it
00:56:42
by the value of 1 evaluated with f9 I have the
00:56:45
binary matrix and then I come and call
00:56:47
the sum product function I think that Now
00:56:50
this is going to come out This agenda is very nice
00:56:51
and so context so I answer
00:56:54
this question ready I come and copy this
00:56:57
format clipboard copies of format and
00:56:59
look how many pending activities I
00:57:02
have left 5 for when by Wednesday,
00:57:04
October 5, 2022 then I have
00:57:07
finished pending and finished I have
00:57:11
two activities now
00:57:13
suppose for example I am going to remove what
00:57:15
I have here and suppose for example
00:57:18
that I add a new activity
00:57:21
then I come here I remove the
00:57:23
grid lines and here I also come and
00:57:25
remove the grid lines grid
00:57:27
so that this does not hinder us and that's it,
00:57:30
look. So this agenda is going to
00:57:32
allow you to work like this. What happens if I
00:57:35
come or need to, for example,
00:57:37
select them from the first of October?
00:57:39
Then I come and tell you Here, on the
00:57:40
first of October, schedule a
00:57:43
calendar with so-and-so such answer
00:57:45
comments from the Channel edit a video
00:57:47
tutorial edit a video tutorial mid
00:57:49
with clients to collect
00:57:50
minimum requirements record a video tutorial Well
00:57:52
that's something random
00:57:54
How many pending I have five How many
00:57:57
finished I have one so for
00:57:59
example the 7 look at the 7 it's giving me
00:58:01
here in In this case an additional element
00:58:05
here is giving me quite a few elements
00:58:07
from one in the morning until 6 in
00:58:09
the morning it didn't give me like one
00:58:11
additional element half like three Look here it
00:58:13
gave me like two Sorry two
00:58:16
additional elements it's telling me the
00:58:19
activities that I I have pending 7.
00:58:21
See if I come and leave here
00:58:23
it tells me there is no data there is no data there is no
00:58:25
data there is no data there is no data there is no
00:58:27
data there is no data ready suppose for
00:58:30
example that I come and register a
00:58:32
new activity within look
00:58:33
here I select this sheet on October 31 Sorry
00:58:37
I come here let's see the one on October
00:58:39
31 edit a video tutorial meeting with
00:58:43
Pablo for development look here it is
00:58:44
so I come here and I'm going to create one for
00:58:47
example for November I know that
00:58:49
November doesn't have nothing because look like
00:58:51
this I select it it tells me there is no data
00:58:52
so I'm going to select this we're going to
00:58:55
see the 8 Look it's good and I come here and I'm
00:58:57
going to select it for example the day
00:58:59
I don't know November 3 would be good Look
00:59:03
November third
00:59:04
I select November 3 of the year 2022 I am going to
00:59:08
place a meeting or video tutorial to
00:59:11
answer questions
00:59:14
answer questions from the Excel Channel
00:59:18
made easy we are going to put Excel
00:59:20
made easy like this I give it an enter and it is
00:59:22
pending ready Look it was inside the
00:59:24
table control Z to remove that new
00:59:26
record and it would be November 3 Ah, but I didn't
00:59:29
set the time so I have to
00:59:31
set the time here, for example, let
00:59:33
it be at, I don't know, seven thirty in the
00:59:35
morning, let's put it like this,
00:59:38
730 in the morning. That
00:59:40
would be very good. Look, that's more or less the
00:59:44
time I've been in. Well, I get to work
00:59:45
at around 6:30 But I like to record
00:59:47
very early, what happens if
00:59:50
I come and play here on this sheet on
00:59:52
November 3, notice that now it says 7:30
00:59:54
in the morning video to answer
00:59:56
Excel questions done easy pending
00:59:58
when I finish it I come and tell you ready
01:00:00
Look this task is finished
01:00:03
look I'm going to give it an enter here it was
01:00:06
updated and it already appears finished very
01:00:08
cool this agenda very cool It
01:00:10
really is an agenda to generate or go
01:00:13
place each of the values Yes, according to
01:00:15
the selection that I make in a
01:00:17
calendar, look at everything with formulas. This
01:00:19
is not good, a Macro, but a very
01:00:22
small Macro that does not even make
01:00:25
a difference. It is the one that basically activates the
01:00:26
selection change. But
01:00:29
obviously that has nothing to do with a
01:00:31
small Macro Practically everything was
01:00:33
left with formulas and conditional formatting
01:00:35
that is also created with formulas
01:00:37
so if I want to change, for
01:00:38
example, here the month of November, look,
01:00:41
select November of the year 2022, I come
01:00:43
and select October 31, I have
01:00:45
elements, I select December, Look,
01:00:48
there is no data But If I select, for example,
01:00:49
November 1st, I don't have data,
01:00:51
November 2nd, I don't have data And on Thursday, November 3rd,
01:00:55
if I have data, look, I have
01:00:57
data for here. So Thursday is November 3rd,
01:00:59
I'm going to corroborate it
01:01:02
if you look at Thursday, November 3rd and It
01:01:05
is giving me correctly if I come and
01:01:06
change the year for example and I enter
01:01:08
2024 and I come and select this the
01:01:11
active cell was on the outside so notice
01:01:13
that there is no data according to what I have
01:01:15
collected inside the Source so I
01:01:17
come to 2022 I enter October look and
01:01:21
I start with my calendar for example I
01:01:24
don't know 14 7 8 Look at October 8 and there
01:01:29
we have all the formulas
01:01:30
practically very easy formulas first
01:01:33
formula that I am going to give you would be this
01:01:35
formula I am going to give you an enter second
01:01:38
formula that I am going to give you It would be this one that
01:01:40
I have here third formula that I am going to
01:01:42
give you it would be this one that I have here the one on the
01:01:44
calendar it would be another formula that I have
01:01:47
here I will give you a whole one this is
01:01:49
pure formulas this is also good This
01:01:52
is not a formula this is simply a
01:01:53
good format Let's give it the
01:01:55
format control 1 here I copy the format
01:01:57
control c and I give it an escape and I come here
01:02:02
I have the format Look that is the format
01:02:03
of the cell ddd comma
01:02:06
ddmm of yey that is a cell number format
01:02:10
fill lists fill lists
01:02:12
this little formula and that's it and a very
01:02:16
simple Macro that I already showed you And that would be
01:02:18
all the formulas basically Ah well
01:02:20
This one has a conditional format Let's
01:02:21
put it out here
01:02:24
at or no lies we're not going to give it to or
01:02:26
we're going to give it here manage rules and I
01:02:28
'm going to copy this formatting rule with
01:02:31
control C, I'm going to escape it, I'm going to come and
01:02:34
paste it here and I'm going to put a
01:02:36
small space so that it doesn't run. And
01:02:38
this is the conditional formatting formula.
01:02:40
Look, I put the
01:02:43
active cell here and basically it doesn't do anything
01:02:45
Only when I run it directly
01:02:47
inside the cell ready and here
01:02:50
we also have a small format that is
01:02:53
marking the rows so I come here I'm
01:02:55
going to give it conditional formatting
01:02:57
rule administrator edit rule I
01:03:01
copy this conditional formatting rule
01:03:03
escape escape and I'm going to paste it like
01:03:06
here I'm going to control B I'm going to give it a
01:03:09
space so that it is not evaluated and these
01:03:12
are two conditional formatting rules, the
01:03:13
one here is the calendar one, the one here is
01:03:15
the output format one, ready, look. very
01:03:18
easy tell me if this is not easy to do I
01:03:21
answer the question tell me how to make
01:03:23
a small agenda I just
01:03:24
created it I said oops this is where it could come out and it's
01:03:27
really good it's a little nervous
01:03:29
at the beginning of the video but look look
01:03:31
how things can be done with Excel an
01:03:33
agenda an agenda that contains or is
01:03:36
connected to a data source I am
01:03:38
placing issues states date time and
01:03:41
when I change here look at the
01:03:43
calendar because it is simply
01:03:45
the update for example
01:03:47
November 3 27 28 Notice how they
01:03:50
change each time one of the pure values
01:03:53
indicators basically a small a
01:03:56
small agenda within Excel a
01:04:00
small agenda within Excel very
01:04:02
easy and very simple well my friends
01:04:05
I hope you like this video tutorial
01:04:08
remember workbook let's see which
01:04:11
workbook it is because I already forgot 992
01:04:15
I say this before saying goodbye. I don't know if
01:04:18
this is going to be copied. I haven't seen it
01:04:19
on the internet. I haven't seen the first
01:04:21
person to do it. I haven't seen how to
01:04:23
automate this with formulas. Only
01:04:25
with formulas. So if you already see it
01:04:28
there after October 21 of the year 2022
01:04:31
Rest assured that they copied it from
01:04:33
this channel because this is for all of
01:04:36
you So definitely
01:04:39
if another person does it after this
01:04:41
date they literally copied it But
01:04:43
obviously it has to have context of
01:04:45
all these formulas I hope nothing I hope
01:04:48
they have enjoyed This video It's a
01:04:50
little nervous at first
01:04:52
but what's wrong Here these little things come out
01:04:54
because this is with reason And this is
01:04:57
with knowledge of the facts that we can
01:04:59
develop this type of exercises my
01:05:03
friends Thank you from the bottom of my heart for choosing
01:05:05
to watch my videos from the bottom of my heart. I say with my
01:05:08
hand on my heart, I shake your
01:05:10
hand, I give you a hug. Thank you very much for
01:05:13
choosing to watch my videos on any
01:05:16
other channel. Thank you for watching
01:05:18
the videos on my channel above
01:05:19
any other channel. I am truly very
01:05:21
grateful to all of you for the
01:05:23
support that you are giving me by
01:05:25
seeing or having those visualizations and
01:05:27
allowing me to learn because many people
01:05:30
can see tutorials and many things
01:05:31
but they do not allow themselves to learn. Thank you for
01:05:35
allowing me to learn from those tutorials and
01:05:37
thank you very much for choosing to watch
01:05:39
the Canal XL videos first. made easy and
01:05:42
thank you very much for supporting this work
01:05:44
as I always say my name is Andrés
01:05:46
Rojas Moncada and see you in the
01:05:49
next video tutorial partners and
01:05:52
partners

Description:

Referencia archivo: Workbook 992 Clic aquí para descargar el libro de trabajo de Excel: https://www.excelhechofacil.com/p/descargas.html En este video te enseño a construir una agenda diaria con calendario en Excel completamente automatizada. Capítulos del video 0:00 Presentación 4:15 Introducción 12:00 Crear el formato de la agenda 15:25 Crear el calendario 29:30 Formato condicional del calendario 32:10 Agenda diaria 40:45 Formato condicional agenda diaria 46:50 Programar el evento SelectionChange 53:30 Indicadores Pendiente y Terminado 01:01:30 Fórmulas usadas 01:04:05 Agradecimientos y despedida Tutorial para descargar los archivos de Excel Hecho Fácil: https://www.youtube.com/watch?v=2lUlKAXuDD4 ¿Quieres patrocinar este proyecto? Cómprame un café aquí: https://www.excelhechofacil.com/p/regalame-para-un-cafe.html Te estaré muy agradecido. • Mugs para la casa o el trabajo (https://teespring.com/stores/excelhechofacil) •

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Cómo Hacer una AGENDA Automatizada e Interactiva en Excel con Calendario"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.