Admin
05-26-2011, 10:10 PM
Hi All,
VLOOKUP is one of the Excel's most useful as well as commonly used functions.
Here are some examples.
Data table:
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:216px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td >*</td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Order ID</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Product</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Unit Price</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Quantity</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Queso Cabrales</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">14.00</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">12</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Singaporean Hokkien Fried Mee</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">9.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Mozzarella di Giovanni</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">34.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">5</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10249</td><td style="font-family:Arial; font-size:10pt; ">Tofu</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">18.60</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">9</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10249</td><td style="font-family:Arial; font-size:10pt; ">Manjimup Dried Apples</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">42.40</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">40</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Jack's New England Clam Chowder</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">7.70</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Manjimup Dried Apples</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">42.40</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">35</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Louisiana Fiery Hot Pepper Sauce</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Gustaf's Knäckebröd</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">6</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Ravioli Angelo</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15.60</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Louisiana Fiery Hot Pepper Sauce</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">20</td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040; font-weight:bold;" href="http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4 </a>
a simple VLOOKUP
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:216px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td >*</td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >18</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Order ID</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Product</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Unit Price</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Quantity</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >19</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Queso Cabrales</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">14</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">12</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B19</td><td >=VLOOKUP($A19,$A$2:$D$12,2,0)</td></tr><tr><td >C19</td><td >=VLOOKUP($A19,$A$2:$D$12,3,0)</td></tr><tr><td >D19</td><td >=VLOOKUP($A19,$A$2:$D$12,4,0)</td></tr></table></td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040; font-weight:bold;" href="http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4 </a>
continued on next post..
VLOOKUP is one of the Excel's most useful as well as commonly used functions.
Here are some examples.
Data table:
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:216px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td >*</td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Order ID</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Product</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Unit Price</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Quantity</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Queso Cabrales</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">14.00</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">12</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Singaporean Hokkien Fried Mee</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">9.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Mozzarella di Giovanni</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">34.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">5</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10249</td><td style="font-family:Arial; font-size:10pt; ">Tofu</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">18.60</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">9</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10249</td><td style="font-family:Arial; font-size:10pt; ">Manjimup Dried Apples</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">42.40</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">40</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Jack's New England Clam Chowder</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">7.70</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Manjimup Dried Apples</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">42.40</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">35</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10250</td><td style="font-family:Arial; font-size:10pt; ">Louisiana Fiery Hot Pepper Sauce</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Gustaf's Knäckebröd</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">6</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Ravioli Angelo</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15.60</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">15</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >12</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10251</td><td style="font-family:Arial; font-size:10pt; ">Louisiana Fiery Hot Pepper Sauce</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">16.80</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">20</td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040; font-weight:bold;" href="http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4 </a>
a simple VLOOKUP
<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:64px;" /><col style="width:216px;" /><col style="width:64px;" /><col style="width:64px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td >*</td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >18</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Order ID</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Product</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Unit Price</td><td style="font-family:Arial; font-size:10pt; text-align:center; ">Quantity</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >19</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">10248</td><td style="font-family:Arial; font-size:10pt; ">Queso Cabrales</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">14</td><td style="font-family:Arial; font-size:10pt; text-align:right; ">12</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B19</td><td >=VLOOKUP($A19,$A$2:$D$12,2,0)</td></tr><tr><td >C19</td><td >=VLOOKUP($A19,$A$2:$D$12,3,0)</td></tr><tr><td >D19</td><td >=VLOOKUP($A19,$A$2:$D$12,4,0)</td></tr></table></td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span><a style ="font-family:Arial; font-size:9pt; color:#fcf507; background-color:#800040; font-weight:bold;" href="http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4 </a>
continued on next post..