ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   vlookup - replace #N/A with text - Excel 2003 (https://www.excelbanter.com/excel-discussion-misc-queries/245446-vlookup-replace-n-text-excel-2003-a.html)

Charlotte Howard

vlookup - replace #N/A with text - Excel 2003
 
Hi,
Is it possible to replace a #N/A result with a particular text string? I
know I could use Find/Replace, but I really don't want to lose the formula.
Thanks for any help
Charlotte

David Biddulph[_2_]

vlookup - replace #N/A with text - Excel 2003
 
=IF(ISNA(your_formula),"your text string",your_formula)
--
David Biddulph

"Charlotte Howard" wrote in
message ...
Hi,
Is it possible to replace a #N/A result with a particular text string? I
know I could use Find/Replace, but I really don't want to lose the
formula.
Thanks for any help
Charlotte




Stefi

vlookup - replace #N/A with text - Excel 2003
 
Use this structure instead of your original =VLOOKUP(...) formula:

=IF(ISERROR(VLOOKUP(...)),"textstring",VLOOKUP(... ))
Regards,
Stefi

€˛Charlotte Howard€¯ ezt Ć*rta:

Hi,
Is it possible to replace a #N/A result with a particular text string? I
know I could use Find/Replace, but I really don't want to lose the formula.
Thanks for any help
Charlotte



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

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