#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default Lookup formula?

Hey all, I have a list of dates that occur every other saturday for the next
year in excel:

7/26/08
8/9/08
8/23/08
etc...

I need to look at a cell that is entered, for example: 8/16, and I need the
result in another cell to give me 8/9. So if the date entered (8/16) falls
between two dates, the result needs to be the earlier one. Any ideas? I
tried if, then statements, but I have 26 dates, so I can nest enough. Any
help would be great! Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Lookup formula?

Kelly wrote:
Hey all, I have a list of dates that occur every other saturday for the next
year in excel:

7/26/08
8/9/08
8/23/08
etc...

I need to look at a cell that is entered, for example: 8/16, and I need the
result in another cell to give me 8/9. So if the date entered (8/16) falls
between two dates, the result needs to be the earlier one. Any ideas? I
tried if, then statements, but I have 26 dates, so I can nest enough. Any
help would be great! Thanks!



With your dates in A1:A26 and your "date entered" in B1, put the following in C1:

=VLOOKUP(B1,A1:A26,1, TRUE)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default Lookup formula?

THANK YOU SO MUCH! That is exactly what I needed. You are wonderful!

"Glenn" wrote:

Kelly wrote:
Hey all, I have a list of dates that occur every other saturday for the next
year in excel:

7/26/08
8/9/08
8/23/08
etc...

I need to look at a cell that is entered, for example: 8/16, and I need the
result in another cell to give me 8/9. So if the date entered (8/16) falls
between two dates, the result needs to be the earlier one. Any ideas? I
tried if, then statements, but I have 26 dates, so I can nest enough. Any
help would be great! Thanks!



With your dates in A1:A26 and your "date entered" in B1, put the following in C1:

=VLOOKUP(B1,A1:A26,1, TRUE)

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
LOOKUP FORMULA KeK23 Excel Discussion (Misc queries) 4 October 10th 07 01:36 AM
LOOKUP Formula Kimo Excel Worksheet Functions 15 July 26th 07 04:09 AM
Lookup Formula help DavidFarnsworth Excel Worksheet Functions 10 January 22nd 07 05:13 PM
Using a Lookup Formula sabunabu Excel Discussion (Misc queries) 1 December 20th 05 10:21 PM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM


All times are GMT +1. The time now is 07:56 AM.

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"