Hello Bruce,

you must have had some parenthesis off, I created a spreadsheet to use as an example of the formula to show that it works-

example