In Excel, I have a column of values which I want to sum, but I want any values above 5 to only count as 5. I can do this by having another column that changes the value to 5 if it's above 5 and then summing that column
=IF(C4>5,5,C4)
Is there a way to do this with a sumif statement or some other way to avoid having a new column?