Hi all,
I'm trying to use the following formula to tell me the row number of the cell that matches the first day of the month of the month after the date in cell c2. Here 'tis:
=MATCH(DATE(YEAR(C$2),MONTH(C$2)+1,DAY(1)), 'Sheet2!A20:A10000, 1)
Only problem is, the dates in Sheets2 are entered as follows:
21/3/04 5:00pm
Does anyone know how I can round the 'Sheet2!A20:A10000 value down to the nearest whole integer?
I tried round and rounddown, but they give#value errors, so i assume they don't work over ranges.
Thanks
I'm trying to use the following formula to tell me the row number of the cell that matches the first day of the month of the month after the date in cell c2. Here 'tis:
=MATCH(DATE(YEAR(C$2),MONTH(C$2)+1,DAY(1)), 'Sheet2!A20:A10000, 1)
Only problem is, the dates in Sheets2 are entered as follows:
21/3/04 5:00pm
Does anyone know how I can round the 'Sheet2!A20:A10000 value down to the nearest whole integer?
I tried round and rounddown, but they give#value errors, so i assume they don't work over ranges.
Thanks