Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
copy multiple records based on criteria or total amount
Hi everyone,
I have a worksheet with over 20000 records, i did a dcount based on amounts from 500-5000 and i got a result of 250 records, and dsum based on the same criteria (500-5000) i got 2,000,000. further i want to distribute the number of contracts and amount into 4 buckets as follow Dsum result 10% 10% 30% 50% total 1,000,000 100,000 100,000 300,000 500,000 1,000,000 Dcount result 10% 10% 30% 50% total 250 25 25 75 125 250 Can i somehow exctract, copy list of contracts in each bucket that will add up to the dsum amount distribution for each bucket? for example: a formula or macro that will give me 25 contracts out of 20,000 when i add the amounts it should come up to 100,000 and all contracts must be between 500-5000. I really appreciate any help i can get on this one. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
exclude amount from sumif total based on how many months | Excel Discussion (Misc queries) | |||
The amount calculated based on two entry criteria (somproduct?) | Excel Discussion (Misc queries) | |||
total amount based on selections of 1-9, 10-19 and 20-30 | Excel Discussion (Misc queries) | |||
sumif-add amount to another cell based on two criteria | Excel Discussion (Misc queries) | |||
Show top five records based on meeting multiple criteria | Excel Worksheet Functions |