Google Sheets DAY Function

This post will guide you how to use Google Sheets DAY function with syntax and examples.

Description


The Google Sheets DAY returns a day of a date (from 1 to 31). You can use the DAY function to extract a day number from a given date in google sheets.

The DAY function can be used to get the day of the month as number between 1 to 31 from a given date. The purpose of this function is to get the day as number from a date and its returned values is a number indicating the day component in a date.

The DAY function is a build-in function in Google Sheets and it is categorized as a Date function.

Syntax


The syntax of the DAY function is as below:

=DAY(date_value)

Where the DAY function arguments is:

  • Date_text -This is a required argument. The date from which to extract the day. it can be a cell reference containing a date or a function returning a date type or a number.

Note:

  • The date_value argument must be a valid date value, or it will return the #VALUE! Error.

Google Sheets DAY Function Examples


The below examples will show you how to use google sheets DAY Function to return the day of a date.

#1 To extract the day of the month from a given date value in Cell B1, just using the following DAY function:

=DAY(B1)

google sheets day function1

Note:  The above excel formula will return the day of the date in Cell B1.

#2 the DAY function can be used to extract a day value and then passed the day value into another function called DATE function. Like below:

=DATE(2021,11,DAY(B1))

google sheets day function1

 

Related Posts

Google Sheets LN Function
google sheets LN function1

This post will guide you how to use Google Sheets LN function with syntax and examples. Description The Google Sheets LN function returns the natural logarithm of a given number.  And the natural logarithms are based on the constant e ...

Google Sheets INT Function
google sheets int function1

This post will guide you how to use Google Sheets INT function with syntax and examples. Description The Google Sheets INT function returns the integer portion of a given number. And it will round a given number down to the ...

Google Sheets FLOOR Function
google sheets floor function1

This post will guide you how to use Google Sheets FLOOR function with syntax and examples. Description The Google Sheets FLOOR function returns a number rounded down to the nearest multiple of significance. So it will return a rounded number. ...

Google Sheets EXP Function
google sheets exp function1

This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number.  The constant e is equal to 2.71828182845904, and it ...

Google Sheets FACT Function
google sheets FACT function1

This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number.  The factorial of a given number is equal to 1*2*3…* number. ...

Google Sheets EVEN Function
google sheets even function1

This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...

Google Sheets COUNTBLANK Function
google sheets countblank function1

This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...

Google Sheets DEGREES Function
google sheets degrees function1

This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...

Google Sheets COSH Function
google sheets cosh function1

This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...

Google Sheets COS Function
google sheets cos function1

This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...

Sidebar