Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CraigR53
 
Posts: n/a
Default Multi-State Sales Tax Computation

We sell products to about 20 states. I need to compute the sales tax for each
sale based on the state in which it is sold. I propose to set up a table --
Col A is 2-letter abreviation for state (eg, "MN") & col 2 is Tax Rate
(eg,".065"). I then want the user to enter the state abreviation in, for
example, D4, and have the correct rate appear in E4. How can I do this?
(I'm a git of a beginner -- try to dumb down your answer for me, if you can.)

Thanks!!

Craig
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Multi-State Sales Tax Computation

Use the VLOOKUP function. For example,

=VLOOKUP(state_name,$A$1:$B$21,2,FALSE)

where state_name is the state to lookup (either literal text in
quotes or a cell reference, and A1:B21 is your list of states and
respective tax rates.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"CraigR53" wrote in message
...
We sell products to about 20 states. I need to compute the
sales tax for each
sale based on the state in which it is sold. I propose to set
up a table --
Col A is 2-letter abreviation for state (eg, "MN") & col 2 is
Tax Rate
(eg,".065"). I then want the user to enter the state
abreviation in, for
example, D4, and have the correct rate appear in E4. How can I
do this?
(I'm a git of a beginner -- try to dumb down your answer for
me, if you can.)

Thanks!!

Craig



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave O
 
Posts: n/a
Default Multi-State Sales Tax Computation

Checkout the VLOOKUP() function: exactly what you need.

  #4   Report Post  
Posted to microsoft.public.excel.misc
CraigR53
 
Posts: n/a
Default Multi-State Sales Tax Computation

Perfect, Chip! Thanks muchly!!!

Craig

"Chip Pearson" wrote:

Use the VLOOKUP function. For example,

=VLOOKUP(state_name,$A$1:$B$21,2,FALSE)

where state_name is the state to lookup (either literal text in
quotes or a cell reference, and A1:B21 is your list of states and
respective tax rates.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"CraigR53" wrote in message
...
We sell products to about 20 states. I need to compute the
sales tax for each
sale based on the state in which it is sold. I propose to set
up a table --
Col A is 2-letter abreviation for state (eg, "MN") & col 2 is
Tax Rate
(eg,".065"). I then want the user to enter the state
abreviation in, for
example, D4, and have the correct rate appear in E4. How can I
do this?
(I'm a git of a beginner -- try to dumb down your answer for
me, if you can.)

Thanks!!

Craig




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Total Sales from a Database John Excel Worksheet Functions 0 November 3rd 05 12:26 PM
formula to calculate sales tax from total sales Deanna Excel Worksheet Functions 7 October 5th 05 08:57 PM
backing sales tax out of a total including sales tax trent Excel Worksheet Functions 2 August 24th 05 07:06 AM
Trying to create a Sales Projection/Forecast/Estimate S L Pace Excel Discussion (Misc queries) 3 March 30th 05 02:06 PM


All times are GMT +1. The time now is 11:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"