Trying to do Staff Sale spreadsheet, need Horizontal Randoms with no duplicates.

Estarriol

New Member
Joined
Jul 26, 2005
Messages
29
Hi Guys,
Need some help with Staff Sales and Random Picks (horizontal)
Everything I've seen so far for this kind of thing has been vertical.

List of items available for staff sale and percentage off (usually 70%)

Range: L8 to XXX8 (rightmost column, whatever letter it turns out to be) Names of staff
Range: L12 to XXX12
L13 to XXX13
etc.....
Staff place a bid in the box pertaining to the item they wish to purchase (B12 downwards)
L4 is the sum of the bids in L12 downwards
M4 is the sum of the bids in M12 downwards
etc.....
Row 5 and Row 6 (L to XXX) needs to relate to bids placed and to Column D (OBS or anything else) and to column H (Staff discounted price)
ie: Annie has placed 3 bids L12 downwards, in column D, only 1 of her bids (L12) has the code OBS and the value is taken from H as total of $300 in L5
2 of her bids come under anything else and L6 = H13 and H16 (the other 2 rows that have her bids L13 and L16)

Need to split the Items according to the number in column E (in this case 10)
so that there are now 10 rows of item 1 (E12)

Then, Random Winners chosen according to the bids. But no duplicates allowed on a per item basis. In the case of Item 1, all people will get, because there are 4 bids and 10 items.
As each person wins, that person's name has to be removed from the next round of random picks.
Where you have 3 items and 10 people, 1 person wins, name is removed from consideration for next copy of item.

Please see before and after shots below.

Number of bids and dollar value in totals (Row 4,5,6) needs to happen Before splitting items)

Any clarifications needed, please let me know.

Many thanks in advance for your help.
Al


Before:


Excel 2010
ABCDEFGHIJKLMNOPQRS
1Max Number of Bids10101010
2Max OBS Bid - Staff Retail Value (AU$)$2,000.00$2,000.00$2,000.00$2,000.00
3PLEASE COMPLETE CELLSMax Total Bid - Staff Retail Value (AU$)$3,500.00$3,500.00$3,500.00$3,500.00
4HIGHLIGHTED IN YELLOWYour Bids - Qty3333
5Your OBS Bids - Staff Retail Value (AU$)$300.00$600.00$600.00$300.00
6Your Total Bids - Staff Retail Value (AU$)$1,050.00$1,950.00$1,050.00$900.00
7LH1 - OfficeLH1 - OfficeLH1 - OfficeLH1 - Office
8STORE:AFirst Name (as per payslip):AnnieBobbiCharlieSCharlieJ
9# of BidsRandom #Winner
10
11Item Code (SKU)DescriptionTypeCodeTotal QtyRetail $Discount %Staff Retail $Available Bids: 7Available Bids: 7Available Bids: 7Available Bids: 7
121item number 1AOBS10$1,000.0070$300.0041111
132item number 2BABC1$1,000.0070$300.00211
143item number 3ADEF3$2,000.0070$600.00211
154item number 4AOBS1$1,000.0070$300.00111
165item number 5CABC1$1,500.0070$450.003111
17
18
19
20
21
22
Sheet1


After:


Excel 2010
ABCDEFGHIJKLMNOP
1Max Number of Bids10101010
2Max OBS Bid - Staff Retail Value (AU$)$2,000.00$2,000.00$2,000.00$2,000.00
3PLEASE COMPLETE CELLSMax Total Bid - Staff Retail Value (AU$)$3,500.00$3,500.00$3,500.00$3,500.00
4HIGHLIGHTED IN YELLOWYour Bids - Qty3333
5Your OBS Bids - Staff Retail Value (AU$)$300.00$600.00$600.00$300.00
6Your Total Bids - Staff Retail Value (AU$)$1,050.00$1,950.00$1,050.00$900.00
7LH1 - OfficeLH1 - OfficeLH1 - OfficeLH1 - Office
8STORE:AFirst Name (as per payslip):AnnieBobbiCharlieSCharlieJ
9# of BidsRandom #Winner
10
11Item Code (SKU)DescriptionTypeCodeTotal QtyRetail $Discount %Staff Retail $Available Bids: 7Available Bids: 7Available Bids: 7Available Bids: 7
121item number 1AOBS1$1,000.0070$300.004Annie1111
131item number 1AOBS1$1,000.0070$300.004CharlieJ111
141item number 1AOBS1$1,000.0070$300.004CharlieS11
151item number 1AOBS1$1,000.0070$300.004Bobbi1
161item number 1AOBS1$1,000.0070$300.004N/A
171item number 1AOBS1$1,000.0070$300.004N/A
181item number 1AOBS1$1,000.0070$300.004N/A
191item number 1AOBS1$1,000.0070$300.004N/A
201item number 1AOBS1$1,000.0070$300.004N/A
211item number 1AOBS1$1,000.0070$300.004N/A
22
232item number 2BABC1$1,000.0070$300.002Bobbi11
24
253item number 3ADEF1$2,000.0070$600.002CharlieJ11
263item number 3ADEF1$2,000.0070$600.002Bobbi1
273item number 3ADEF1$2,000.0070$600.002N/A
28
294item number 4AOBS1$1,000.0070$300.002CharlieS11
30
315item number 5CABC1$1,500.0070$450.003Bobbi111
325item number 5CABC1$1,500.0070$450.003Annie11
33
34
35
Sheet1
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,215,461
Messages
6,124,956
Members
449,200
Latest member
indiansth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top