ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   #N/A with Vlook up (https://www.excelbanter.com/excel-discussion-misc-queries/50459-n-vlook-up.html)

Guy Wates

#N/A with Vlook up
 

Hi all

Is there anyway when doing a vlookup to tell excel if the value you are
looking up does not exsist to give 0 instead of just getting a #N/A ref,
to enable you still to sum the column.
Guy


--
Guy Wates


------------------------------------------------------------------------
Guy Wates's Profile: http://www.excelforum.com/member.php...fo&userid=2931
View this thread: http://www.excelforum.com/showthread...hreadid=476221


BenjieLop


Guy Wates Wrote:
Hi all

Is there anyway when doing a vlookup to tell excel if the value you are
looking up does not exsist to give 0 instead of just getting a #N/A ref,
to enable you still to sum the column.
Guy


Try this ...

=IF(ISNA(YOUR_VLOOKUP_FORMULA),0,YOUR_VLOOKUP_FORM ULA)

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=476221



All times are GMT +1. The time now is 11:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com