August 2, 200619 yr My existing small biz file calculates GST @ 7%, but as of July 1, 2006 GST is now 6%. Right now the calculation is simply Total Sale GST=Total Sale * .07. How do have Total Sale GST check the Date Sold field before applying the tax?
August 3, 200619 yr Author Thanks sbg2. I tried Total Sale GST= If(Date Sold < 7/1/2006, Total Sale * .07, Total Sale * .06) but the calculation does not seem to be reading the date? I get GST calculated at 6% regardless of the Date Sold. I did sample records with the value of Total Sale as 1.00 and changed the Date Sold to before and after July 1st but Total Sale GST is always calculated as $0.06?
August 3, 200619 yr Your date format is incorrect. 7/1/2006 is basically dividing 7 by 2006. Use the Date() function when working with literal dates in a calc.
August 4, 200619 yr Author Thanks, ender! Very obvious when explained! This was the final calculation that worked Total Sale GST= If(Date Sold < Date (7,1,2006), Total Sale * .07, Total Sale * .06) Very much appreciate the assistance of this forum!
Create an account or sign in to comment