View Single Post
 
Old 03-16-2024, 11:15 AM
xor xor is offline Windows 11 Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Another slightly shorter formula is

=SUMPRODUCT(($A$26:$A$34=K$1)*(OR((LEFT($B$26:$B$3 4)={"4""5"})))*$D$26:$G$34)

where I guess you must change \ to , (comma). \ is because I use Danish settings.

Edit: {"4""5"} here I wrote {"4" backslash "5"} but it was changed when I posted. I think you should use {4,5}.
Reply With Quote