This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'd like to take the difference of two numbers (of a range of numbers) in the same column. I can do this with arrayformula and offset; however, the returned value is basically one row too high.
For example: ( I'd like the 4250.01 to be displayed one row lower, and the neg value not to appear at all.
Total Difference 16,817.31 4250.01 21,067.32 8646.01 29,713.33 112103.21 141,816.54 55376.08 197,192.62 9261.97 206,454.59 -206454.59
=ARRAYFORMULA(if(row(A:A)=1, "Difference", if(len(A:A),offset(A:A,1,0)-A:A, )))
Test Spreadsheet: https://docs.google.com/spreadsheets/d/1VrH8wNkrmHq-iJyXXoiDsWWQwdX6XCr3qmG6WTL8pB8/edit?usp=sharing
Subreddit
Post Details
- Posted
- 6 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/googlesheet...