Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2007 - Combine vlookup with today's date/time 1

Status
Not open for further replies.

BxWill

MIS
Mar 30, 2009
367
US
Have the following if statement that populates a cell (B2) within a Excel 2007 worksheet with a value if column A is not blank.

The formula currently returns the value of "Now()" as a serial value.

My objective is to append the result of the vlookup with today's date and time - the date and time that the vlookup was performed.

Code:
=IF(A2="","",IF(ISERROR(VLOOKUP(A2,AcctNbrsOnWksht,1,FALSE)),"Yes","AlreadyOnWksht" & " as of " &NOW()))

What modifications to the IF statement is needed to accomplish objective?

Will continue to troubleshoot but appreciate any insight.
 
=IF(A2="","",IF(ISERROR(VLOOKUP(A2,AcctNbrsOnWksht,1,FALSE)),"Yes","AlreadyOnWksht" & " as of " &TEXT(NOW(),"mm/dd/yyy")))

--Lilliabeth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top