ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If calculations (https://www.excelbanter.com/excel-worksheet-functions/194307-if-calculations.html)

ClassyCleaning

If calculations
 
I need to calculate sales tax from two states with different sales taxes. I
want to designate one cell with a T or N and then have my invoice calculate
the sales tax pertaning to that state depending on what that cell has in it.
How do I build this formula?

Pete_UK

If calculations
 
Something like:

=IF(A1="T",6.5%,IF(A1="N",5%,0))

where A1 contains T or N (and I've guessed the tax rates).

Hope this helps.

Pete

"ClassyCleaning" wrote in message
...
I need to calculate sales tax from two states with different sales taxes. I
want to designate one cell with a T or N and then have my invoice
calculate
the sales tax pertaning to that state depending on what that cell has in
it.
How do I build this formula?




ClassyCleaning

If calculations
 
That worked. Thanks.

"Pete_UK" wrote:

Something like:

=IF(A1="T",6.5%,IF(A1="N",5%,0))

where A1 contains T or N (and I've guessed the tax rates).

Hope this helps.

Pete

"ClassyCleaning" wrote in message
...
I need to calculate sales tax from two states with different sales taxes. I
want to designate one cell with a T or N and then have my invoice
calculate
the sales tax pertaning to that state depending on what that cell has in
it.
How do I build this formula?





Pete_UK

If calculations
 
You're welcome.

Did I guess right?

Pete

On Jul 10, 10:15*pm, ClassyCleaning
wrote:
That worked. Thanks.



"Pete_UK" wrote:
Something like:


=IF(A1="T",6.5%,IF(A1="N",5%,0))


where A1 contains T or N (and I've guessed the tax rates).


Hope this helps.


Pete


"ClassyCleaning" wrote in message
...
I need to calculate sales tax from two states with different sales taxes. I
want to designate one cell with a T or N and then have my invoice
calculate
the sales tax pertaning to that state depending on what that cell has in
it.
How do I build this formula?- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 09:37 AM.

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