Hi,
I have never run into an issue that I couldn't solve myself, or search for a solution to....but I'm stumped.
I have two worksheets.
The first has a business unit key value for numerous business units, transaction dates, and transaction amounts (Col A, B, C respectively).
The second has the same business unit key value, each business units actual month-end closing date (usually a few days after the month-end, but varies), and the actual month that each closing date corresponds to (Col A, B, C respectively).
I need to find a way to look up the business unit from each sheet, and return the month-end period that each transaction date corresponds to, by determining what date range the transaction date falls into for the actual month-end close period.....which can be different for each business unit and each month.
For example, business unit 1 has a transaction date of 1/3/11, but they did not close the December books for month-end until 1/6/11, so the actual month-end period is December.
I have 6 month-end periods in total from July-December 2010, for over 100 business units, and about 180k transactions. I am having a hard time finding the right formula compound to accurately pull the actual month-end for each business units transaction date, by determining where it falls in the July-December month-end close date range for each specific business unit (which again varies for each business unit and month).
Any help is greatly appreciated!
I have never run into an issue that I couldn't solve myself, or search for a solution to....but I'm stumped.
I have two worksheets.
The first has a business unit key value for numerous business units, transaction dates, and transaction amounts (Col A, B, C respectively).
The second has the same business unit key value, each business units actual month-end closing date (usually a few days after the month-end, but varies), and the actual month that each closing date corresponds to (Col A, B, C respectively).
I need to find a way to look up the business unit from each sheet, and return the month-end period that each transaction date corresponds to, by determining what date range the transaction date falls into for the actual month-end close period.....which can be different for each business unit and each month.
For example, business unit 1 has a transaction date of 1/3/11, but they did not close the December books for month-end until 1/6/11, so the actual month-end period is December.
I have 6 month-end periods in total from July-December 2010, for over 100 business units, and about 180k transactions. I am having a hard time finding the right formula compound to accurately pull the actual month-end for each business units transaction date, by determining where it falls in the July-December month-end close date range for each specific business unit (which again varies for each business unit and month).
Any help is greatly appreciated!