"TRUE" for an Approximate result in a formula

StuartM1

Board Regular
Joined
Oct 6, 2010
Messages
115
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
[TABLE="width: 729"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 731"]
<tbody>[TR]
[TD][TABLE="width: 731"]
<tbody>[TR]
[TD][TABLE="width: 731"]
<tbody>[TR]
[TD]Expiration >
[/TD]
[TD]Expiration <
[/TD]
[TD]Multiplier
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12/31/2000
[/TD]
[TD]6/30/2012
[/TD]
[TD]0.8
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/1/2013
[/TD]
[TD]8/5/2017
[/TD]
[TD]0.6
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date and Calculation[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Expiration
[/TD]
[TD]Result
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/2/2013
[/TD]
[TD]0.8
[/TD]
[TD][/TD]
[TD]Cell B10 shows ".8" which contains = VLOOKUP(A10,A4:C5,3,TRUE)
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Shouldn't the result be .6 ?
[/TD]
[/TR]
[TR]
[TD]

[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any ideas how it arrives at an approximate?


[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks!!!!
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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
[TABLE="width: 729"]
<tbody>[TR]
[TD]
[TABLE="width: 731"]
<tbody>[TR]
[TD]
[TABLE="width: 731"]
<tbody>[TR]
[TD]
[TABLE="width: 731"]
<tbody>[TR]
[TD]Expiration >
[/TD]
[TD]Expiration <
[/TD]
[TD]Multiplier
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12/31/2000
[/TD]
[TD]6/30/2012
[/TD]
[TD]0.8
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7/1/2013
[/TD]
[TD]8/5/2017
[/TD]
[TD]0.6
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Date and Calculation
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Expiration
[/TD]
[TD]Result
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/2/2013
[/TD]
[TD]0.8
[/TD]
[TD][/TD]
[TD]Cell B10 shows ".8" which contains = VLOOKUP(A10,A4:C5,3,TRUE)
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Shouldn't the result be .6 ?

[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Any ideas how it arrives at an approximate?

[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks!!!![/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

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,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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