+ Reply to Thread
Results 1 to 20 of 20

Estimate the sales tax

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Estimate the sales tax

    I have a problem. If I get a receipt from a purchase all it lists is the item price but I don't see the sales tax rate which adds the amount to get the grand total. Is there an easy way to estimate the sales tax rate and create a function to automatically estimate it's percentage if you have the grand price total?

    The first row lists the column headers

    A2 is the item price
    B2 is the unknown sales tax rate
    C2 is the grand total price of the item plus tax rate.

    If I have the item price and the grand total price...can a function be made to estimate the sales tax? Or put another way...if I have the initial sales price but don't have the sales tax rate but can't find the grand total price unless I have the sales tax...is there a way to generate a function to automatically estimate what the total cost would be if a sales tax were included?

    Thanks in advance.
    Last edited by DorothyFan1; 01-27-2011 at 08:09 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem - how to estimate the sales tax with a function?

    Perhaps:

    =C2/A2-1

    where A2 and C2 contain you price and grand total
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Problem - how to estimate the sales tax with a function?

    See the formula posted here by Pete_UK
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Problem - how to estimate the sales tax with a function?

    I've attached a copy of my calculate sales tax sheet. The problem is I statically list the sales tax rate in the workbook. So when I get a receipt that doesn't list the sales tax...I'm forced to play with the initial cost of the item to finally match the grand total to listing the correct amount for the sales tax.
    Attached Files Attached Files

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem - how to estimate the sales tax with a function?

    Given the sample sheet, give an example of what you mean. I am not following.

  6. #6
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Problem - how to estimate the sales tax with a function?

    As you see from the sheet...I enter the date, then enter the initial cost which may overestimate the sales tax rate given the final cost of the item which is listed on the sales receipt. But if I can't see the sales tax rate on the slip...I'm forced to fiddle with the initial item price to match the final cost listed on the sales slip because it doesn't tell me the sales tax rate.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem - how to estimate the sales tax with a function?

    Sorry I am still not following... can you be specific, name cells, steps with specific examples...etc to make the point clear.

  8. #8
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Problem - how to estimate the sales tax with a function?

    Quote Originally Posted by NBVC View Post
    Sorry I am still not following... can you be specific, name cells, steps with specific examples...etc to make the point clear.
    Going from left to right in the blank row:

    Enter the text item of the purchased item; enter the date; now the hard part. I'm forced to enter an arbitrary initial price to the item in question because the sales tax rate is hard coded to a certain rate. This is problematic because if the sales receipt shows a total amount but gives no sales tax...I have to fiddle with the initial cost of the item to match the final total amout listed on the receipt. Since it doesn't give me the sales tax rate...I have to "guess" the cost of the initial price even if it doesn't match what it says on the receipt.

    For example...suppose the item cost 5.00 dollars. But since the receipt doesn't show the sales tax...I have to play with the item cost to match the sales receipt listing the final item price I paid for the purchase. So this means since the sales tax rate I have listed is static...I'm forced to adjust the initial price of the item to match the cost listed on the receipt that it gives for the total. So, if the final cost including the mysteriously not mentioned sales tax rate on the slip showed I paid 5.42 I have no way of knowing what the sales tax rate should be to account for that item total. This means I need to fool around with the 5.00 initial cost to make the formula match the final tally for the item...which in this hypothetical example is 5.42.

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Problem - how to estimate the sales tax with a function?

    So the formula in say C17 would be =E17/(1+D17) if 5.42 is entered in E17, the based on the sales tax in D17 being 8.38%, then C17 will give 5.00.

  10. #10
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Problem - how to estimate the sales tax with a function?

    Quote Originally Posted by NBVC View Post
    So the formula in say C17 would be =E17/(1+D17) if 5.42 is entered in E17, the based on the sales tax in D17 being 8.38%, then C17 will give 5.00.
    No, the amount would need to be input into C17. Since the sales tax rate is given at 8.37% in D17 the formula is listed in E17. The problem is since I can't always be sure what the sales tax rate should be since I'm not always given the sales tax rate...what is given is usually the total sales amount which includes the sales tax rate. Since I don't know what rate each retail chain is using...the initial cost of the item doesn't tell me what the sales tax rate is.

    Again with the example of 5.00 dollar item. The total cost could be 5.42 but I"m not shown the sales tax rate. So if the receipt shows the total cost...which is 5.42 along the initial cost of the item...which is 5.00 I don't know what the sales tax rate is. So in order to figure out the final cost of the item without me knowing the sales tax rate forces me to statically hard code the sales tax rate at the rate I input in cell D17 at 8.38% and I would be forced to plug in arbitrary numbers in C17 to account for the total cost which includes the sales tax rate where the formula is listed in E17.
    Last edited by DorothyFan1; 01-26-2011 at 03:13 PM.

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Estimate the sales tax

    We seem to be going around in circles with this.. I am hoping that someone following this thread understands and can interject.... I am not sure where to go from here....

  12. #12
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Estimate the sales tax

    I think the problem is DorothyFan1 is more concerned with determining the tax rate which is in col D but has a formula in col E that refers to col D.

    DorothyFan1
    If you are mostly concerned with checking the tax rate then you have to put your formula in col D and manually type your col C AND col E numbers.
    So you would type in your Amount in for instance C17
    Then type in your total in E17
    This formula in D17 will give you your Tax Rate: =IF(E17="","",(E17-C17)/C17)

    You can't have formulas in D17 AND E17 referring to each other because that would create a circular reference.

    You could have this formula in E17: =IF(C17="","",ROUND(C17*1.08375,2))
    And if the total doesn't match your sales slip then overwrite the formula with actual value.

    Are you in New York where there is a variable tax rate which explains the inconsistency?
    Last edited by Cutter; 01-26-2011 at 04:24 PM.

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Estimate the sales tax

    There are three numbers -- item cost, total cost, and tax rate. If you know any two, you can calculate the third, and you always know two of them, right? So you could do this:

    Please Login or Register  to view this content.
    Columns A:E are inputs. Columns F:H compute the missing item.

    F2 and down: =IF(C2, C2, D2/(1+E2))

    G2 and down: =IF(D2, D2, C2*(1+E2))

    H2 and down: =IF(E4, E4, D4/C4-1)
    Entia non sunt multiplicanda sine necessitate

  14. #14
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Estimate the sales tax

    Quote Originally Posted by Cutter View Post
    I think the problem is DorothyFan1 is more concerned with determining the tax rate which is in col D but has a formula in col E that refers to col D.

    DorothyFan1
    If you are mostly concerned with checking the tax rate then you have to put your formula in col D and manually type your col C AND col E numbers.
    So you would type in your Amount in for instance C17
    Then type in your total in E17
    This formula in D17 will give you your Tax Rate: =IF(E17="","",(E17-C17)/C17)

    You can't have formulas in D17 AND E17 referring to each other because that would create a circular reference.

    You could have this formula in E17: =IF(C17="","",ROUND(C17*1.08375,2))
    And if the total doesn't match your sales slip then overwrite the formula with actual value.

    Are you in New York where there is a variable tax rate which explains the inconsistency?
    Very astute. Yes.

  15. #15
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Estimate the sales tax

    See if this is something that you can use....

    Enter the Cost of the Item,
    Enter the Total Price paid,
    Last column figures the Tax percentage paid for you....
    Attached Files Attached Files
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  16. #16
    Registered User
    Join Date
    12-30-2010
    Location
    somewhere, USA
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Estimate the sales tax

    Quote Originally Posted by jwright650 View Post
    See if this is something that you can use....

    Enter the Cost of the Item,
    Enter the Total Price paid,
    Last column figures the Tax percentage paid for you....
    I've tried it and it works, but it's only giving the percentage based on the difference between the initial cost and the grand total. The formula doesn't take into account the actual sales tax itself.

    For example, the sales tax rate is normally 8.37% per unit. But sometimes where I go to purchase the items...the sales tax is higher or lower. If I don't know the sales tax rate the retail chain is using I end up having to guesstimate the initial cost to account for the given total if I'm not told the sales tax rate.

    I need a function that recognizes if I don't have either the initial cost or the grand total, it estimates the sales tax based on the previous entry.

    BTW...I'm using Excel 2010 and something interesting happened...when I opened up the Excel attachment into Excel..Protected Mode didn't activate and I have the Protected Mode feature enabled. I'm wondering if this is a bug. Because when opening files from the internet Protected Mode should automatically kick in and prevent me from editing the files. Instead I've been able to edit the files immediately. Using 32bit Excel 2010 on Win 7 64 bit system.
    Last edited by DorothyFan1; 01-26-2011 at 11:21 PM.

  17. #17
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Estimate the sales tax

    You seem to be trying to find a clairvoyant rather than a solution to your problem.

    Are you looking for a breakdown of the taxes for items you have purchased, including receipts that might contain items that fall into different tax groupings, and perhaps purchased in different ststes?

    See the attached to see if it helps you to clarify your request.
    Attached Files Attached Files

  18. #18
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Estimate the sales tax

    Will this finally get this marked as SOLVED?

    No more guessing the sales tax!

    http://www.catskill.net/purple/nystaxes.htm

  19. #19
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Estimate the sales tax

    Quote Originally Posted by Cutter View Post
    No more guessing the sales tax!

    http://www.catskill.net/purple/nystaxes.htm
    Great Chart Cutter! [edit** "and Marcol"**], thanks...I saved that one for future reference
    Last edited by jwright650; 01-27-2011 at 08:54 AM. Reason: forgot to include somebody

  20. #20
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Estimate the sales tax

    DorothyFan1, can you say which solution that you used. This will help other users

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1