Hi all, I'm hoping someone can help with this.
Much appreciated - John
- I have a 105,000 row spreadsheet with each row representing a 5 minute interval on a given date.
- The date range spans a 12 month period.
- As per the attached file 'bill date range, a bill is produced each month and this bill a date range from the 9th of the start month to the 8th of the end month.
- For each date in each row, I want it to look through all bill start and end dates to return the bill month on column AF.
- I have added this formula =IF(AND(O3>=$AG$3,O3<=$AH$3),$AF$3,0).
- The formula above looks at the date in the row(O3 and checked that it is greater than or equal to the March Bill start Date and less that or equal to the March Bill end date and then returns 'Mar' as the bill month. It is only checking the March bill date ranges
- I need to nest this formula so for each row, it looks through all the Bill start and end dates (e.g. Mar through to Jan) so it can identify the correct month.
- I can't see to figure this out.
- Would love some help if possible. Maybe there is a better way and how I have started does make sense.
Much appreciated - John