The vmin unit is a CSS unit that represents the smaller value between the viewport’s width and height. For example, if the viewport is wider than it is tall, then 1vmin will equal 1/100th of the viewport width. If the viewport is taller than it is wide, then 1vmin will equal 1/100th of the viewport height.

The post px to vmin appeared first on Essential Excel.

]]>The post How to Use Vlookup Function in Excel With Example appeared first on Essential Excel.

]]>Syntax:

**VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])**

**lookup_value:** The value you want to look up.

**table_array:** The range of cells that contains the data you want to search.

**col_index_num:** The column number in the table array from which the matching value must be returned.

**range_lookup:** [optional] A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match.

Example:

In this example, we have a table of data with student names in the first column and their corresponding grades in the second column. We want to find the grade of the student “John”.

We can use the VLOOKUP function to search for “John” in the first column and return the corresponding grade from the second column.

The formula would be:

**=VLOOKUP(“John”, A2:B6, 2, FALSE)**

The result is “A”, which is the grade of the student “John”.

The post How to Use Vlookup Function in Excel With Example appeared first on Essential Excel.

]]>- CTRL + LEFT/RIGHT/UP/DOWN: Move to the next populated cell
- CTRL + END: Move to the last populated cell
- CTRL + HOME: Return to Cell A1
- CTRL + G: Go to a specific cell by entering the address
- CTRL + PAGE DOWN: Go to the next spreadsheet
- CTRL + PAGE UP: Go to the previous spreadsheet

Clipboard

- ALT + E + S + V: Paste as values

Borders

- ALT + H + B + S: Outside borders
- ALT + H + B + A: All borders
- ALT + H + B + N: No borders

Number

- ALT + H + N: Update cell format

Cells

- ALT + I + R: Insert new row
- ALT + I + C: Insert new column
- ALT + O + C + A: AutoFit column width
- ALT + O + R + A: AutoFit row height
- SHIFT + SPACE: Select entire row
- ALT + E + D: Delete entire row

- CTRL + SPACE: Select entire column
- ALT + E + D: Delete entire column

Editing

- ALT + D + F + F: Toggle on/off auto filter
- ALT + A + C: Clear filter

The post Excel Shortcut Keys to Speed up Your Work appeared first on Essential Excel.

]]>Here is a quick solution for counting number of words in given cell. There is picture with example and belov is formula that you can paste into your Sheet, and just change cell that you want to count words.

Example for getting number of words in cell A2:

=IF(LEN(TRIM(A2))=0;0;LEN(TRIM(A2))-LEN(SUBSTITUTE(A2;” “;””))+1)

The post Count number of words in cell appeared first on Essential Excel.

]]>Here are a quick example how to determinate number of Saturdays for month or given period of time with excel formula.

First in one cell, in our example it will be A1, put start time for desired period of time, then in second cell, B1 in our example put end of period.

In some other cell, A4 in our example put formula:

=SUM(INT((WEEKDAY(A2-7)+B2-A2)/7))

And here it is our result! Peace of cake !:)

See picture below for illustration

**If it’s easier for you, you can buy and download the finished file with the entered formulafor $10**

The post Number of Saturdays in Month or Given Period appeared first on Essential Excel.

]]>The post Get Current Workbook Path With Excel Formula appeared first on Essential Excel.

]]>To generate random numbers in Excel between 1 to 20, where none of the numbers repeat, we can use the excel function RAND().

In cell A1 type formula =RAND() and drag formula to cell A20.

You will get a list of random values between 0 and 1. It will change everytime you edit any cell in a worksheet, so it is recommended to select whole range and do copy/paste as values, especially if you work with large data sets.

The next step is to add the excel formula RANK to column B which will make a list of random numbers between 1 and 20 without repeating. So, in cell B1 type =RANK(A1, $A$1:$A$20) and then drag for other cells. This formula is to get 20 random numbers, which is why we used range A1:A20. If you need more numbers, you will adjust the range accordingly.

After this, you will have the random list of numbers between 1 and 20 in column B.

The post Generate a set of unique numbers in random order appeared first on Essential Excel.

]]>To split text with excel function, you can use combination of four excel function.

Here are list of function that we will use:

LEFT

RIGHT

LEN

FIND

In cell A1 type text “Fuel+Car”. So we want to split text “Fuel” in B1 and “Car” in C1. Picture below

After in cell B1 put formula LEFT(A1;FIND(“+”;A1)-1)

And finally in cell C1 put another one RIGHT(A1;LEN(A1)-FIND(“+”;A1)). That’s it!

The post Split Text With Excel Formula Into Two Columns appeared first on Essential Excel.

]]>irst open VBA editor with Alt+F11.

Double click on sheet that you want to unlock.

Paste code below into editor and run macro. That’s it.

Sub PasswordBreaker() 'Breaks worksheet password protection. Dim i As Integer, j As Integer, k As Integer Dim l As Integer, m As Integer, n As Integer Dim i1 As Integer, i2 As Integer, i3 As Integer Dim i4 As Integer, i5 As Integer, i6 As Integer On Error Resume Next For i = 65 To 66: For j = 65 To 66: For k = 65 To 66 For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66 For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66 For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126 ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _ Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _ Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) If ActiveSheet.ProtectContents = False Then MsgBox "One usable password is " & Chr(i) & Chr(j) & _ Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _ Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n) Exit Sub End If Next: Next: Next: Next: Next: Next Next: Next: Next: Next: Next: Next End Sub

The post VBA Code to Unlock a Locked Excel Sheet With Password appeared first on Essential Excel.

]]>Vba function **val()** have property that help you to extract number from string. Here is code and exampe:

Function ExtractAmount(data As String) As Variant Dim s As String s = Split(data, "$")(1) 'part after first dollar sign s = Replace(s, ",", "") 'throw away any commas ExtractAmount = CCur(Val(s)) End Function

The post Extract Number in String appeared first on Essential Excel.

]]>