#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Invoice

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Invoice

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Invoice

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
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
invoice toolbar for invoice calcuation and assign number KarenY Excel Discussion (Misc queries) 15 March 16th 07 12:02 PM
How do I assign an invoice number using the invoice toolbar? Sharon Excel Worksheet Functions 1 December 23rd 06 09:32 AM
missing invoice toolbar when save customised invoice M.G New Users to Excel 1 September 26th 05 07:18 AM
Invoice templet Excel97 to 2003 invoice toolbar missing MarolynInMarion Excel Discussion (Misc queries) 0 August 19th 05 07:15 PM
How do I change the invoice number assigned in Invoice template... akress Excel Discussion (Misc queries) 1 February 28th 05 06:36 PM


All times are GMT +1. The time now is 01:08 AM.

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

About Us

"It's about Microsoft Excel"