Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Allocating remainders

Example--I have ten vendors, each gets a % of a total. The remainder needs
to be allocated to the vendor with the highest %. Any way to automate that.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Allocating remainders

ramtroop wrote:
Example--I have ten vendors, each gets a % of a total. The remainder needs
to be allocated to the vendor with the highest %. Any way to automate that.


If you actually provide an example of the data and the result you are looking
for, I'm sure someone can get you a solution.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Allocating remainders

Vendors in A1:A10 (say)
Allocated percentage in column D, say
In E1 use =D1+(D1=MAX($E$1:$E$10))*(100%-SUM($D$1:$D$10)
Copy down the column
The larges value in D causes the E value to have added to the D value, the
remainder of the percentage allocation
Problem if there are two equal maximum values
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"ramtroop" wrote in message
...
Example--I have ten vendors, each gets a % of a total. The remainder
needs
to be allocated to the vendor with the highest %. Any way to automate
that.



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
Allocating the numbers from the total srpavar Excel Worksheet Functions 1 July 21st 08 07:04 AM
Whole numbers and remainders [email protected] Excel Discussion (Misc queries) 2 March 22nd 07 09:40 PM
Allocating a value from a cell babygoode Excel Worksheet Functions 2 August 9th 05 10:24 PM
allocating between positive and negative amounts THosier Excel Worksheet Functions 1 March 8th 05 01:23 AM
Allocating a Value Raymond Gallegos Excel Worksheet Functions 1 January 7th 05 01:10 AM


All times are GMT +1. The time now is 04:39 PM.

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"