elleinndee
New Member
- Joined
- Jul 16, 2022
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
Hello, I'm going crazy trying to figure out a formula. Any assistance is greatly appreciated.
On Sheet1 I have column A (Unique Identifier), column W (Authorization Date), column X (Start Date), and column Y (First Date Billed).
On Sheet 2 I have column B (Unique Identifier) and column I (Activity Date).
On Sheet 1 column Y is filled with the first Activity Date found (column I) on Sheet 2 via a VLOOKUP with the Unique Identifier (column A on Sheet 1, column B on Sheet 2).
I need a formula for column X on Sheet 1, Start Date, that will give me this:
If on Sheet 1 column W (Authorization Date) comes before column Y (First Date Billed), the Unique Identifier on both sheets is used to lookup the nearest date after Sheet 2 column I (Activity Date) which will then fill column X (Start Date) on Sheet 1.
On Sheet1 I have column A (Unique Identifier), column W (Authorization Date), column X (Start Date), and column Y (First Date Billed).
On Sheet 2 I have column B (Unique Identifier) and column I (Activity Date).
On Sheet 1 column Y is filled with the first Activity Date found (column I) on Sheet 2 via a VLOOKUP with the Unique Identifier (column A on Sheet 1, column B on Sheet 2).
I need a formula for column X on Sheet 1, Start Date, that will give me this:
If on Sheet 1 column W (Authorization Date) comes before column Y (First Date Billed), the Unique Identifier on both sheets is used to lookup the nearest date after Sheet 2 column I (Activity Date) which will then fill column X (Start Date) on Sheet 1.