I am facing a problem despite my research on the net, I confess that I can not find it.
Namely that I am unable to handle array variables correctly, which complicates my task.
I have a large amount of row data, in 10 columns, the ones that concern the present case, are columns E and H.
for now, column E is empty.
Column H contains dates of birth.
How to proceed, either by table or table combined with dictionary to indicate the age in: year, month and days in column E, according to the current date.
The goal is to have the result in text format, (Example: 15y 5m 10d), I thought of making a call to a function which would give the result just in text so as not to use formulas (No formulas) Please .
Unless I am mistaken, the desired result for the first 10 lines is in column L, based on the date that the calculation was made is: 30-01-2023
Thank you very much in advance for your suggestions.
PS: I completely emptied my table and I simply left the two columns concerned so that you can (eventually) test your code.
Namely that I am unable to handle array variables correctly, which complicates my task.
I have a large amount of row data, in 10 columns, the ones that concern the present case, are columns E and H.
for now, column E is empty.
Column H contains dates of birth.
How to proceed, either by table or table combined with dictionary to indicate the age in: year, month and days in column E, according to the current date.
The goal is to have the result in text format, (Example: 15y 5m 10d), I thought of making a call to a function which would give the result just in text so as not to use formulas (No formulas) Please .
Unless I am mistaken, the desired result for the first 10 lines is in column L, based on the date that the calculation was made is: 30-01-2023
Thank you very much in advance for your suggestions.
PS: I completely emptied my table and I simply left the two columns concerned so that you can (eventually) test your code.
CalculAge1.xlsm | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | Age | Né(e) | Age | ||||||||||||
2 | 16-03-1957 | 65 a 10 m 14 j | |||||||||||||
3 | 17-04-2012 | 10 a 9 m 13 j | |||||||||||||
4 | 14-04-2012 | 10 a 9 m 16 j | |||||||||||||
5 | 25-03-1966 | 56 a 10 m 5 j | |||||||||||||
6 | 30-05-1959 | 63 a 8 m 0 j | |||||||||||||
7 | 17-02-1962 | 60 a 11 m 13 j | |||||||||||||
8 | 22-01-1955 | 68 a 0 m 8 j | |||||||||||||
9 | 15-02-1961 | 61 a 11 m 15 j | |||||||||||||
10 | 18-04-2012 | 10 a 9 m 12 j | |||||||||||||
11 | 1-01-2010 | 13 a 0 m 29 j | |||||||||||||
12 | 22-03-2019 | ||||||||||||||
13 | 15-04-2007 | ||||||||||||||
14 | 15-04-2007 | ||||||||||||||
15 | 15-04-2007 | ||||||||||||||
16 | 16-04-2007 | ||||||||||||||
17 | 15-04-2008 | ||||||||||||||
18 | 15-04-2008 | ||||||||||||||
19 | 15-04-2008 | ||||||||||||||
20 | 15-04-2008 | ||||||||||||||
21 | 15-04-2008 | ||||||||||||||
22 | 15-04-2008 | ||||||||||||||
23 | 15-04-2008 | ||||||||||||||
24 | 15-05-2008 | ||||||||||||||
25 | 15-04-2008 | ||||||||||||||
Parents |