+ Reply to Thread
Results 1 to 4 of 4

Invoice template total column formula

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Invoice template total column formula

    I have an invoice spreadsheet that I've made up which is pretty automatic, using a VLOOKUP, but I've just had to modify the totals column so that it does something different if a certain item number is selected. I have this formula in the 'total price' column:

    =IF(ISBLANK(B17),"",IF(B17="6",A17*D17,(A17/$A$14)*VLOOKUP(B17,Item,3)))

    The formula works ok, no errors, except that if the item number is 6, the formula still uses $A$14 (which has the number 350) to divide it, but in that single instance I don't want it to; I just want the straight 'A17*D17' equation. I'm SURE it's something simple, but I just can't see it. Need fresh input.

    I hope this is reasonably clear. Am fairly much a learner so go easy on me

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Invoice template total column formula

    You have "6" in quotes which makes it a text string and different to the numeric value 6. Remove the quotes.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Invoice template total column formula

    Thank you so much! I knew it would be something simple, but I thought that I would have to define it as a text value to make it recognise the number. Greatly appreciate your help

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Invoice template total column formula

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. formula calculates ratio for Grand Total, not Sub Total for each column
    By vkievsky in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-06-2013, 11:26 AM
  2. Replies: 2
    Last Post: 07-08-2009, 05:45 PM
  3. invoice template?
    By Kranek in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2006, 11:15 PM
  4. [SOLVED] Invoice template help
    By woody in forum Excel General
    Replies: 0
    Last Post: 05-29-2005, 01:05 AM
  5. Replies: 1
    Last Post: 02-28-2005, 03:06 PM

Tags for this Thread

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