Forum Discussion
anupambit1797
Jul 31, 2025Iron Contributor
Charting help needed
Dear Experts, I have a data like below , in columns A~H:- It has 2 rnti's( 2,18,66 and 53714), and in column "E" , is the time-difference between two consecutive SFNs, for th...
- Jul 31, 2025
In E2 (not E3):
=IFERROR(LET(n, (C2-XLOOKUP(G2, G$1:G1, C$1:C1, , , -1))*10, n+10240*(n<0)), "")
See the attached version.
anupambit1797
Jul 31, 2025Iron Contributor
So, 21-1013 = -9920 is a -ve number so it should be added by 1023 = 32 then multiple by 10 = 320 , shall be the result in above case
Br,
Anupam
Patrick2788
Jul 31, 2025Silver Contributor
I think this does what you need.
=LET(
sfn, C2,
last_sfn, XLOOKUP(G2, $G$1:G1, $C$1:C1, 0, , -1),
diff, IF(sfn - last_sfn < 0, sfn + 1023 - last_sfn, sfn - last_sfn),
IF(ROW() = 2, "", 10 * diff)
)