Thanks for the help, but this didn't work in my spreadsheet.
It says there's an error in formula and highlights this part: 9.99999999999999E
I did make a mistake in my sample though, when labeling the headings..
My spreadsheet is horizontal, so it's A1, B1, C1, G1, H1, but I did modify the formula you gave to go horizontal.
And I actually simplified the sample, but in reality I have other columns in between the columns where actual data is.. maybe I should just give you the whole section of the spreadsheet.
Here is what I need to do: (O8+P8+R8+S8)-L8(if it's populated), if not check J8, if empty then subtract number in H8.
H8 will always have a number in it, but formula should only subtract one number.
columns I8, K8, M8 and N8 are just percentages and text info, they are not used by formula.
Thanks again.

Originally Posted by
DonkeyOte
Assuming they are truly blank
A21: =A20-LOOKUP(9.99999999999999E+307,A1:A3)
Or alternatively if as implied in your sample A1:A3 are listed in Ascending order (ie A2 always > A1 if populated and so on)
A21: =A20-MAX(A1:A3)
Bookmarks