#1   Report Post  
needhelp
 
Posts: n/a
Default Function Help

In column "A" I have a value of 100. In column "B" I will have a number
ranging from 1 to 100. I want column "C" to divide column "A" by the number
in column "B", the number in column "C" cannot exceed 10% of the total in
column "A".

What would the formula be?
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

=MIN(A1/B1,10%)

Or, if B1 may be empty:

=IF(B1<0,MIN(A1/B1,10%),"")

In article ,
"needhelp" wrote:

In column "A" I have a value of 100. In column "B" I will have a number
ranging from 1 to 100. I want column "C" to divide column "A" by the number
in column "B", the number in column "C" cannot exceed 10% of the total in
column "A".

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Something like

=MIN(10%*SUM($A$1:$A$100),IF(B1="",0,A1/B1))

copied down

Regards,

Peo Sjoblom

"needhelp" wrote:

In column "A" I have a value of 100. In column "B" I will have a number
ranging from 1 to 100. I want column "C" to divide column "A" by the number
in column "B", the number in column "C" cannot exceed 10% of the total in
column "A".

What would the formula be?

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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Need a ISWorkday Function -- Any Ideas Mark Excel Worksheet Functions 5 March 29th 05 01:58 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 05:03 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"