LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
jjhmbh
 
Posts: n/a
Default Referencing Time in Excel


We have discovered a problem in referencing time using the LOOKUP
function and I haven't been able to resolve it using VLOOKUP or the
INDEX and MATCH combination

The easiest way to demonstrate the problem is to creat a list of times
from 10:00 am to 12:00 pm in 15 minute increments, then copy the list
into the adjacent column and convert that list into the decimal
equivalent. See below for what the list should look like. I expanded
the decimals to the maximum number of decimals.

10:00 0.416666666666667
10:15 0.427083333333333
10:30 0.437500000000000
10:45 0.447916666666667
11:00 0.458333333333333
11:15 0.468750000000000
11:30 0.479166666666667
11:45 0.489583333333333
12:00 0.500000000000000

Now if you write a formula using LOOKUP or VLOOKUP to try to return the
decimal equivalent of a time in the left column. It works fine except
at a few times like 10:45 and 11:30 when it returns the values for
10:30 and 11:15 respectively.

Any help would be appreciated.

Jeff


--
jjhmbh
------------------------------------------------------------------------
jjhmbh's Profile: http://www.excelforum.com/member.php...o&userid=29748
View this thread: http://www.excelforum.com/showthread...hreadid=494626

 
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
Need help with excel referencing to outlook chip_pyp Excel Discussion (Misc queries) 0 October 22nd 05 03:10 AM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
Excel Date Time to Unix Time jnorton Excel Discussion (Misc queries) 3 May 24th 05 05:49 PM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"