Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TechieRob
 
Posts: n/a
Default Is it possible to create a limiting value for a summation?

I am trying to create a "simple" sum equation that will not pass a designated
value

I know the general equation =sum(a1:a10) (for example) but for billing
purposes I do not want this value to pass a "capped" amount.

So say if the sum of a1:a10 is 100 and the limit is 100, it just shows 100

Whereas if the sum of a1:a10 is 120 and the limit is 100 it still only shows
100

Is there a simple solution to this?
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way


=MIN(SUM(A1:A10),100)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"TechieRob" wrote in message
...
I am trying to create a "simple" sum equation that will not pass a
designated
value

I know the general equation =sum(a1:a10) (for example) but for billing
purposes I do not want this value to pass a "capped" amount.

So say if the sum of a1:a10 is 100 and the limit is 100, it just shows 100

Whereas if the sum of a1:a10 is 120 and the limit is 100 it still only
shows
100

Is there a simple solution to this?



  #3   Report Post  
TechieRob
 
Posts: n/a
Default

One of my favorite proverbs is

"the best solution is the simplest solutions"

Thats extremely helpful

Thanks :)

"Peo Sjoblom" wrote:

One way


=MIN(SUM(A1:A10),100)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"TechieRob" wrote in message
...
I am trying to create a "simple" sum equation that will not pass a
designated
value

I know the general equation =sum(a1:a10) (for example) but for billing
purposes I do not want this value to pass a "capped" amount.

So say if the sum of a1:a10 is 100 and the limit is 100, it just shows 100

Whereas if the sum of a1:a10 is 120 and the limit is 100 it still only
shows
100

Is there a simple solution to this?




  #4   Report Post  
Duncan, UK
 
Posts: n/a
Default

I am trying to do a similar, but capping a cell that I use for discounts
eg the cell could read 35%, but I only want a max of 30% on some products
But the formula below doesn't seem to work if the cell is formatted as a
percentage, is there an answer to this?

Thanks

"Peo Sjoblom" wrote:

One way


=MIN(SUM(A1:A10),100)

--
Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)



"TechieRob" wrote in message
...
I am trying to create a "simple" sum equation that will not pass a
designated
value

I know the general equation =sum(a1:a10) (for example) but for billing
purposes I do not want this value to pass a "capped" amount.

So say if the sum of a1:a10 is 100 and the limit is 100, it just shows 100

Whereas if the sum of a1:a10 is 120 and the limit is 100 it still only
shows
100

Is there a simple solution to this?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The pivot tables 101 article says to use the "Create List" comman. cgnoland03 New Users to Excel 2 January 14th 05 11:39 PM
trying to create Lost in reconcillation Excel Discussion (Misc queries) 2 December 19th 04 01:05 AM
Use Julian Date To Create Serial Number antho10359 Excel Discussion (Misc queries) 4 December 9th 04 01:50 AM
How do I create a personalized heading row in excel (one that rea. questionsquestions Excel Worksheet Functions 2 November 9th 04 12:13 AM
How do I create a formula that will multiply a 5% of a value >$150 babydear12 Excel Worksheet Functions 2 October 29th 04 01:00 AM


All times are GMT +1. The time now is 10:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"