Date: prev next · Thread: first prev next last


Om "hela år" räcker, skulle kanske följande fungera? (svensk version)
Cell A1 => 1984-01-10
Cell B1 => 2010-09-25
Cell C1 => =ÅR(B1)-ÅR(A1)
Cell D1 => år
Ekvationen ger samma resultat även om Cell B1 = 2010-01-09

Önskas årtalet mer exakt blir formeln lite mer komplicerad (som visats)

//Jan





Den 2017-10-23 kl. 14:47, skrev Jan Flikweert:
Hej!

Nu ett exempel med ålder. Se cell a3.

https://drive.google.com/open?id=0B8X24IrD0EquYmFYOHVlSXNJZDg

På nederländska: Cell B3:
=ALS((ZELFDE.DAG(NU();-((JAAR(NU())-JAAR(B1))*12))>B1);JAAR(NU())-JAAR(B1);JAAR(NU())-JAAR(B1)-1)

Med vänliga hälsningar,

Jan Flikweert








--
Sent from: http://nabble.documentfoundation.org/Users-f3890426.html



--
For unsubscribe instructions e-mail to: users+unsubscribe@sv.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/sv/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.