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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dd/mm/yy HH:MM:SS

Status
Not open for further replies.

tinmar

Technical User
Mar 24, 2003
55
HK
I need to grab some data from a list which contains the dates in the form dd/mm/yy HH:MM:SS, however I need to Vlookup against the dd/mm/yy only, how do I get rid of the HH:MM:SS. I have tried to change the format and obviously this aint gonna work.

please help
 
Use INT(cellref) to get just the date part of another cell.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
=vlookup(INT(cell_Ref),Data_Range,Offset,FALSE)

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 



FTI:

Why do Dates and Times seem to be so much trouble? faq68-5827

Skip,

[glasses] [red]Be Advised![/red] The only distinction between a bird with one wing and a bird with two, is merely...
a difference of A Pinion! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top