Originally Posted by chaley
I am not currently in a position to write the template for you. Perhaps someone else can help out, should you need it.
cmp($, 10, 'Tiny', '', '')
,cmp($, 25, 'Short', '', '')
,cmp($, 100, 'Medium', '', '')
,cmp($, 300, 'Long', 'Brick', 'Brick')
Just paste this into the template field in Columns built from other colums (line breaks are removed, but makes changes easier prior to pasting).
It works by successively comparing number of pages and selecting that value if the number is lower. I suppose you figure out how to change it to suit your preferences
You can copy/paste the second to last cmp line if you want more values.