vlookup formula, if match found = specific date otherwise leave blank

Katherine Falin

New Member
Joined
Sep 9, 2014
Messages
5
Let me start by saying, I'm new to formulas. I need a vlookup formula to find policy numbers matches. If a match is found then insert a specific date "8/22/2014". If no match is found, leave cell blank. A friend at work gave me this one to try. =IF(VLOOKUP(K3,'Eligible Pol Remailed 8.22'!J:J,1,FALSE)=TRUE,"","8/22/2014")
The formula will insert the date, but I am still receiving the NA error message. Suggestions?
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Let me start by saying, I'm new to formulas. I need a vlookup formula to find policy numbers matches. If a match is found then insert a specific date "8/22/2014". If no match is found, leave cell blank. A friend at work gave me this one to try. =IF(VLOOKUP(K3,'Eligible Pol Remailed 8.22'!J:J,1,FALSE)=TRUE,"","8/22/2014")
The formula will insert the date, but I am still receiving the NA error message. Suggestions?

Try...

=IF(ISNUMBER(MATCH(K3,'Eligible Pol Remailed 8.22'!J:J,0)),"8/22/2014"+0,"")
 
Last edited:
Upvote 0

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Welcome to the forum

Have you tried like this?

=IF(ISNA(VLOOKUP(K3,'Eligible Pol Remailed 8.22'!J:J,1,FALSE))=TRUE,"","8/22/2014")
 
Upvote 0

madaknarf

New Member
Joined
Sep 5, 2014
Messages
13
=IF(ISERROR(VLOOKUP(K3,'Eligible Pol Remailed 8.22'!J:J,1,FALSE)),"","8/22/2014")

This will evaluate the vlookup and if it return's "#N/A" then it leaves the cell blank otherwise the date will be inserted.
 
Upvote 0

Katherine Falin

New Member
Joined
Sep 9, 2014
Messages
5
Thanks for all the great responses. I tried this one =IF(ISNUMBER(MATCH(K3,'Eligible Pol Remailed 8.22'!J:J,0)),"8/22/2014"+0,"") and it worked perfectly. Since I have several other formulas to work into this spreadsheet, I will definitely refer back to this thread. Thanks again!
 
Upvote 0

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
Thanks for all the great responses. I tried this one =IF(ISNUMBER(MATCH(K3,'Eligible Pol Remailed 8.22'!J:J,0)),"8/22/2014"+0,"") and it worked perfectly. Since I have several other formulas to work into this spreadsheet, I will definitely refer back to this thread. Thanks again!

You are welcome.
 
Upvote 0

Forum statistics

Threads
1,191,166
Messages
5,985,051
Members
439,935
Latest member
Monty238

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top