Microsoft
Software
Hardware
Network
Question : Vlookup Question
I have a Date of 7/6/10 and when I do a lookup, I get the return (Next Effective Date) of 1/3/11. I need the lookup to return 1/17/11.
I'm using the formula =VLOOKUP(F2,A2:B77,2,TRUE)
. If the date is on or before the "Begin" effective date, it needs return the corresponding "Effective Date".
If it's after the "Begin Payroll Date" it needs to return the next "Effective date?
Attachments:
Effective-Dates.xls
(20 KB)
(File Type Details)
Payroll Effective
Answer : Vlookup Question
Change your formula to this:
=IF(ISNA(VLOOKUP(F2,A2:B77
,2,FALSE))
,VLOOKUP(F
2+14,A2:B7
7,2,TRUE),
VLOOKUP(F2
,A2:B77,2,
TRUE))
Thanks
Random Solutions
passing a looped value to a form
VBA macro script populating cells from data source
RoundNumber with rounding off difference
Syntax error (missing operator) in query expression
Replacing Keyboard on Toshiba Portege A600
Creating FLV thumbnail
how to load a php include after page is loaded?
Showing Some Folders on my HTC HD2
How to use iTextSharp in VB6?
SSRS 2008 Data-Driven Subscription Errors - Email not sent