Data Validation as a result of a formula
Hello Excel gurus,
I am trying to create a spreadsheet for a points system. in the sheet there are names listed in column A and categories listed from colum B to Column H with a Total column in Column I (not L). In each category column I have data validation set to a whole number that must be less than or equal to 5 (category point maximum per weekly sheet) so that is easy. I want the Total column to not be greater than 10 for a total weekly maximum of point accrual.
When I set the data validation in column I (Total column) to not allow values greater than 10 the SUM formula will still return a value greater than 10 if the categories SUM that high. Is there a way through formulas that I can achieve this goal?
I tried =IF(SUM(B2:H2) <=10, SUM(B2:H2), "10") to try and get the SUM result when it is less than 10 and 10 when it is over 10.
Much appreciated
EDIT: I got it. Turns out I was miss a parenthesis. =IF(SUM(B2:H2) <=10, (SUM(B2:H2)), "10") worked out. Sorry for the disruption
Posted Feb 16, 2017, 4:49 PM UTC · edited