A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
sorry, keep forgetting to change ; to , (due to regional settings)
I have posted above the correct ones, however * should remain as they were.
Now, use the correct one, for I4: =MIN(IF(AND((10<=H4)*(H4<=19)),12,100),IF(LEN(J4)>0,8,100),IF(AND((30<=H4)*(H4<=39)),3,100),IF(AND((40<=H4)*(H4<=79)),1,100)) ,and notice how it is affected by len(J4) as you said.
You could also try this: =MIN( MIN( IF(AND((10<=H4)*(H4<=19)),12,100),IF(LEN(J4)>0,8,100) ) ,IF(AND((30<=H4)*(H4<=39)),3,100),IF(AND((40<=H4)*(H4<=79)),1,100)) .
If this doesn't work either explain better to fix it. Maybe post some tests for testing as you expect them to be.