I'm trying to recreate an Excel sheet with XlsIO which was initially created with Excel.
Most columns I can figure out but I'm struggling with calculating the age on a specific date.
I open an existing xlsx-file as a template and in this template the date is set in cell D1
Next, I loop through a dataset and write data of persons starting at row 7.
Column F holds the DOB of the person, in column G I need to calculate his age in years.
In Excel this formula is used: =DATEDIF(Start_Date, End_Date, Unit), making =DATEDIF(F7, D$1$, "y") in my example.
What is the XlsIO equivalent?
Thanks