Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to setup an invoice for work and need a little assitance. I
apologise for my ignorance in the following matter. I need some direction in how to set up a formula for the following. I have three catagories, taxable, non taxable and labor. How do you direct each catagory to different locations for the exact total. The taxable items need to be added together then mutiplied by the tax rate after wich needs to be added to the total labor cost and non taxable items. I appreciate any help and guidence on the matter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perhaps you should take a look at an Invoice Template that comes with Excel.
Select File/New and there should be a Spreadsheet Solutions tab, or something similar, with an Invoice file in it. Mike F "selwonk" wrote in message ... I am trying to setup an invoice for work and need a little assitance. I apologise for my ignorance in the following matter. I need some direction in how to set up a formula for the following. I have three catagories, taxable, non taxable and labor. How do you direct each catagory to different locations for the exact total. The taxable items need to be added together then mutiplied by the tax rate after wich needs to be added to the total labor cost and non taxable items. I appreciate any help and guidence on the matter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
establish 3 named ranges on your sheet
"Total", "TaxRate", "ItemType"(column in invoice) Macro code: Dim c as range dim subtotals (1 to 3) for each c in activesheet.range("ItemType") select case c.value case "Taxable" subtotals (1) = subtotals (1) + c.offset (0,2).value case "Non-Taxable" subtotals (2) = subtotals (2) + c.offset (0,2).value case "Labor" subtotals (3) = subtotals (3) + c.offset (0,2).value case else if not c.value = "" then msgbox "Improper Item Clasification - " & c.address end if end select activesheet.Range("Total").value = _ subtotals(1) * activesheet.range("TaxRate") + subtotals(2) +subtotals(3) "selwonk" wrote: I am trying to setup an invoice for work and need a little assitance. I apologise for my ignorance in the following matter. I need some direction in how to set up a formula for the following. I have three catagories, taxable, non taxable and labor. How do you direct each catagory to different locations for the exact total. The taxable items need to be added together then mutiplied by the tax rate after wich needs to be added to the total labor cost and non taxable items. I appreciate any help and guidence on the matter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
invoice toolbar for invoice calcuation and assign number | Excel Discussion (Misc queries) | |||
How do I assign an invoice number using the invoice toolbar? | Excel Worksheet Functions | |||
missing invoice toolbar when save customised invoice | New Users to Excel | |||
Invoice templet Excel97 to 2003 invoice toolbar missing | Excel Discussion (Misc queries) | |||
How do I change the invoice number assigned in Invoice template... | Excel Discussion (Misc queries) |