#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default #N/A Replacement

I searched a the "Correct #N/A Error" threads and found some info on isna and
iserror, but I must be doing something wrong. For any item that is not found
in the following lookup, I would like the "COR" to be returned. How do I do
this? I am using the ,0 at the end in liu of "false" because "false" does
not work when you have multiple active filters working.

=VLOOKUP($D19,'[Fee File.xls]Fees'!$C$13:$H$20108,1,0)

Thank you!

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default #N/A Replacement

=IF(ISNA(VLOOKUP($D19,'[Fee
File.xls]Fees'!$C$13:$H$20108,1,0)),"COR",VLOOKUP($D19,'[Fee
File.xls]Fees'!$C$13:$H$20108,1,0))

"Susana C via OfficeKB.com" wrote:

I searched a the "Correct #N/A Error" threads and found some info on isna and
iserror, but I must be doing something wrong. For any item that is not found
in the following lookup, I would like the "COR" to be returned. How do I do
this? I am using the ,0 at the end in liu of "false" because "false" does
not work when you have multiple active filters working.

=VLOOKUP($D19,'[Fee File.xls]Fees'!$C$13:$H$20108,1,0)

Thank you!

--
Message posted via http://www.officekb.com


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default #N/A Replacement

I don't understand your comment about 0 and false. They are equivalent. And
=vlookup() looks at the whole range--not just the visible cells (in a filtered
table).

But since you're trying to return the first column, it looks like you're just
looking to see if the lookup value is in the first column in that lookup table.

You could use this instead:

=if(iserror(match($d19,'[Fee File.xls]Fees'!$C$13:$C$20108,0)),"COR",$d19)

If you include all of C13:H20108 in your formula, then any change to D13:H20108
will cause your formula to recalculate. By limiting it to just C13:c20108, your
worksheet may recalculate quicker.

"Susana C via OfficeKB.com" wrote:

I searched a the "Correct #N/A Error" threads and found some info on isna and
iserror, but I must be doing something wrong. For any item that is not found
in the following lookup, I would like the "COR" to be returned. How do I do
this? I am using the ,0 at the end in liu of "false" because "false" does
not work when you have multiple active filters working.

=VLOOKUP($D19,'[Fee File.xls]Fees'!$C$13:$H$20108,1,0)

Thank you!

--
Message posted via http://www.officekb.com


--

Dave Peterson
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
Duplicates and Replacement Formulas Narianna Excel Discussion (Misc queries) 7 February 16th 06 05:42 PM
20 yr Replacement plan for assets Reed Excel Worksheet Functions 0 January 18th 06 03:28 PM
Replacement mowen Excel Discussion (Misc queries) 1 September 7th 05 09:01 PM
How do I set up a equipment replacement reserve schedule Hank Excel Worksheet Functions 0 March 30th 05 07:19 PM
Binder replacement for XP Tom Excel Discussion (Misc queries) 0 February 16th 05 07:32 PM


All times are GMT +1. The time now is 07:28 PM.

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

About Us

"It's about Microsoft Excel"