![]() |
|
#4
|
|||
|
|||
|
so we have 3 senarios
Actual Date Approx date Year As dates are just numbers you could go with a simple fix for the year and actual date =IF(C2<2500,TEXT(C2,"@"),TEXT(C2,"mmm yyyy")) If the number in the data column is less than 2500 it must be a year, so just keep as is. Other than that it is a date so we format as MMM YYYY Working out if the date is approximate or actual date is going to be much harder - you could do an if on the day and say that if the day is 1 then it must be an approx date but this isnt 100% =IF(C2<2500,TEXT(C2,"@"),IF(DAY(C2)=1,TEXT(C2,"MMM YYYY"),TEXT(C2,"DD mmm yyyy"))) Let me know if its any help |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mail merge field mistakenly interpret text format as date format | alan6690 | Mail Merge | 0 | 09-02-2020 01:54 AM |
| Create Field That Displays Date+30, Office 2007 | Papote | Word | 6 | 10-09-2016 02:47 PM |
Date format but with Jan Feb mar etc how is this done ?
|
DBenz | Excel | 3 | 12-21-2014 05:00 AM |
| Letter date changes when merging with Excel - not the format, the actual date! | Smallweed | Mail Merge | 1 | 02-07-2014 06:00 PM |
| date format | gsrikanth | Excel | 1 | 12-28-2011 05:06 AM |