Formula Buscarv

aaguioli

Board Regular
Joined
Mar 19, 2003
Messages
61
Hola,

Estoy utilizando la formula BUSCARV y en los casos en que el valor que busco no lo encuentra me devuelve un "#N/A", ,me gustaría saber de ue forma puedo eliminar el "#N/A" y en lugar de ello me ponga un valor 0 (cero).

Gracias.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Utilizando el complemento MoreFunc.xll (Que es gratis), se puede hacer así:

=SI(ESNOD(SETV(BUSCARV(...))),0,GETV())

o si no, algo así, asumiendo un BUSCARV como este:

=BUSCARV(A1, B2:C100, 2, 0)

=SI(CONTAR.SI(B2:B100, A1), BUSCARV(A1, B2:C100, 2, 0), 0)
 
Upvote 0

Forum statistics

Threads
1,215,108
Messages
6,123,133
Members
449,098
Latest member
Doanvanhieu

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