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

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -