Excel If Then formulas for adding multiple values to a total -


i working excel , want use if-then statements tally values on separate sheet. example be: if text in cell l1=d, add value in cell, k1 cell a1 in separate tab ongoing tally. if text in cell l1=e, add value in cell, k1 cell b1, on separate tab ongoing tally.

basically, have purchased 5000 books. of these books library , library b. need pull costs of each book based on destination , tally them in separate sheet. need formula keep adding book price book price in tallying cell have grand total location.

it sounds want use sumifs.

in a1 on sheet2: =sumifs('sheet1'!$k:$k,'sheet1'!$l:$l,"d")

in b1 on sheet2: =sumifs('sheet1'!$k:$k,'sheet1'!$l:$l,"e")

in english, translates to:

"in cell (eg a1) add values in column k on other sheet (sheet1). but, include cells corresponding value in column l meets criteria (eg equal 'd')."


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -