ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Tax Rates (https://www.excelbanter.com/excel-discussion-misc-queries/118043-tax-rates.html)

Greyson

Tax Rates
 
I have an order form that contains two columns of tax rate information in a
hidden portion of the worksheet. Column "A" list 52 counties by name.
Column "B" list each counties tax rate. In the printed form there is a
control form drop down list that allows selection of each county. When a
county is selected in this drop down I need the sales tax rate for that
county to display in a different cell to calculate the tax rate. Any ideas?

Bob Phillips

Tax Rates
 
What sort of dropdown? If it is a forms toolbar dropdown, link it to a cell,
right-click the dropdown, select FormatControlcontrol and set the Cell
link. Then lookup using that cell

=VLOOKUP(cell_link,A:B,2,FALSE)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Greyson" wrote in message
...
I have an order form that contains two columns of tax rate information in

a
hidden portion of the worksheet. Column "A" list 52 counties by name.
Column "B" list each counties tax rate. In the printed form there is a
control form drop down list that allows selection of each county. When a
county is selected in this drop down I need the sales tax rate for that
county to display in a different cell to calculate the tax rate. Any

ideas?



Gord Dibben

Tax Rates
 
In the cell to receive the Tax Rate enter this formula.

=VLOOKUP(cellref,$A$1:$B$52,2,FALSE)

Cellref is the cell with the drop-down selection.


Gord Dibben MS Excel MVP

On Wed, 8 Nov 2006 14:57:01 -0800, Greyson
wrote:

I have an order form that contains two columns of tax rate information in a
hidden portion of the worksheet. Column "A" list 52 counties by name.
Column "B" list each counties tax rate. In the printed form there is a
control form drop down list that allows selection of each county. When a
county is selected in this drop down I need the sales tax rate for that
county to display in a different cell to calculate the tax rate. Any ideas?




All times are GMT +1. The time now is 03:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com