"TRUE" for an Approximate result in a formula

StuartM1

Board Regular
Joined
Oct 6, 2010
Messages
111
Hi all,
When entering a formula, we often need to choose between entering TRUE or FALSE.
(I would always enter a zero but it seems FALSE is more reliable.)

Entering TRUE would be for an APPROXIMATE result, but I tested this and need to ask – What rules are used to determine approximate??

The visual below shows a result for TRUE that does not seem to be the most APPROXIMATE result.

This is the Table
Expiration >
Expiration <
Multiplier
12/31/2000
6/30/2012
0.8
7/1/2013
8/5/2017
0.6
Date and Calculation
Expiration
Result
4/2/2013
0.8
Cell B10 shows ".8" which contains = VLOOKUP(A10,A4:C5,3,TRUE)
Shouldn't the result be .6 ?



<tbody>
</tbody>

<tbody>
</tbody>
Any ideas how it arrives at an approximate?



<tbody>
</tbody>
Thanks!!!!

<colgroup><col span="2"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Entering TRUE would be for an APPROXIMATE result, but I tested this and need to ask – What rules are used to determine approximate??

Hi

Always check the help.

From the help:

If range_lookup is either TRUE or is 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.

Don't forget also the note in the help:

Important: If range_lookup is either TRUE or is omitted, the values in the first column of table_array must be placed in ascending sort order; otherwise, VLOOKUP might not return the correct value.
 
Upvote 0
Hi all,
When entering a formula, we often need to choose between entering TRUE or FALSE.
(I would always enter a zero but it seems FALSE is more reliable.)

Entering TRUE would be for an APPROXIMATE result, but I tested this and need to ask – What rules are used to determine approximate??

The visual below shows a result for TRUE that does not seem to be the most APPROXIMATE result.

This is the Table



Expiration >
Expiration <
Multiplier
12/31/2000
6/30/2012
0.8
7/1/2013
8/5/2017
0.6
Date and Calculation
Expiration
Result
4/2/2013
0.8
Cell B10 shows ".8" which contains = VLOOKUP(A10,A4:C5,3,TRUE)
Shouldn't the result be .6 ?


<tbody>
</tbody>

<tbody>
</tbody>
Any ideas how it arrives at an approximate?


<tbody>
</tbody>
Thanks!!!!

<tbody>
</tbody>

If you want to see a good explanation by Aladin:

https://www.mrexcel.com/forum/excel-questions/310278-vlookup-multiple-matches-match-returned.html
 
Upvote 0
Ok thanks very much PGC.
I played with it some more and indeed sorting with oldest above newest (what used to be Ascending) does work as you and Help section say. Thanks!!!
 
Upvote 0
@StuartM1, just out of interest where have you found the use of False more reliable to using 0?

(I would always enter a zero but it seems FALSE is more reliable.)
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,585
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top