• 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
32
269 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
  • Windows 11 Pro Product Activation Key Windows 11 Pro Product Activation Key
    Rated 5.00 out of 5
    $6.00
  • AVG Internet Security 2021 10 Devices 1 Year Global AVG Internet Security 2021 10 Devices 1 Year Global
    Rated 5.00 out of 5
    $30.00
  • Kaspersky Total Security 2021 1 year 1 device key Global Kaspersky Total Security 2021 1 year 1 device key Global
    Rated 5.00 out of 5
    $27.00
  • Avast Ultimate Suite 2021 2 Years 10 Devices Global Avast Ultimate Suite 2021 2 Years 10 Devices Global
    Rated 5.00 out of 5
    $77.00
  • Buy Windows 11 Pro CD Key License Buy Windows 11 Pro CD Key License
    Rated 5.00 out of 5
    $6.00
Products
  • Microsoft Visio Standard 2019 Key 1PC Microsoft Visio Standard 2019 Key 1PC $12.00
  • Kaspersky Plus - 1 Device 1 Year - GLOBAL Kaspersky Plus - 1 Device 1 Year - GLOBAL $23.00
  • Microsoft Visio Professional 2013 Key 1PC Microsoft Visio Professional 2013 Key 1PC $9.00
  • Windows 10 Enterprise Key Global Windows 10 Enterprise Key Global
    Rated 4.82 out of 5
    $9.00
  • Avast Premium Security 2021 10 Devices 2 Years Global Avast Premium Security 2021 10 Devices 2 Years Global
    Rated 5.00 out of 5
    $41.00
  • Windows Server 2016 Standard Key Global Windows Server 2016 Standard Key Global
    Rated 4.80 out of 5
    $10.00
  • Office 2024 Home And Business For Mac/Pc Bind Office 2024 Home And Business For Mac/Pc Bind $99.00
  • AVG Internet Security 2021 1 Device 1 Year Global AVG Internet Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Windows Server 2019 Remote Desktop Services 50 USER Connections Key Global Windows Server 2019 Remote Desktop Services 50 USER Connections Key Global
    Rated 4.75 out of 5
    $20.00
  • Avast SecureLine VPN 2021 1 Year 5 Devices Global Avast SecureLine VPN 2021 1 Year 5 Devices Global
    Rated 4.91 out of 5
    $34.00
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.