Table:
0
A
B
C
D
E
F
1
Name
Birth
Marriage
Became Consort
Ceased to be Consort
Spouse
2
Ippolita Trivulzio
1600
13 February 1616
13 February 1616
1638
Honoré II
3
Catherine Charlotte de Gramont
1639
30 March 1660
10 January 1662 husband's accession
4 June 1678
Louis I
4
Marie of Lorraine
12 August 1674
13 June 1688
2 January 1701 husband's accession
30 October 1724
Antonio I
5
Jacques François de Matignon
21 November 1689
5 June 1757
26 February 1731 wife's accession
29 December 1731 wife's death
Louise-Hippolyte
6
Maria Caterina Brignole
7 October 1737
5 June 1757
5 June 1757
1770 divorce
Honoré III
7
Maria Caroline Gibert de Lametz
18 July 1793
27 November 1816
2 October 1841 husband's accession
20 June 1856 husband's death
Florestan I
8
Antoinette de Mérode
28 September 1828
28 September 1846
20 June 1856 husband's accession
10 February 1864
Charles III
9
Alice Heine
10 February 1858
30 October 1889
30 October 1889
26 June 1922 husband's death
Albert I
10
Ghislaine Dommanget
13 October 1900
24 July 1946
24 July 1946
9 May 1949 husband's death
Louis II
11
Grace Kelly
12 November 1929
18 April 1956
18 April 1956
14 September 1982
Rainier III
12
Charlene Wittstock
25 January 1978
1 July 2011
1 July 2011
Incumbent
Albert II

Questions and formulas:
Question: On what date did the woman married to Louis II become consort?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="louis ii"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F12,F2:F12="louis ii"),4))
Level: medium