Razz spreadsheet for sports cards

Tom and Rons Pools

New Member
Joined
Apr 23, 2020
Messages
23
Office Version
  1. 365
Platform
  1. Windows
I am looking for a few things here.

1st - if i input names in the H column under name. How do I get them to go to the name column in column B if they take more than 1 spot?
2nd - in c7 and c8 I want to know if there is a formula to create a deal based of spots taken. for example 1 spot = 5.50 per spot, but if you buy 3 spots its $5 per spot and if you buy 10 spots its $4.75 p/ spot. Something along those lines.
3rd - the current formula in c9 is a vlookup formula based on the c6. can i incorporate the values in c7 and c8 based off of how many spots people buy.

I know this may seem confusing but I will be happy to answer any questions you may have.


Book1
ABCDEFGHIJKLMNO
1Last 3 Comps:$ 600.00$ 445.00$ 525.00Spots12345678
2Average:$ 523.33Price/p$ 530.00$ 265.00$ 176.50$ 132.50$ 106.00$ 88.50$ 75.50$ 66.50
3RoundUp w/extras$ 530.00
4
5# of Spots:100
6$ p/spot:$ 5.50
7$ p/spot (3 spots)
8$ p/spot (10 spots)
9
10
11# of SpotsName$/SpotNameSpotsTotalPaidSourceAmt.
121$ 5.50Venmo$ -
132$ 5.50PayPal$ -
143$ 5.50Zelle$ -
154$ 5.50CashApp$ -
165$ 5.50
179$ 5.50
1810$ 5.50
1911$ 5.50
2012$ 5.50
2113$ 5.50
2214$ 5.50
2315$ 5.50
2416$ 5.50
2517$ 5.50
2618$ 5.50
2719$ 5.50
2820$ 5.50
2921$ 5.50
3022$ 5.50
3123$ 5.50
3224$ 5.50
3325$ 5.50
Sheet1
Cell Formulas
RangeFormula
H2:O2H2=MROUND($C$3/H1,0.5)
C2C2=AVERAGE(C1:E1)
C3C3=ROUNDUP(C2,0)+6
C6C6=VLOOKUP(C5,price_list[#All],2,0)
O12:O15O12=SUMIF($K$12:$K$129,N12,$J$12:$J$129)
A12:A16A12=VLOOKUP($C$5,Spots_List,ROW(B2),0)
A17:A33A17=VLOOKUP($C$5,Spots_List,ROW(B10),0)
C12:C33C12=IF(A12>0,$C$6,"")
Named Ranges
NameRefers ToCells
money_list=price_list[Spots]C6
Spot_dd=Spots_List[Column1]A12:A33
Spots=Sheet1!$H$1:$AI$1H2
Cells with Data Validation
CellAllowCriteria
C5List=Spot_dd
K12ListVenmo,PayPal,Zelle,CashApp
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Is this what you're looking for?

Book1
ABCDEFGHIJKLMNO
1Last 3 Comps:600445525Spots12345678
2Average:523.3333Price/p530265176.5132.510688.575.566.5
3RoundUp w/extras530
4
5# of Spots:100
6$ p/spot:$ 5.50
7$ p/spot (3 spots)$ 5.00
8$ p/spot (10 spots)$ 4.75
9
10
11# of SpotsName$/SpotNameSpotsTotalPaidSourceAmt.
121Al$ 5.50Al2$ 11.00Venmo0
132Al$ 5.50Bob1$ 5.50PayPal0
143Bob$ 5.50Cal14$ 68.00Zelle0
154Cal$ 4.75Dan6$ 30.00CashApp0
165Cal$ 4.75Ed5$ 26.00
176Cal$ 4.75$ -
187Cal$ 4.75
198Cal$ 4.75
209Cal$ 4.75
2110Cal$ 4.75
2211Cal$ 4.75
2312Cal$ 4.75
2413Cal$ 4.75
2514Cal$ 5.00
2615Cal$ 5.00
2716Cal$ 5.00
2817Cal$ 5.50
2918Dan$ 5.00
3019Dan$ 5.00
3120Dan$ 5.00
3221Dan$ 5.00
3322Dan$ 5.00
3423Dan$ 5.00
3524Ed$ 5.00
3625Ed$ 5.00
3726Ed$ 5.00
3827Ed$ 5.50
3928Ed$ 5.50
40 
Sheet2
Cell Formulas
RangeFormula
A12:A39A12=SEQUENCE(SUM(I12:I30))
B12:B40B12=LET(s,SUBTOTAL(9,OFFSET(I$11,0,0,SEQUENCE(COUNTA($H$11:$H$30)))),r,ROWS(B$12:B12),IF(r>SUM(I$12:I$30),"",INDEX($H$12:$H$30,MATCH(r-1,s))))
C12:C40C12=IFERROR(LET(a,VLOOKUP(B12,$H$12:$I$30,2),b,COUNTIF($B$12:$B12,B12),c,INT(a/10)*10,IFS(b<=c,$C$8,MOD(b,10)<=(INT(MOD(a,10)/3)*3),$C$7,1,$C$6)),"")
J12:J17J12=LET(n,I12,c,INT(n/10)*$C$8*10,m,MOD(n,10),d,INT(m/3)*$C$7*3,c+d+$C$6*MOD(m,3))
Dynamic array formulas.


The B formula can be simplified, but it uses functions my Excel doesn't have yet.
 
Upvote 0
Is this what you're looking for?

Book1
ABCDEFGHIJKLMNO
1Last 3 Comps:600445525Spots12345678
2Average:523.3333Price/p530265176.5132.510688.575.566.5
3RoundUp w/extras530
4
5# of Spots:100
6$ p/spot:$ 5.50
7$ p/spot (3 spots)$ 5.00
8$ p/spot (10 spots)$ 4.75
9
10
11# of SpotsName$/SpotNameSpotsTotalPaidSourceAmt.
121Al$ 5.50Al2$ 11.00Venmo0
132Al$ 5.50Bob1$ 5.50PayPal0
143Bob$ 5.50Cal14$ 68.00Zelle0
154Cal$ 4.75Dan6$ 30.00CashApp0
165Cal$ 4.75Ed5$ 26.00
176Cal$ 4.75$ -
187Cal$ 4.75
198Cal$ 4.75
209Cal$ 4.75
2110Cal$ 4.75
2211Cal$ 4.75
2312Cal$ 4.75
2413Cal$ 4.75
2514Cal$ 5.00
2615Cal$ 5.00
2716Cal$ 5.00
2817Cal$ 5.50
2918Dan$ 5.00
3019Dan$ 5.00
3120Dan$ 5.00
3221Dan$ 5.00
3322Dan$ 5.00
3423Dan$ 5.00
3524Ed$ 5.00
3625Ed$ 5.00
3726Ed$ 5.00
3827Ed$ 5.50
3928Ed$ 5.50
40 
Sheet2
Cell Formulas
RangeFormula
A12:A39A12=SEQUENCE(SUM(I12:I30))
B12:B40B12=LET(s,SUBTOTAL(9,OFFSET(I$11,0,0,SEQUENCE(COUNTA($H$11:$H$30)))),r,ROWS(B$12:B12),IF(r>SUM(I$12:I$30),"",INDEX($H$12:$H$30,MATCH(r-1,s))))
C12:C40C12=IFERROR(LET(a,VLOOKUP(B12,$H$12:$I$30,2),b,COUNTIF($B$12:$B12,B12),c,INT(a/10)*10,IFS(b<=c,$C$8,MOD(b,10)<=(INT(MOD(a,10)/3)*3),$C$7,1,$C$6)),"")
J12:J17J12=LET(n,I12,c,INT(n/10)*$C$8*10,m,MOD(n,10),d,INT(m/3)*$C$7*3,c+d+$C$6*MOD(m,3))
Dynamic array formulas.


The B formula can be simplified, but it uses functions my Excel doesn't have yet.
So that works if the person wants whats called "straight fill" is there a way i could do ... Bob wants spot 7 and 21 , Caleb wants 11, 25, 28, 31, 32, 33, 35, 60, 65, 72 ... etc.
 
Upvote 0
As you can imagine, that would be a tougher proposition. I'll think about it a bit more, but I'm not sure that's possible with formulas. What I'd suggest is to change the H:K table to something like:

Book1
HIJK
19NameSpotsTotalPaid
20Al2,4,6,8
21Bob9-20
22Cal21-30,32,35,37
23Dan38-45,88,5-10
24Ed1,3,5
Sheet2


This allows you to put in multiple ranges per individual. Instead of formulas in columns B, C, and J, I'd create a macro that triggers when you put something in column I. First thing it does is to ensure that there aren't any overlaps with previous buyers. If not, it fills in the cost in column J, then puts the names in column B, and the unit price in column C. Let me know if that's of interest.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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