ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   need help plz (https://www.excelbanter.com/excel-discussion-misc-queries/184577-need-help-plz.html)

Hygeenx

need help plz
 
Greetings:

I have a problem that i know there must be an easy solution for...but i have
searched and cannot find it. I need a formula/conditional that will return
actual value if <25 but cap the range at 25 if value is = 25. eg. MY range
is j4:j27 and the sum is in j28. Any help will be appreciated. and more info
will be provided if needed.
thanks
hygeenx

David Biddulph[_2_]

need help plz
 
=MIN(SUM(J4:J27),25)
--
David Biddulph

"Hygeenx" wrote in message
...
Greetings:

I have a problem that i know there must be an easy solution for...but i
have
searched and cannot find it. I need a formula/conditional that will
return
actual value if <25 but cap the range at 25 if value is = 25. eg. MY
range
is j4:j27 and the sum is in j28. Any help will be appreciated. and more
info
will be provided if needed.
thanks
hygeenx




AKphidelt

need help plz
 
If you are talking about the sum of J4 to J27 then you can use the formula

=If(Sum(J4:J27)24,25,Sum(J4:J27))

"Hygeenx" wrote:

Greetings:

I have a problem that i know there must be an easy solution for...but i have
searched and cannot find it. I need a formula/conditional that will return
actual value if <25 but cap the range at 25 if value is = 25. eg. MY range
is j4:j27 and the sum is in j28. Any help will be appreciated. and more info
will be provided if needed.
thanks
hygeenx


Hygeenx

need help plz
 
Both worked and I am indebted to you guys... thanks a lot.
Hygeenx

"akphidelt" wrote:

If you are talking about the sum of J4 to J27 then you can use the formula

=If(Sum(J4:J27)24,25,Sum(J4:J27))

"Hygeenx" wrote:

Greetings:

I have a problem that i know there must be an easy solution for...but i have
searched and cannot find it. I need a formula/conditional that will return
actual value if <25 but cap the range at 25 if value is = 25. eg. MY range
is j4:j27 and the sum is in j28. Any help will be appreciated. and more info
will be provided if needed.
thanks
hygeenx



All times are GMT +1. The time now is 10:25 PM.

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