ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Vlookup (https://www.excelbanter.com/excel-discussion-misc-queries/174014-vlookup.html)

Joe

Vlookup
 
Hi,

I am deducting two tables and I am using V-Lookup. However, in one of the
tables I dont have all the headings as in table 1. When I subtract then I
get #N/A. To correct this, I am using ISERR but it returns False.

Formula I am using

=VLOOKUP($B81,$B$8:$L$32,COLUMNS($C$8:L$8),0)-VLOOKUP($B81,$B$37:$L$58,COLUMNS($C$37:L$37),0)

With Error formula

=ISERR(VLOOKUP($B81,$B$8:$L$32,COLUMNS($C$8:L$8),0 )-VLOOKUP($B81,$B$37:$L$58,COLUMNS($C$37:L$37),0))

What can I do to make sure that when there is a value in the first tables,
brings that value.

Regards,
Jose




All times are GMT +1. The time now is 10:32 PM.

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