#1   Report Post  
Posted to microsoft.public.excel.misc
Ricki Miles
 
Posts: n/a
Default Replace #N/A

I am using Excel 2003. I have created VLOOKUP formulas and some of the
results are #N/A because there is no such item in the list. I need to be
able to show this result.

I then need to subtotal the columns that contain some #N/A's, but the
subtotal command cannot recognize the error and include it in the subtotal.

Is there a way to use the VLOOKUP and tell it that if a match doesn't exist
to return a zero?

If not, is there a way to replace #N/A with a zero using the Find/Replace
feature?

Thanks in advance,

Ricki


  #2   Report Post  
Posted to microsoft.public.excel.misc
damorrison
 
Posts: n/a
Default Replace #N/A

=IF(ISNA(VLOOKUP(G8,D3:E6,2,FALSE)),0,VLOOKUP(G8,D 3:E6,2,FALSE))

  #3   Report Post  
Posted to microsoft.public.excel.misc
Ricki Miles
 
Posts: n/a
Default Replace #N/A

That worked perfectly!!! Thank you so much!

"damorrison" wrote in message
ups.com...
=IF(ISNA(VLOOKUP(G8,D3:E6,2,FALSE)),0,VLOOKUP(G8,D 3:E6,2,FALSE))



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
prompting Replace window Greegan Excel Worksheet Functions 0 May 3rd 06 11:36 PM
IF formula in Excel / Replace numbers with 'words' Emsmaps Excel Discussion (Misc queries) 1 April 8th 06 12:01 AM
Excel: Add replace within selection functionality Marcel XL Excel Discussion (Misc queries) 1 March 3rd 06 02:51 PM
Search and replace Subu Excel Worksheet Functions 4 June 9th 05 08:01 PM
replace absolute references bj Excel Worksheet Functions 0 May 20th 05 08:18 PM


All times are GMT +1. The time now is 08:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"