View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph
 
Posts: n/a
Default looking for simplified formulas

"philip" wrote in message
...
thank you for your reply, however, I need to explain a bit more, the
scenarios as follow

A B C D E F G CONT.....
2 4 6 7 9 11 23


the column will be continue to column AB

what I need is (col"B"-col"A")+(col"C"-col"B")...and so on...

the formula will be :=(B-A)+(C-B)+(D-C)+(E-D)-(F-F)+(G-F)....Ans is 19


I assume you meant ... +(F-E) ..., rather than ... -(F-F) ...?

In which case the answer is 21 (not your 19), and (as has already been
pointed out) in the more general case, as the intermediate terms all cancel
out, the answer is the last column minus the first, or =(AB1-A1).
--
David Biddulph