vlookup using 0 for range_lookup

amypaulsen

Board Regular
Joined
Mar 1, 2004
Messages
114
just a quick question: I always use "false" for my range lookup so that my vlookup will return an exact lookup however my colleague uses a zero 0. Does this represent false the same way? What does the zero do?

As always, THANKS!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
yes, for the range lookup argument, there are 2 options. It is a True or False argument.

False = 0
True = 1

If you use False (or 0), it means Vlookup looks for an EXACT Match of the lookup value

If you use True (or 1), Vlookup looks for the COSEST match. Data must be sorted ASCENDING. It will find the Largest value that is Less than or Equal to the lookup value. So if it's looking for 7, but only finds the numbers 2 4 8 and 10, it returns the 4.

Hope that helps...
 
Upvote 0

Forum statistics

Threads
1,226,392
Messages
6,190,758
Members
453,615
Latest member
robbieb29

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