Created
October 2, 2012 17:55
-
-
Save zippy1981/3821711 to your computer and use it in GitHub Desktop.
Answer to Simple HLOOKUP Failing with Excel 2010 http://stackoverflow.com/questions/12695417/simple-hlookup-failing-with-excel-2010
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- C:/Users/jdearing/Documents/deleteme/Sokol/Sheet1.xml.orig Tue Oct 02 13:56:26 2012 | |
+++ C:/Users/jdearing/Documents/deleteme/Sokol/Sheet1.xml.new Tue Oct 02 13:56:32 2012 | |
@@ -3,7 +3,7 @@ | |
<dimension ref="A1:F13"/> | |
<sheetViews> | |
<sheetView tabSelected="1" workbookViewId="0"> | |
- <selection activeCell="I7" sqref="I7"/> | |
+ <selection activeCell="C3" sqref="C3"/> | |
</sheetView> | |
</sheetViews> | |
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/> | |
@@ -55,10 +55,10 @@ | |
<v>0.998</v> | |
</c> | |
<c r="C5" s="4"> | |
- <v>0.99900000000000011</v> | |
+ <v>0.999</v> | |
</c> | |
<c r="D5" s="4"> | |
- <v>0.99930000000000008</v> | |
+ <v>0.99929999999999997</v> | |
</c> | |
<c r="E5" s="1"> | |
<v>0.99950000000000006</v> | |
@@ -69,13 +69,13 @@ | |
<f>HLOOKUP(B5,$B$2:$E$3,2, FALSE())</f> | |
<v>A</v> | |
</c> | |
- <c r="C6" s="1" t="e"> | |
+ <c r="C6" s="1" t="str"> | |
<f>HLOOKUP(C5,$B$2:$E$3,2, FALSE())</f> | |
- <v>#N/A</v> | |
+ <v>B</v> | |
</c> | |
- <c r="D6" s="1" t="e"> | |
+ <c r="D6" s="1" t="str"> | |
<f>HLOOKUP(D5,$B$2:$E$3,2, FALSE())</f> | |
- <v>#N/A</v> | |
+ <v>C</v> | |
</c> | |
<c r="E6" s="1" t="str"> | |
<f>HLOOKUP(E5,$B$2:$E$3,2, FALSE())</f> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"> | |
<dimension ref="A1:F13"/> | |
<sheetViews> | |
<sheetView tabSelected="1" workbookViewId="0"> | |
<selection activeCell="C3" sqref="C3"/> | |
</sheetView> | |
</sheetViews> | |
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/> | |
<sheetData> | |
<row r="1" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B1" s="3"/> | |
<c r="C1" s="3"/> | |
<c r="D1" s="3"/> | |
<c r="E1" s="3"/> | |
<c r="F1" s="3"/> | |
</row> | |
<row r="2" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B2" s="1"> | |
<v>0.998</v> | |
</c> | |
<c r="C2" s="4"> | |
<v>0.999</v> | |
</c> | |
<c r="D2" s="4"> | |
<v>0.99929999999999997</v> | |
</c> | |
<c r="E2" s="1"> | |
<v>0.99950000000000006</v> | |
</c> | |
<c r="F2" s="3"/> | |
</row> | |
<row r="3" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B3" s="1" t="s"> | |
<v>0</v> | |
</c> | |
<c r="C3" s="4" t="s"> | |
<v>1</v> | |
</c> | |
<c r="D3" s="4" t="s"> | |
<v>2</v> | |
</c> | |
<c r="E3" s="1" t="s"> | |
<v>3</v> | |
</c> | |
</row> | |
<row r="4" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B4" s="2"/> | |
<c r="C4" s="5"/> | |
<c r="D4" s="5"/> | |
<c r="E4" s="2"/> | |
</row> | |
<row r="5" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B5" s="1"> | |
<v>0.998</v> | |
</c> | |
<c r="C5" s="4"> | |
<v>0.999</v> | |
</c> | |
<c r="D5" s="4"> | |
<v>0.99929999999999997</v> | |
</c> | |
<c r="E5" s="1"> | |
<v>0.99950000000000006</v> | |
</c> | |
</row> | |
<row r="6" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B6" s="1" t="str"> | |
<f>HLOOKUP(B5,$B$2:$E$3,2, FALSE())</f> | |
<v>A</v> | |
</c> | |
<c r="C6" s="1" t="str"> | |
<f>HLOOKUP(C5,$B$2:$E$3,2, FALSE())</f> | |
<v>B</v> | |
</c> | |
<c r="D6" s="1" t="str"> | |
<f>HLOOKUP(D5,$B$2:$E$3,2, FALSE())</f> | |
<v>C</v> | |
</c> | |
<c r="E6" s="1" t="str"> | |
<f>HLOOKUP(E5,$B$2:$E$3,2, FALSE())</f> | |
<v>D</v> | |
</c> | |
</row> | |
<row r="7" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="C7" t="s"> | |
<v>4</v> | |
</c> | |
</row> | |
<row r="11" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A11" t="s"> | |
<v>5</v> | |
</c> | |
<c r="B11" s="3" t="b"> | |
<f>B5=B2</f> | |
<v>1</v> | |
</c> | |
<c r="C11" s="3" t="b"> | |
<f t="shared" ref="C11:E11" si="0">C5=C2</f> | |
<v>1</v> | |
</c> | |
<c r="D11" s="3" t="b"> | |
<f t="shared" si="0"/> | |
<v>1</v> | |
</c> | |
<c r="E11" s="3" t="b"> | |
<f t="shared" si="0"/> | |
<v>1</v> | |
</c> | |
</row> | |
<row r="12" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A12" t="s"> | |
<v>6</v> | |
</c> | |
<c r="B12" t="b"> | |
<f>VALUE(B2)=VALUE(B5)</f> | |
<v>1</v> | |
</c> | |
<c r="C12" s="3" t="b"> | |
<f t="shared" ref="C12:E12" si="1">VALUE(C2)=VALUE(C5)</f> | |
<v>1</v> | |
</c> | |
<c r="D12" s="3" t="b"> | |
<f t="shared" si="1"/> | |
<v>1</v> | |
</c> | |
<c r="E12" s="3" t="b"> | |
<f t="shared" si="1"/> | |
<v>1</v> | |
</c> | |
</row> | |
<row r="13" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A13" t="s"> | |
<v>7</v> | |
</c> | |
<c r="B13" t="b"> | |
<f>LEN(B2)=LEN(B5)</f> | |
<v>1</v> | |
</c> | |
<c r="C13" s="3" t="b"> | |
<f t="shared" ref="C13:E13" si="2">LEN(C2)=LEN(C5)</f> | |
<v>1</v> | |
</c> | |
<c r="D13" s="3" t="b"> | |
<f t="shared" si="2"/> | |
<v>1</v> | |
</c> | |
<c r="E13" s="3" t="b"> | |
<f t="shared" si="2"/> | |
<v>1</v> | |
</c> | |
</row> | |
</sheetData> | |
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> | |
</worksheet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"> | |
<dimension ref="A1:F13"/> | |
<sheetViews> | |
<sheetView tabSelected="1" workbookViewId="0"> | |
<selection activeCell="I7" sqref="I7"/> | |
</sheetView> | |
</sheetViews> | |
<sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/> | |
<sheetData> | |
<row r="1" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B1" s="3"/> | |
<c r="C1" s="3"/> | |
<c r="D1" s="3"/> | |
<c r="E1" s="3"/> | |
<c r="F1" s="3"/> | |
</row> | |
<row r="2" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B2" s="1"> | |
<v>0.998</v> | |
</c> | |
<c r="C2" s="4"> | |
<v>0.999</v> | |
</c> | |
<c r="D2" s="4"> | |
<v>0.99929999999999997</v> | |
</c> | |
<c r="E2" s="1"> | |
<v>0.99950000000000006</v> | |
</c> | |
<c r="F2" s="3"/> | |
</row> | |
<row r="3" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B3" s="1" t="s"> | |
<v>0</v> | |
</c> | |
<c r="C3" s="4" t="s"> | |
<v>1</v> | |
</c> | |
<c r="D3" s="4" t="s"> | |
<v>2</v> | |
</c> | |
<c r="E3" s="1" t="s"> | |
<v>3</v> | |
</c> | |
</row> | |
<row r="4" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B4" s="2"/> | |
<c r="C4" s="5"/> | |
<c r="D4" s="5"/> | |
<c r="E4" s="2"/> | |
</row> | |
<row r="5" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B5" s="1"> | |
<v>0.998</v> | |
</c> | |
<c r="C5" s="4"> | |
<v>0.99900000000000011</v> | |
</c> | |
<c r="D5" s="4"> | |
<v>0.99930000000000008</v> | |
</c> | |
<c r="E5" s="1"> | |
<v>0.99950000000000006</v> | |
</c> | |
</row> | |
<row r="6" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="B6" s="1" t="str"> | |
<f>HLOOKUP(B5,$B$2:$E$3,2, FALSE())</f> | |
<v>A</v> | |
</c> | |
<c r="C6" s="1" t="e"> | |
<f>HLOOKUP(C5,$B$2:$E$3,2, FALSE())</f> | |
<v>#N/A</v> | |
</c> | |
<c r="D6" s="1" t="e"> | |
<f>HLOOKUP(D5,$B$2:$E$3,2, FALSE())</f> | |
<v>#N/A</v> | |
</c> | |
<c r="E6" s="1" t="str"> | |
<f>HLOOKUP(E5,$B$2:$E$3,2, FALSE())</f> | |
<v>D</v> | |
</c> | |
</row> | |
<row r="7" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="C7" t="s"> | |
<v>4</v> | |
</c> | |
</row> | |
<row r="11" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A11" t="s"> | |
<v>5</v> | |
</c> | |
<c r="B11" s="3" t="b"> | |
<f>B5=B2</f> | |
<v>1</v> | |
</c> | |
<c r="C11" s="3" t="b"> | |
<f t="shared" ref="C11:E11" si="0">C5=C2</f> | |
<v>1</v> | |
</c> | |
<c r="D11" s="3" t="b"> | |
<f t="shared" si="0"/> | |
<v>1</v> | |
</c> | |
<c r="E11" s="3" t="b"> | |
<f t="shared" si="0"/> | |
<v>1</v> | |
</c> | |
</row> | |
<row r="12" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A12" t="s"> | |
<v>6</v> | |
</c> | |
<c r="B12" t="b"> | |
<f>VALUE(B2)=VALUE(B5)</f> | |
<v>1</v> | |
</c> | |
<c r="C12" s="3" t="b"> | |
<f t="shared" ref="C12:E12" si="1">VALUE(C2)=VALUE(C5)</f> | |
<v>1</v> | |
</c> | |
<c r="D12" s="3" t="b"> | |
<f t="shared" si="1"/> | |
<v>1</v> | |
</c> | |
<c r="E12" s="3" t="b"> | |
<f t="shared" si="1"/> | |
<v>1</v> | |
</c> | |
</row> | |
<row r="13" spans="1:6" x14ac:dyDescent="0.25"> | |
<c r="A13" t="s"> | |
<v>7</v> | |
</c> | |
<c r="B13" t="b"> | |
<f>LEN(B2)=LEN(B5)</f> | |
<v>1</v> | |
</c> | |
<c r="C13" s="3" t="b"> | |
<f t="shared" ref="C13:E13" si="2">LEN(C2)=LEN(C5)</f> | |
<v>1</v> | |
</c> | |
<c r="D13" s="3" t="b"> | |
<f t="shared" si="2"/> | |
<v>1</v> | |
</c> | |
<c r="E13" s="3" t="b"> | |
<f t="shared" si="2"/> | |
<v>1</v> | |
</c> | |
</row> | |
</sheetData> | |
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/> | |
</worksheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment