Dear Forum members,
I've to calculate the projections for the accounting data making use of the previous (LAG)record and future record (LEAD) record, Also there is logic which inter depends on each other.
I've attached the sample data in spread sheet by applying the excel logic, so the logic for first record is different the rest of the records as we are projecting the data.
Please have a look at the attached sample data and please advise me with your ideas to use the logic in this scenario.
Below are the sample example logic for the excel version of calculation:
Cell F3 =F2-J3-D3
Cell G3 = F2*(E3-E2)/E2
Cell H3 = F2*B2-C3
Cell I3 = D3-G3
Cell J3 = -(H4+I4)
Thanks in advance