View Single Post
 
Old 03-15-2022, 01:59 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Quote:
Originally Posted by ArviLaanemets View Post
Your main problem is, instead of date you have 2 entries with year numbers (integers)

Easy to cope with. Supposing there are no years before 1941, say, just check if the "year" in the data ( 1965, say) is smaller than 15000 ( somewhere in 1941), the build a fake date with the DATE function

Code:
=IF(B2>15000;YEAR(B2);YEAR(DATE(B2;1;1)))
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote