Question: While the cumulative number of days between two dates can be very useful, sometimes we would like to convert the number of days into a
While the cumulative number of days between two dates can be very useful, sometimes we would like to convert the number of days into a fraction of a year. The function to do that is YEARFRAC. It asks for a start date, end date, and a basis. For this problem use a basis of More help with YEARFRAC can be found at this link.
For example, you would expect the fraction of a year between January st and February st to be approximately st of a year one month or about of the entire year. In fact, it is ; YEARFRAC Note: To have the result show as a percentage, you may need to format the cell as a percent.
In cell I find the faction of the year represented between the date in E and the beginning of the year to decimal Enter the percentage below without the sign.
I: fill in the blank
In cell I find the fraction of the year represented between the date in E and the beginning of the month to decimal Enter the percentage below without the sign.
I: fill in the blank
While we have been learning about dates up to this point, nothing has shown us what day of the week a given date represents. Luckily, Excel has the WEEKDAY function to help find the name of the day. More help with WEEKDAY can be found at this link.
WEEKDAY requires a date and a return type which will almost always be So WEEKDAYdate The function returns a number such as for Sunday, for Monday, etc. but not the actual day name. To obtain the day name, you will need to use the WEEKDAY function inside the TEXT function.
In cell I use the function TEXTWEEKDAYdatedddd replacing date with E What this does is find the weekday number and then uses the TEXT function to convert it to day of week name, which is what dddd represents. The dddd is a formatting instruction to the TEXT function. Enter the day of the week from I below capitalize the first letter
I: fill in the blank
For the name of the month in cell I perform a similar process as you did for the day of the week, but instead of dddd use mmmm which as you might guess, tells the text function to format as month. In this case you do not need WEEKDAY, just TEXTdatemmmm Enter the month name from I below capitalize the first letter
I: fill in the blank
For various reasons, it is often helpful to know the number of actual workdays over a given period. Excel has the NETWORKDAYS function to calculate workdays. The function just takes a beginning date and an end date. For this question, use the beginning of the month and end of month in column E and place the result in I How many workdays are in the current month? Ignore any holidays and leave the "Holidays" argument blank
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
