HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The RIGHT function is used to retrieve a chosen amount of characters, counting from the right side of an Excel cell. The chosen number has to be greater than 0 and is set to 1 by default
The RIGHT function is used to retrieve a chosen amount of characters, counting from the right side of an Excel cell. The chosen number has to be greater than 0 and is set to 1 by default.
It is typed =RIGHT
If you want to use the function on a single cell, write:
=RIGHT(cell)
If you want to use the function on a range of cells, write:
=RIGHT(start cell:end cell)
To retrieve values from the right side of an Excel cell, use RIGHT.
E2
=RIGHT
Copy the values in the example above and try it on your own!
A2
)=RIGHT(A2)
uses the default funcion of RIGHT and retrieves the last symbol from the A2
cell.
How to use the RIGHT function with a defined length of characters
E2
=RIGHT
Note: The different parts of the function are separated by a symbol, like comma ,
or semicolon ;
The symbol depends on your Language Settings.
A2
) and define the length of characters you want to retrieve, using a ,
as a delimiter (A2,3
)The function returns the last 3 symbols from cell A2
.
How to use the RIGHT function used on a range of cells
E2
=RIGHT
A2:A4
) and define the length of characters you want to retrieve, using a ,
as a delimiter (A2:A4,3
)The function returns the last 3 symbols from each cell within the range A2:A4
.
function copyFormulas(elementId){ /* Get the text field */ var copyText = document.getElementById(elementId); /* Select the text field */ copyText.select(); copyText.setSelectionRange(0, 99999); /* For mobile devices */ /* Copy the text inside the text field */ navigator.clipboard.writeText(copyText.value) .then(() => { alert('Range copied to clipboard.\nIt can now be pasted into the Excel spreadsheet.') }) .catch((error) => { alert(`Copy failed! ${error}`) }) }