Formula in Data Validation

Suresh Kusunuri

Board Regular
Joined
Dec 28, 2007
Messages
138
Office Version
  1. 2007
Platform
  1. Windows
Hi All,

I am doing a Tax calculation choosing Tax Rate by using Data Validation. I Required a Formula in Source Box of Data Validation. If not possible, Plz advise other way to get the result.
I attached a Screen Shot for your reference.
Thanks in advance

Suresh
Datavalidation Fomula.JPG
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
I am not quite clear what the issue is. If you only want to allow them to select 6%, 7.5%, or 10%, then just list those three values in your data validation, i.e.
6%,7.5%,10%

If you don't want to hardcode it, but instead want to pull the values from AA2:AA4, then enter this in the Source box:
=$AA$2:$AA$4
 
Upvote 0
How about
+Fluff New.xlsm
ABC
16.5
27
37.5Yes6.5
410
Main
Cells with Data Validation
CellAllowCriteria
C3:C4List=IF($B3="Yes",$A$1:$A$4,"")
 
Upvote 0
I am not quite clear what the issue is. If you only want to allow them to select 6%, 7.5%, or 10%, then just list those three values in your data validation, i.e.
6%,7.5%,10%

If you don't want to hardcode it, but instead want to pull the values from AA2:AA4, then enter this in the Source box:
=$AA$2:$AA$4
Thanks for your respond Mr. Joe. May be I was not explained my problem properly. I can use Name instead of Range or Vlookup from a table in Source Box.


Input value in Z Column is
"Yes" or "No"

Output Value required in AA Column is Based on Z Column
if "Yes" 2%, 3%, 4%, and so on
If "No" The column should be Blank or Zero and locked the Cell.

I used "=IF(Z2="Yes",("2%","3%","4%"),"") and getting invalid.

Now, I Required a formula, which is entered into Source box.

Thanks
Suresh
 
Upvote 0
@vmjan02
The OP is trying to get a list of values, not just one.
There would be no point in using data validation for one value.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

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