• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

Using the LET Function in Excel

0 Comments

Using the LET Function in Excel. If you work with lengthy formulas in Excel, then you’re probably familiar with the idea of named ranges to make complex formulas more readable. Now, Microsoft is taking it a step further and allowing you to name calculations and values directly within a formula. If your formula uses the same expression multiple times, you can have Excel calculate it only once, store the result within the formula, and reuse it as needed. In this article, I’ll introduce you to the LET function, which will help you overcome these challenges. Let’s find out together!

Meaning of using the LET function

The LET function in Excel allows you to name the result of a calculation and define variables within the formula, making the formula look clearer and faster to operate.

Syntax of the LET function

LET (name1, name_value1, [name2], [name_value2], …, calculation)
Where:
name1 (required) – the first name to assign. It must start with a letter.
Name_value1 (required) – the value or calculation assigned to name1.
Name2 / name_value2 (optional) – the second name and value.
Calculation (required) – a calculation using the specified names and values.

Note:
The function can handle up to 126 name/value pairs.
The last argument must be a calculation that returns a result.
Valid variable names can be used in the Name Manager. For example, “a” is valid, but “c” is not because it conflicts with R1C1-style references.

Basic formula of the LET function

If you’re not familiar with the function, an example of the simplest LET formula will help you focus on what’s necessary.
Example 1:
At cell A1, we assign the value “x”, then we enter the value of x and enter the calculation to return the result.
=LET(x,1,x+1)

LET function 1In addition, instead of values, variables can be assigned to cell references.
Example 2: Assign x to B1 and y to C1, we get as follows:
=LET(x,B1,y,C1,x*y)

LET function 2Benefits of the LET function

Why use the LET function in Excel? The LET function can make your formula easier to read. Let’s look at an interesting example.

1. The VLOOKUP function below returns the sales of ID 87.
At cell H3, we enter the formula as follows: =VLOOKUP(H2,$B$2:$E$9,4,0)
Explanation: H2 is the lookup value here is 87.
$B$2:$E$9: is the lookup data range.
4: is the position of the SALES column in the data range to return.

LET function 32. The formula below calculates a bonus (10% of every dollar over $50) using the IF function.
In cell H4, we enter the following formula: =IF(H3>50,(H3-50)*0.1,0)
Explanation: H3 is the cell used to compare the condition.
LET function 4Alternatively, you can use the VLOOKUP function to replace H3:
In cell H4, we enter the following formula: =IF(VLOOKUP(H2,$B$2:$E$9,4,0)>50,(VLOOKUP(H2,B2:E9,4,0)-50)*0.1,0)

LET function 5This IF formula is quite difficult to read and very cluttered. But you can easily read it by using the LET function.
3. The LET function below declares the variable Sales and assigns the calculated result!
In cell H3, we enter the following formula: =LET(SALES,VLOOKUP($H2,$B$3:$E$9,4,FALSE),IF(SALES>50,(SALES-50)*0.1,0))
Explanation: SALES is the name assigned to the result returned by the vlookup function. And then use the assigned name (SALES) to compare with the required condition.

LET function 6So I have finished instructing you on the LET function in Excel. I wish you can perform well and don’t forget to rate Buffcom’s article!

Rate this post
33
273 Views
Using GETPIVOTDATA Function in ExcelPrevUsing GETPIVOTDATA Function in ExcelMarch 16, 2023
How to Cut Images in Word: Extremely Simple and Detailed InstructionsMarch 16, 2023How to Cut Images in Word: Extremely Simple and Detailed InstructionsNext

Leave a Reply Cancel reply

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
  • Trend Micro Maximum Security 3 Devices 1 Year key Global Trend Micro Maximum Security 3 Devices 1 Year key Global
    Rated 5.00 out of 5
    $15.00
  • Windows 11 Home Key Global 2021 Windows 11 Home Key Global 2021
    Rated 5.00 out of 5
    $6.00
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
Products
  • Project Professional 2010 Microsoft Project Professional 2010 - 1PC $9.00
  • Project Professional 2021 Microsoft Project Professional 2021 - 1 PC $13.00
  • Windows Server 2025 Datacenter Windows Server 2025 Datacenter $30.00
  • AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years AVG Ultimate 2021 with Antivirus + Cleaner, Secure VPN 10 Devices 2 Years
    Rated 5.00 out of 5
    $47.00
  • Windows Server 2019 Datacenter Key Global Windows Server 2019 Datacenter Key Global
    Rated 4.75 out of 5
    $7.00
  • Microsoft Project Standard 2019 - 1 PC Microsoft Project Standard 2019 - 1 PC $12.00
  • Microsoft Visual Studio 2019 Professional Key Microsoft Visual Studio 2019 Professional Key
    Rated 4.84 out of 5
    $15.00
  • Windows 10 Education Key Global Windows 10 Education Key Global
    Rated 4.84 out of 5
    $9.00
  • Windows 10 Home Key Global Windows 10 Home Key Global
    Rated 4.81 out of 5
    $10.00
  • AVG Internet Security 2021 10 Devices 2 Years Global AVG Internet Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $42.20
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.