The actual reason the VLOOKUP()
returned value was showing 0
because the decimal places were set to 0
and not just because of the currency type. Cell formatted to as Currency
and decimal places were set to 2
it would have shown as $0.15
. VLOOKUP()
does work, but its just decimal places which made the difference.
Cell set to 0
decimal places with data type as Currency
will show as below, -- Before
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/WwsmF.png)
Cell set to 2
decimal places with data type as Currency
will shows as below, -- After
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/qtH9C.png)
One needs to change the cell data type to Percentage
as well as keep the decimals places to at least 2
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/ttJmX.png)
BTW, since its an approximate match operation, instead of VLOOKUP()
one can use LOOKUP()
function as well:
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/hrDmY.png)
=IFERROR(LOOKUP([@[Meses vencimiento]],$I$4:$K$6),0)