Šel bych na to pomocí maticového vzorce a to =SUMA((A5:A15=1)*(B5:D15))Zadání se ukončí CTRL+SHIFT+ENTEREdit: soubor sesit1.xls 34.50 KiB