Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Auto populate randomly

I have one sheet which have the set values as follows

category Total amount
category1 1000
category2 2500
category3 600
category4 9000

I have other set of values as

Name Amount Allocated finally
suresh 1000
ravi 800
rajesh 479
ramesh 3500

Is there any process to auto populate randomly the Allocated finally by taking the amount from second set of values and see whether the sufficient amount was there in first set of values

if sufficient amount is there allocate from one ,if sufficient amount was not there then we have to allocate from two categories or three or 'n' and print the categories in other column(i.e from what categories the amount was allocated)

For Example:

If i consider Ravi he has 800 to be allotted.

Then I should be able to check the first set whether 800 is present.

If exact 800 is present in one category allocate that category to ravi.
If 800 was not present in one category allocate from two categories to ravi
If from all categories if we sum and we get less amount than to be allotted then we should print error.

Please try to help or show me the way to proceed
Attachment 141031
  #2   Report Post  
Junior Member
 
Posts: 10
Default

Is there any process to auto populate randomly the Allocated finally by taking the amount from second set of values and see whether the sufficient amount was there in first set of values.
__________
memory foam mattress | adjustable mattresses | memory pillow
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
Auto-update Fill Series in column that has randomly spaced blank c Khind Excel Discussion (Misc queries) 3 February 5th 10 06:00 PM
Auto populate name BAKERSMAN Excel Discussion (Misc queries) 2 June 30th 09 07:28 AM
Randomly populate a list into empty cells Throme88 Excel Discussion (Misc queries) 2 July 1st 08 06:33 PM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Need to randomly populate a 10x10 array of cells with 100 names - 5 people listed 20 times each... Kevin Lyons[_2_] Excel Programming 3 February 8th 04 08:28 PM


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