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 LEFT function is used to retrieve a chosen amount of characters, counting from the left side of an Excel cell. The chosen number has to be greater than 0 and is set to 1 by default
The LEFT function is used to retrieve a chosen amount of characters, counting from the left side of an Excel cell. The chosen number has to be greater than 0 and is set to 1 by default.
It is typed =LEFT
If you want to use the function on a single cell, write:
=LEFT(cell)
If you want to use the function on a range of cells, write:
=LEFT(start cell:end cell)
To retrieve values from the left side of an Excel cell, use LEFT.
E2
=LEFT
Copy the values in the example above and try it on your own!
A2
)=LEFT(A2)
uses the default funcion of LEFT and retrieves the first symbol from the A2
cell.
How to Use the LEFT Function with a Defined Length of Characters
Learn to use =LEFT
to get more than one character.
E2
=LEFT
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 first 3 characters from cell A2
.
How to use the LEFT Function on a Range of Cells
E2
=LEFT
A2:A4
) and define the length of characters you want to retrieve, using a ,
as a delimiter (A2:A4,3
)The function returns the first 3 characters 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}`) }) }