+ Reply to Thread
Results 1 to 3 of 3

Petty cash hell

  1. #1
    Registered User
    Join Date
    08-06-2006
    Posts
    3

    Angry Petty cash hell

    Hi,
    I am trying to get my spread sheet to work out tax only if it is deductable. So one column is titled gross, one is titled net and one is titled tax. I want to be able to type in the gross cost in the gross column, if i pay tax on the item i want to put a "Y" in the tax column (Yes tax has been paid) and then the net ammount would be automatically calculated and put in the net column. If I put a "n" in it (No tax has not been paid) then the net column stays the same as the gross amount.

    Can you help?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Something like

    =IF(B2="N",A2,A2*10)

    Change *10 to your tax amount

    The reverse would be

    =IF(B2="y",A2*10,A2)

    VBA Noob

  3. #3
    Registered User
    Join Date
    08-06-2006
    Posts
    3

    Thumbs up

    Thank you so much for that - It not only worked, but also stopped me from throwing the laptop across the room!! You are a star.

+ 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