Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Error in formula =YEAR(B4)-YEAR(A4) gives me #Value

not sure if it helps, but it works fine for me ...

some ideas - right mouse click on both cells ensure that if you choose
format cells / "general" for A4 you see 25200 as the sample & 37133 for B4
- this will "prove" that they are dates and excel recognises them as such

what does =YEAR(A4) return when you try it on its own? what about =YEAR(B4)
?

let us know how you go

Cheers
JulieD


"Pasting column width and row heights"
soft.com wrote in message
...

A4 B4
12/28/1968 8/30/2001
These are the dates I am working with.



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
convert day of year to numeric value format year+day in 4 digits Kaaren Excel Worksheet Functions 3 February 7th 09 08:37 PM
How do I crate a function for week of year + year in same cell. patty ann Excel Worksheet Functions 1 March 16th 08 06:34 PM
need formula 4 %change on both neg and pos movemnt year to year co suesolotel Excel Discussion (Misc queries) 4 January 13th 08 12:19 AM
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
trying to get day/month/year froamt while user enters year only RADIOOZ New Users to Excel 3 June 7th 06 05:30 AM


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