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

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
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,223,956
Messages
6,175,607
Members
452,660
Latest member
Zatman

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