Jun 12, 2007 #1 RachieD Technical User Joined May 14, 2004 Messages 20 Location EU Hi - can you please advise how I can amend my formula to replace my vlookup #N/A errors with 0. Formula is =VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE) I need to sum the results. TIA RachieD
Hi - can you please advise how I can amend my formula to replace my vlookup #N/A errors with 0. Formula is =VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE) I need to sum the results. TIA RachieD
Jun 12, 2007 2 #2 GlennUK MIS Joined Apr 8, 2002 Messages 2,937 Location GB You use IF(ISNA like this: Code: =IF(ISNA(VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)),0,VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)) Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock. Upvote 0 Downvote
You use IF(ISNA like this: Code: =IF(ISNA(VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)),0,VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)) Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
Jun 12, 2007 Thread starter #3 RachieD Technical User Joined May 14, 2004 Messages 20 Location EU Perfect - thanks a million Glenn!! I've given you a star! Cheers RachieD Upvote 0 Downvote