SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Excel Tips and Tricks
Excel – Vlookup
Searches for a value in the first column of a
table array and returns a value in the same
row from another column in the table array.

The V in VLOOKUP stands for vertical. Use
VLOOKUP instead of HLOOKUP when your
comparison values are located in a column to
the left of the data that you want to find.

Syntax

 VLOOKUP (lookup_value, table_array,col_index_num, range_lookup)
• Lookup_value The value to search in the first
  column of the table array. Lookup_value can be a
  value or a reference. If lookup_value is smaller
  than the smallest value in the first column of
  table_array, VLOOKUP returns the #N/A error
  value.
• Table_array Two or more columns of data. Use
  a reference to a range or a range name. The
  values in the first column of table_array are the
  values searched by lookup_value. These values
  can be text, numbers, or logical values.
  Uppercase and lowercase text are equivalent.
• Col_index_num           The column number in
  table_array from which the matching value must
  be returned. A col_index_num of 1 returns the
  value in the first column in table_array; a
  col_index_num of 2 returns the value in the
  second column in table_array, and so on.
If col_index_num is:
• Less than 1, VLOOKUP returns the #VALUE!
    error value.
• Greater than the number of columns in
    table_array, VLOOKUP returns the #REF!
    error value.
Range_lookup        A logical value that specifies
    whether you want VLOOKUP to find an exact
    match or an approximate match:
• If TRUE or omitted, an exact or approximate
    match is returned. If an exact match is not
    found, the next largest value that is less than
    lookup_value is returned.
Example 1
  This example searches the Density column of an
  atmospheric properties table to find
  corresponding values in the Viscosity and
  Temperature columns. (The values are for air at
  0 degrees Celsius at sea level, or 1 atmosphere.)




Respective formulae examples are given below
Formula                        Description (result)
=VLOOKUP(1,A2:C10,2)           Using an approximate match, searches for the value 1 in column A,
                               finds the largest value less than or equal to 1 in column A which is
                               0.946, and then returns the value from column B in the same row.
                               (2.17)
=VLOOKUP(1,A2:C10,3,TRUE)      Using an approximate match, searches for the value 1 in column A,
                               finds the largest value less than or equal to 1 in column A, which is
                               0.946, and then returns the value from column C in the same row.
                               (100)
