excel - how to use value in cell to count up to a number -


i need formula. have spreadsheet user enters integer in 1 cell. need use value place formula in cell. so, example, user enters 24 in cell. need place simple sum formula in 24th cell of row left , highlight red. there way this?

you put sum formula in if() function true when row = value in cell:

=if(row()=$e$2,$e$3-sum($b$1:$b1),"") 

enter image description here


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -