I have a table im trying to do two things in. I am intending the user to enter parameters into the following cells
Q32 - selects rank
Q33 - user enters a date
From that I need the following to happen:
1. Enter into cell Q35, the year of the next applicable board
2. highlight the row in the appropriate table
There are three tables, one for each rank possibility and each table list the year of the next board based on a date range. The users date range entered in Q33 should fall between two dates in the corresponding table.
I have attempted to conditionally format using the OR function but cant get the intersection to work and correctly highlight the appropriate cell.
I havent been able to figure out how to retrieve the appropriate year into the cell either.
The tables are copy and pasted from an external source and are updated each year. We have no control over the formatting, we just have to work with what we get. [TABLE="width: 989"]
<tbody>[TR]
[TD]The following is how the the tables are organized and the date range comes to us as a single field. There are 1 or 3 columns associated with each possible rank.[TABLE="width: 989"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]If your DOR to Captain is:[/TD]
[TD="colspan: 7"]You are forecasted to meet the following boards:[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Major[/TD]
[TD="colspan: 3"]Lt Col[/TD]
[TD="colspan: 3"]Colonel[/TD]
[/TR]
[TR]
[TD]01 Jan 2014 - 31 Dec 2014[/TD]
[TD]2018[/TD]
[TD]2022[/TD]
[TD]2023[/TD]
[TD]2024[/TD]
[TD]2028[/TD]
[TD]2029[/TD]
[TD]2030[/TD]
[/TR]
[TR]
[TD]01 Jan 2015 - 31 Dec 2015[/TD]
[TD]2019[/TD]
[TD]2023[/TD]
[TD]2024[/TD]
[TD]2025[/TD]
[TD]2029[/TD]
[TD]2030[/TD]
[TD]2031[/TD]
[/TR]
[TR]
[TD]1 Jan 2016 - 31 Dec 2016[/TD]
[TD]2020[/TD]
[TD]2024[/TD]
[TD]2025[/TD]
[TD]2026[/TD]
[TD]2030[/TD]
[TD]2031[/TD]
[TD]2032[/TD]
[/TR]
[TR]
[TD]1 Jan 2017 - 31 Dec 2017[/TD]
[TD]2021[/TD]
[TD]2025[/TD]
[TD]2026[/TD]
[TD]2027[/TD]
[TD]2031[/TD]
[TD]2032[/TD]
[TD]2033[/TD]
[/TR]
[TR]
[TD]1 Jan 2018 - 31 Dec 2018[/TD]
[TD]2022[/TD]
[TD]2026[/TD]
[TD]2027[/TD]
[TD]2028[/TD]
[TD]2032[/TD]
[TD]2033[/TD]
[TD]2034[/TD]
[/TR]
[TR]
[TD]1 Jan 2019 - 31 Dec 2019[/TD]
[TD]2023[/TD]
[TD]2027[/TD]
[TD]2028[/TD]
[TD]2029[/TD]
[TD]2033[/TD]
[TD]2034[/TD]
[TD]2035[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I have the file here below. If someone can help me out and steer me in the right direction id be very greatfull!
[/TD]
[TD="colspan: 7"][/TD]
[/TR]
</tbody>[/TABLE]
https://drive.google.com/open?id=1m5fPg73rfk9oWAOKsYWM5pGSsDxmzgD6
Q32 - selects rank
Q33 - user enters a date
From that I need the following to happen:
1. Enter into cell Q35, the year of the next applicable board
2. highlight the row in the appropriate table
There are three tables, one for each rank possibility and each table list the year of the next board based on a date range. The users date range entered in Q33 should fall between two dates in the corresponding table.
I have attempted to conditionally format using the OR function but cant get the intersection to work and correctly highlight the appropriate cell.
I havent been able to figure out how to retrieve the appropriate year into the cell either.
The tables are copy and pasted from an external source and are updated each year. We have no control over the formatting, we just have to work with what we get. [TABLE="width: 989"]
<tbody>[TR]
[TD]The following is how the the tables are organized and the date range comes to us as a single field. There are 1 or 3 columns associated with each possible rank.[TABLE="width: 989"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]If your DOR to Captain is:[/TD]
[TD="colspan: 7"]You are forecasted to meet the following boards:[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Major[/TD]
[TD="colspan: 3"]Lt Col[/TD]
[TD="colspan: 3"]Colonel[/TD]
[/TR]
[TR]
[TD]01 Jan 2014 - 31 Dec 2014[/TD]
[TD]2018[/TD]
[TD]2022[/TD]
[TD]2023[/TD]
[TD]2024[/TD]
[TD]2028[/TD]
[TD]2029[/TD]
[TD]2030[/TD]
[/TR]
[TR]
[TD]01 Jan 2015 - 31 Dec 2015[/TD]
[TD]2019[/TD]
[TD]2023[/TD]
[TD]2024[/TD]
[TD]2025[/TD]
[TD]2029[/TD]
[TD]2030[/TD]
[TD]2031[/TD]
[/TR]
[TR]
[TD]1 Jan 2016 - 31 Dec 2016[/TD]
[TD]2020[/TD]
[TD]2024[/TD]
[TD]2025[/TD]
[TD]2026[/TD]
[TD]2030[/TD]
[TD]2031[/TD]
[TD]2032[/TD]
[/TR]
[TR]
[TD]1 Jan 2017 - 31 Dec 2017[/TD]
[TD]2021[/TD]
[TD]2025[/TD]
[TD]2026[/TD]
[TD]2027[/TD]
[TD]2031[/TD]
[TD]2032[/TD]
[TD]2033[/TD]
[/TR]
[TR]
[TD]1 Jan 2018 - 31 Dec 2018[/TD]
[TD]2022[/TD]
[TD]2026[/TD]
[TD]2027[/TD]
[TD]2028[/TD]
[TD]2032[/TD]
[TD]2033[/TD]
[TD]2034[/TD]
[/TR]
[TR]
[TD]1 Jan 2019 - 31 Dec 2019[/TD]
[TD]2023[/TD]
[TD]2027[/TD]
[TD]2028[/TD]
[TD]2029[/TD]
[TD]2033[/TD]
[TD]2034[/TD]
[TD]2035[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I have the file here below. If someone can help me out and steer me in the right direction id be very greatfull!
[/TD]
[TD="colspan: 7"][/TD]
[/TR]
</tbody>[/TABLE]
https://drive.google.com/open?id=1m5fPg73rfk9oWAOKsYWM5pGSsDxmzgD6