=VLOOKUP(0.7,A2:C10,3,FALSE)   Using an exact match, searches for the value .7 in column A.
                               Because there is no exact match in column A, an error is returned.
                               (#N/A)
=VLOOKUP(0.1,A2:C10,2,TRUE)    Using an approximate match, searches for the value 0.1 in column A.
                               Because 0.1 is less than the smallest value in column A, an error is
                               returned. (#N/A)
=VLOOKUP(2,A2:C10,2,TRUE)      Using an approximate match, searches for the value 2 in column A,
                               finds the largest value less than or equal to 2 in column A, which is
                               1.29, and then returns the value from column B in the same row.
                               (1.71)
Example 2
  This example searches the Item-ID column of a baby
  products table and matches values in the Cost and
  Markup columns to calculate prices and test
  conditions.
Item-ID     Item        Cost           Markup
ST-340      Stroller           $145.67     30%
BI-567      Bib                  $3.56     40%
DI-328      Diapers             $21.45     35%
WI-989      Wipes                $5.12     40%
AS-469      Aspirator            $2.56     45%
Respective formulae examples are given below
Formula                                        Description (result)

= VLOOKUP("DI-328", A2:D6, 3, FALSE) * (1 + Calculates the retail price of diapers by adding the
VLOOKUP("DI-328", A2:D6, 4, FALSE))         markup percentage to the cost. ($28.96)

= (VLOOKUP("WI-989", A2:D6, 3, FALSE) * (1     Calculates the sale price of wipes by subtracting a
+ VLOOKUP("WI-989", A2:D6, 4, FALSE))) * (1    specified discount from the retail price. ($5.73)
- 20%)
= IF(VLOOKUP(A2, A2:D6, 3, FALSE) >= 20,       If the cost of an item is greater than or equal to
"Markup is " & 100 * VLOOKUP(A2, A2:D6, 4,     $20.00, displays the string "Markup is nn%";
FALSE) &"%", "Cost is under $20.00")           otherwise, displays the string "Cost is under
                                               $20.00". (Markup is 30%)
= IF(VLOOKUP(A3, A2:D6, 3, FALSE) >= 20,       If the cost of an item is greater than or equal to
"Markup is: " & 100 * VLOOKUP(A3, A2:D6, 4,    $20.00, displays the string Markup is nn%";
FALSE) &"%", "Cost is $" & VLOOKUP(A3,         otherwise, displays the string "Cost is $n.nn".
A2:D6, 3, FALSE))                              (Cost is $3.56)
Vlookup Description

Weitere ähnliche Inhalte

Was ist angesagt?

Inner join and outer join
Inner join and outer joinInner join and outer join
Inner join and outer join
Nargis Ehsan
 

Was ist angesagt? (20)

VLOOKUP Function - Marelen Talavera - Vivacious Analytic
VLOOKUP Function - Marelen Talavera - Vivacious AnalyticVLOOKUP Function - Marelen Talavera - Vivacious Analytic
VLOOKUP Function - Marelen Talavera - Vivacious Analytic
 
Vlookup In Excel
Vlookup In ExcelVlookup In Excel
Vlookup In Excel
 
SQL subquery
SQL subquerySQL subquery
SQL subquery
 
How to Use VLOOKUP in Excel
How to Use VLOOKUP in ExcelHow to Use VLOOKUP in Excel
How to Use VLOOKUP in Excel
 
SQL Join Basic
SQL Join BasicSQL Join Basic
SQL Join Basic
 
Ms Excel
Ms ExcelMs Excel
Ms Excel
 
MS Excel Tips & Tricks
MS Excel Tips & TricksMS Excel Tips & Tricks
MS Excel Tips & Tricks
 
Excel SUMIFS Function
Excel SUMIFS FunctionExcel SUMIFS Function
Excel SUMIFS Function
 
Sumif () ppt
Sumif () pptSumif () ppt
Sumif () ppt
 
Vlookup - an introduction
Vlookup - an introductionVlookup - an introduction
Vlookup - an introduction
 
Inner join and outer join
Inner join and outer joinInner join and outer join
Inner join and outer join
 
Excel formula
Excel formulaExcel formula
Excel formula
 
Microsoft Excel- basics
Microsoft Excel-  basicsMicrosoft Excel-  basics
Microsoft Excel- basics
 
Look up functions
Look up functionsLook up functions
Look up functions
 
Types of keys dbms
Types of keys dbmsTypes of keys dbms
Types of keys dbms
 
Creating a vlookup v1.0 050813
Creating a vlookup v1.0 050813Creating a vlookup v1.0 050813
Creating a vlookup v1.0 050813
 
Intermediate Excel
Intermediate Excel Intermediate Excel
Intermediate Excel
 
Excel 2007 Training 2012 Module 1 (Self Study Materials)
Excel 2007 Training 2012 Module 1 (Self Study Materials)Excel 2007 Training 2012 Module 1 (Self Study Materials)
Excel 2007 Training 2012 Module 1 (Self Study Materials)
 
Excel tips and tricks you should try
Excel tips and tricks you should tryExcel tips and tricks you should try
Excel tips and tricks you should try
 
Introduction to oracle functions
Introduction to oracle functionsIntroduction to oracle functions
Introduction to oracle functions
 

Ähnlich wie Vlookup Description

Commonly used excel formulas
Commonly used excel formulasCommonly used excel formulas
Commonly used excel formulas
saladi330
 
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,matchOn if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
Rakesh Sah
 
Manual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in ExcelManual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in Excel
Christopher Ward
 

Ähnlich wie Vlookup Description (20)

Excel tips
Excel tipsExcel tips
Excel tips
 
Commonly used excel formulas
Commonly used excel formulasCommonly used excel formulas
Commonly used excel formulas
 
Commonly used excel formulas
Commonly used excel formulasCommonly used excel formulas
Commonly used excel formulas
 
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,matchOn if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
On if,countif,countifs,sumif,countifs,lookup,v lookup,index,match
 
Excel.useful fns
Excel.useful fnsExcel.useful fns
Excel.useful fns
 
cheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdfcheatsheet from DataCamp.pdf
cheatsheet from DataCamp.pdf
 
Excel functions, formulas, Prepared by singh institute RK Puram
Excel functions, formulas, Prepared by singh institute RK PuramExcel functions, formulas, Prepared by singh institute RK Puram
Excel functions, formulas, Prepared by singh institute RK Puram
 
Simple Spreadsheet Tips
Simple Spreadsheet TipsSimple Spreadsheet Tips
Simple Spreadsheet Tips
 
Advanced Excel Courses Mumbai
Advanced Excel Courses MumbaiAdvanced Excel Courses Mumbai
Advanced Excel Courses Mumbai
 
Manual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in ExcelManual for Troubleshooting Formulas & Functions in Excel
Manual for Troubleshooting Formulas & Functions in Excel
 
assignment 2
assignment 2assignment 2
assignment 2
 
Excel Overview.pptx
Excel Overview.pptxExcel Overview.pptx
Excel Overview.pptx
 
Training excel
Training  excelTraining  excel
Training excel
 
Formulas Cheat Sheet
Formulas Cheat SheetFormulas Cheat Sheet
Formulas Cheat Sheet
 
2d function table
2d function table2d function table
2d function table
 
Get more from excel
Get more from excelGet more from excel
Get more from excel
 
The Real Numbers
The Real NumbersThe Real Numbers
The Real Numbers
 
Ms excel
Ms excelMs excel
Ms excel
 
Advanced Excel ppt
Advanced Excel pptAdvanced Excel ppt
Advanced Excel ppt
 
1.2 Zep Excel.pptx
1.2 Zep Excel.pptx1.2 Zep Excel.pptx
1.2 Zep Excel.pptx
 

Mehr von Vijay Perepa

Pivot table essential learning 1
Pivot table   essential learning 1Pivot table   essential learning 1
Pivot table essential learning 1
Vijay Perepa
 
Modeling in microsoft excel
Modeling in microsoft excelModeling in microsoft excel
Modeling in microsoft excel
Vijay Perepa
 
Excel training commands not in ribbon
Excel training   commands not in ribbonExcel training   commands not in ribbon
Excel training commands not in ribbon
Vijay Perepa
 
Power point short cut keys
Power point short cut keysPower point short cut keys
Power point short cut keys
Vijay Perepa
 
Excel information formulae par ii ameet z academy
Excel information formulae par ii  ameet z academyExcel information formulae par ii  ameet z academy
Excel information formulae par ii ameet z academy
Vijay Perepa
 

Mehr von Vijay Perepa (20)

Access essential training framework
Access essential training   frameworkAccess essential training   framework
Access essential training framework
 
Add picture to comment
Add picture to commentAdd picture to comment
Add picture to comment
 
Excel short cut series function keys
Excel short cut series   function keysExcel short cut series   function keys
Excel short cut series function keys
 
PowerPoint Info-Graphics
PowerPoint Info-GraphicsPowerPoint Info-Graphics
PowerPoint Info-Graphics
 
Types of charts in Excel and How to use them
Types of charts in Excel and How to use themTypes of charts in Excel and How to use them
Types of charts in Excel and How to use them
 
Pivot table essential learning 1
Pivot table   essential learning 1Pivot table   essential learning 1
Pivot table essential learning 1
 
Pivot table essential learning 2
Pivot table   essential learning 2Pivot table   essential learning 2
Pivot table essential learning 2
 
Modeling in microsoft excel
Modeling in microsoft excelModeling in microsoft excel
Modeling in microsoft excel
 
Understanding excel’s error values
Understanding excel’s error valuesUnderstanding excel’s error values
Understanding excel’s error values
 
Excel training commands not in ribbon
Excel training   commands not in ribbonExcel training   commands not in ribbon
Excel training commands not in ribbon
 
E learning excel vba programming lesson 5
E learning excel vba programming  lesson 5E learning excel vba programming  lesson 5
E learning excel vba programming lesson 5
 
E learning excel vba programming lesson 4
E learning excel vba programming  lesson 4E learning excel vba programming  lesson 4
E learning excel vba programming lesson 4
 
Pivot table
Pivot tablePivot table
Pivot table
 
Power point short cut keys
Power point short cut keysPower point short cut keys
Power point short cut keys
 
Understanding excel’s error values
Understanding excel’s error valuesUnderstanding excel’s error values
Understanding excel’s error values
 
E learning excel vba programming lesson 3
E learning excel vba programming  lesson 3E learning excel vba programming  lesson 3
E learning excel vba programming lesson 3
 
Excel information formulae par ii ameet z academy
Excel information formulae par ii  ameet z academyExcel information formulae par ii  ameet z academy
Excel information formulae par ii ameet z academy
 
Excel information formulae ameet z academy
Excel information formulae   ameet z academyExcel information formulae   ameet z academy
Excel information formulae ameet z academy
 
Excel text formulae ameet z academy
Excel text formulae   ameet z academyExcel text formulae   ameet z academy
Excel text formulae ameet z academy
 
E-Learning from Ameetz (ISERROR formula)
E-Learning from Ameetz (ISERROR formula)E-Learning from Ameetz (ISERROR formula)
E-Learning from Ameetz (ISERROR formula)
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Vlookup Description

  • 1. Excel Tips and Tricks
  • 3. Searches for a value in the first column of a table array and returns a value in the same row from another column in the table array. The V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data that you want to find. Syntax VLOOKUP (lookup_value, table_array,col_index_num, range_lookup)
  • 4. • Lookup_value The value to search in the first column of the table array. Lookup_value can be a value or a reference. If lookup_value is smaller than the smallest value in the first column of table_array, VLOOKUP returns the #N/A error value. • Table_array Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent. • Col_index_num The column number in table_array from which the matching value must be returned. A col_index_num of 1 returns the value in the first column in table_array; a col_index_num of 2 returns the value in the second column in table_array, and so on.
  • 5. If col_index_num is: • Less than 1, VLOOKUP returns the #VALUE! error value. • Greater than the number of columns in table_array, VLOOKUP returns the #REF! error value. Range_lookup A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match: • If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned.
  • 6. Example 1 This example searches the Density column of an atmospheric properties table to find corresponding values in the Viscosity and Temperature columns. (The values are for air at 0 degrees Celsius at sea level, or 1 atmosphere.) Respective formulae examples are given below
  • 7. Formula Description (result) =VLOOKUP(1,A2:C10,2) Using an approximate match, searches for the value 1 in column A, finds the largest value less than or equal to 1 in column A which is 0.946, and then returns the value from column B in the same row. (2.17) =VLOOKUP(1,A2:C10,3,TRUE) Using an approximate match, searches for the value 1 in column A, finds the largest value less than or equal to 1 in column A, which is 0.946, and then returns the value from column C in the same row. (100) =VLOOKUP(0.7,A2:C10,3,FALSE) Using an exact match, searches for the value .7 in column A. Because there is no exact match in column A, an error is returned. (#N/A) =VLOOKUP(0.1,A2:C10,2,TRUE) Using an approximate match, searches for the value 0.1 in column A. Because 0.1 is less than the smallest value in column A, an error is returned. (#N/A) =VLOOKUP(2,A2:C10,2,TRUE) Using an approximate match, searches for the value 2 in column A, finds the largest value less than or equal to 2 in column A, which is 1.29, and then returns the value from column B in the same row. (1.71)
  • 8. Example 2 This example searches the Item-ID column of a baby products table and matches values in the Cost and Markup columns to calculate prices and test conditions. Item-ID Item Cost Markup ST-340 Stroller $145.67 30% BI-567 Bib $3.56 40% DI-328 Diapers $21.45 35% WI-989 Wipes $5.12 40% AS-469 Aspirator $2.56 45% Respective formulae examples are given below
  • 9. Formula Description (result) = VLOOKUP("DI-328", A2:D6, 3, FALSE) * (1 + Calculates the retail price of diapers by adding the VLOOKUP("DI-328", A2:D6, 4, FALSE)) markup percentage to the cost. ($28.96) = (VLOOKUP("WI-989", A2:D6, 3, FALSE) * (1 Calculates the sale price of wipes by subtracting a + VLOOKUP("WI-989", A2:D6, 4, FALSE))) * (1 specified discount from the retail price. ($5.73) - 20%) = IF(VLOOKUP(A2, A2:D6, 3, FALSE) >= 20, If the cost of an item is greater than or equal to "Markup is " & 100 * VLOOKUP(A2, A2:D6, 4, $20.00, displays the string "Markup is nn%"; FALSE) &"%", "Cost is under $20.00") otherwise, displays the string "Cost is under $20.00". (Markup is 30%) = IF(VLOOKUP(A3, A2:D6, 3, FALSE) >= 20, If the cost of an item is greater than or equal to "Markup is: " & 100 * VLOOKUP(A3, A2:D6, 4, $20.00, displays the string Markup is nn%"; FALSE) &"%", "Cost is $" & VLOOKUP(A3, otherwise, displays the string "Cost is $n.nn". A2:D6, 3, FALSE)) (Cost is $3.56)