ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   formula up to a maximum of 100, no greater than (https://www.excelbanter.com/new-users-excel/177613-formula-up-maximum-100-no-greater-than.html)

John5646

formula up to a maximum of 100, no greater than
 
My spreadsheet uses formulae to work out value, but our fees, or A3, is
capped at 900. So, with a formula of
A3=A1*A2
where the values are
10*100, I need A3 to be 900
but if the value is
8*100, I need A3 to be 800

Sandy Mann

formula up to a maximum of 100, no greater than
 
=IF(OR(A1="",A2=""),"",MIN(900,A1*A2))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"John5646" wrote in message
...
My spreadsheet uses formulae to work out value, but our fees, or A3, is
capped at 900. So, with a formula of
A3=A1*A2
where the values are
10*100, I need A3 to be 900
but if the value is
8*100, I need A3 to be 800





All times are GMT +1. The time now is 09:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com