Good day all,
This has been driving me nuts for months, perhaps someone can help.
I am using Row/Column referencing and my formula works fine UNTIL I cut a row and insert it at another location. Excel finds it necessary to change the relative reference such that it maintains a link to the original cell. What I WANT is for it to reference Column 3 in the row above THIS row no matter where I move it.
The spreadsheet auto calculates the next event number and time it starts.
The data might have a blank row so the formula must check for that before incrementing the Event number. Event is in Column 3, Time in Column 4:
Event Time
29 11:57 AM
30 12:09 PM
31 12:21 PM
The calculation for ALL of the event number cells should ALWAYS be:
=IF(R[-1]C3="",R[-2]C3+1, R[-1]C3+1)
But if I need to move an event (they are grouped by similar event type), Excel changes the formula. For example, I 'cut' the row with Event 31 and insert it above Event 30.
I end up with this: =IF(R[1]C3="",R[-1]C3+1, R[1]C3+1)
and the data looks is now this:
29 11:57 AM
31 12:21 PM
30 12:09 PM
I've been fixing it by copying the formula from the first row across all subsequent (non blank) rows. However that is a PITA, is there some way to force Excel to maintain THIS row -1??
Thanks,
Bruce
Bookmarks