Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
grapes
 
Posts: n/a
Default dates and vlookup

I have a formula taking the date a person joined away from today date to give
the number of years works eg 10 and I want to use this value to look up 10 in
the lookup table.
The 10 calculated from the dates is not really a 10 as it a date value
deducted from another date value. How can I convert the 10 derived from
=today()-c7 (where c7 is for example 26/11/95) to a real 10 so that it can
use this value to look up 10 from a look up table
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alan
 
Posts: n/a
Default dates and vlookup

Try:
=ROUND((TODAY()-C7)/365.25,0)
Regards,
Alan.
"grapes" wrote in message
...
I have a formula taking the date a person joined away from today date to
give
the number of years works eg 10 and I want to use this value to look up 10
in
the lookup table.
The 10 calculated from the dates is not really a 10 as it a date value
deducted from another date value. How can I convert the 10 derived from
=today()-c7 (where c7 is for example 26/11/95) to a real 10 so that it can
use this value to look up 10 from a look up table



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
Calendar - vlookup based on dates Scott Excel Worksheet Functions 10 February 12th 09 11:22 AM
VLOOKUP calendar dates Stanley Excel Discussion (Misc queries) 5 January 19th 06 05:00 PM
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM
VLookUp with Dates o1darcie1o Excel Worksheet Functions 4 September 2nd 05 01:18 PM
Can VLOOKUP return multiple answers based on several identical lo. jddtct Excel Worksheet Functions 3 January 11th 05 07:03 AM


All times are GMT +1. The time now is 05:47 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"