Data Validation in Google Sheets

cayde716

New Member
Joined
Aug 9, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
So I am selling tickets for a raffle and trying to make this as easy as possible. The tickets that I'm selling are 1 for $5, 3 for $10, 7 for $20. I was able to make a date validation drop down for the amount of tickets purchased but I am trying to make it so it auto populates the price. Is there a way to do that in sheets?
excel.png
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Will the tickets only ever be 1,3 or 7, or could someone buy 4 tickets?
 
Upvote 0
In that case how about
Excel Formula:
=switch(B2,1,5,3,10,7,20)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,225,333
Messages
6,184,325
Members
453,227
Latest member
Slainte

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