LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 17
Default Show a blank result in a cell when there is no value in the "Lookup" cell

Thank you,

That worked great!!

Mike


"joeu2004" wrote in message
oups.com...
On Aug 5, 10:45 am, "Michael Slater" wrote:

I'm using the following formula in cell C3:
=INDEX(LastName,MATCH(A3,EmpID,0))

When I type in an employee ID in A3, his/her last name shows in C3.
However, when there is no value in A3, C3 shows error "#N/A".
Is there a way to show a blank cell in C3 until a value is entered into
A3?


Try:

=IF(A3="", "", INDEX(LastName,MATCH(A3,EmpID,0))


 
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
Show a "$" at the beging of this result =ROUND(D99*0.75,4)&".00 Ro bjminer Excel Discussion (Misc queries) 3 July 4th 07 08:56 PM
How create blank cell value as the result of Excel "IF" function? Pocket Protector as a Fashion Statement Excel Worksheet Functions 1 March 11th 07 07:44 PM
How do I make cells "If cell is blank then cell=0"in Excel 2000? DougMinor1 Excel Discussion (Misc queries) 1 January 1st 07 04:40 PM
How can I find cell contains the result of "maximum" formula De Excel Discussion (Misc queries) 6 October 26th 06 08:46 PM
if "a" selected from dropdown menu then show "K" in other cell LEGALMATTERS Excel Worksheet Functions 1 April 13th 06 06:05 PM


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

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"