I am calculating the last 20 data points in column H. Column H currently has a formula in it which is (=G1-F1) and this runs down the entire column of H for it's corresponding cell. My problem is another section averages the last 20 data points which works fine however column H is now full all the way down with zeros if the corresponding columns of F and G are blank. This would be simple with a SumIf function but I am needing the difference and excel does not have a differenceIf.
Currently unable to put up a spreadsheet example but pretty straight forward.
Thank you for any help
Bookmarks