fishezuk
New Member
- Joined
- Dec 9, 2023
- Messages
- 4
- Office Version
- 365
- 2019
- Platform
- Windows
Hi Everyone!
I am creating a spreadsheet to record and track physical files that are being archived. Whilst I can get multiple 'IF' statements to work in principle there are too many nests for Excel to allow it. I have no idea whether I need to use COUNTIF(S), VLOOKUP, INDEX/MATCH or another formula to achieve the desired outcome.
Here is a basic idea of what I am trying to achieve:
SHEET 1 (INFORMATION)
SHEET 2 (DATA)
So I am looking for a formula to achieve the following:
1) Sheet 2 (Data) has a column for each retention period with every file type listed in the appropriate column.
2) I need to calculate the retention expiry (on Sheet 1) based on which column the file type is in.
For example, in Sheet 1 (line 1) the file type 'Letter' is in the column 'Keep for 10 years (from DOB)' on Sheet 2. Therefore, the retention expiry on Sheet 1 is calculated as Date of Birth + 10 Years.
In Sheet 1 the file type (line 2) is 'Application form' which is in the column 'Keep for 7 Years (from DOL)' in Sheet 2. Therefore, the retention expiry is calculated as Date of Leaving + 7 Years.
I am happy for the years to be calculated using EDATE for months.
There are a lot of different retention periods but I don't believe it will exceed to 64(?) maximum allowed by Excel. Fingers crossed I am correct.
I hope this makes some sense. I appreciate that what I am attempting to achieve is pretty complex but I am hoping you wonderful people on here can help me out.
Thank you so much in advance for your efforts and support.
John
I am creating a spreadsheet to record and track physical files that are being archived. Whilst I can get multiple 'IF' statements to work in principle there are too many nests for Excel to allow it. I have no idea whether I need to use COUNTIF(S), VLOOKUP, INDEX/MATCH or another formula to achieve the desired outcome.
Here is a basic idea of what I am trying to achieve:
SHEET 1 (INFORMATION)
File Type | Date of Birth | Date of Leaving | Retention Expiry |
Letter | 01/10/2015 | 01/10/2025 | |
Application Form | 01/03/2021 | 01/03/2028 |
SHEET 2 (DATA)
Keep for 10 years (from DOB) | Keep for 7 Years (from DOL) |
Letter | Application Form |
So I am looking for a formula to achieve the following:
1) Sheet 2 (Data) has a column for each retention period with every file type listed in the appropriate column.
2) I need to calculate the retention expiry (on Sheet 1) based on which column the file type is in.
For example, in Sheet 1 (line 1) the file type 'Letter' is in the column 'Keep for 10 years (from DOB)' on Sheet 2. Therefore, the retention expiry on Sheet 1 is calculated as Date of Birth + 10 Years.
In Sheet 1 the file type (line 2) is 'Application form' which is in the column 'Keep for 7 Years (from DOL)' in Sheet 2. Therefore, the retention expiry is calculated as Date of Leaving + 7 Years.
I am happy for the years to be calculated using EDATE for months.
There are a lot of different retention periods but I don't believe it will exceed to 64(?) maximum allowed by Excel. Fingers crossed I am correct.
I hope this makes some sense. I appreciate that what I am attempting to achieve is pretty complex but I am hoping you wonderful people on here can help me out.
Thank you so much in advance for your efforts and support.
John