I tried, the Max function did work. but it seems the SQRT doesn't belong toworksheetfunction and it didn't work. Are there anyway to use SQRT function?