+ Reply to Thread
Results 1 to 5 of 5

Calculate VAT from a Yes No dropdown

  1. #1
    Registered User
    Join Date
    03-24-2018
    Location
    West Sussex, England
    MS-Off Ver
    2016
    Posts
    5

    Calculate VAT from a Yes No dropdown

    Hi There,

    I wonder if anyone can help. I want to have the VAT added in a cell if a validation is "yes" and left blank if "no".

    So on the attached sheet if column 16 = "S" then I would like it to calculate add 20% VAT to the value in column 15 and display that value in column 16. If the value = "Z" then I would like it to give a zero value in column 16.

    I have put the VAT rate of 20 in the valdiation sheet as I thought this value could be drawn in from here incase the VAT rate changes from 20% in the future.

    Is this possible? I have tried everything with my limited knowledge and cannot make this work.

    Many thanks,

    Paul
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Calculate VAT from a Yes No dropdown

    Try this, if you must do it the way you have described:

    =O16*VLOOKUP(P16,Validations!$A$4:$B$5,2,0)/100

    Easier would be:

    =IF(P16="S",O16*0.2,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Calculate VAT from a Yes No dropdown

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Kind regards
    Leo

  4. #4
    Registered User
    Join Date
    03-24-2018
    Location
    West Sussex, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Calculate VAT from a Yes No dropdown

    Thank you AliGW your easier solution works perfectly. Thank you so much!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Calculate VAT from a Yes No dropdown

    You are very welcome!

+ 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. Replies: 2
    Last Post: 06-15-2016, 04:05 PM
  2. Calculate Worked hours per week from a client dropdown list
    By Garibaldi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2013, 04:30 AM
  3. [SOLVED] Using IF function several times referencing a Dropdown to calculate a 'minimum' charge
    By bpiereder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-02-2013, 05:12 PM
  4. Replies: 4
    Last Post: 07-02-2012, 03:18 PM
  5. [SOLVED] Calculate YTD returns, varying start of the year using dropdown
    By nickmangan in forum Excel General
    Replies: 2
    Last Post: 06-19-2012, 08:32 AM
  6. [SOLVED] Calculate Max using Dropdown Criteria
    By YiGeNana in forum Excel General
    Replies: 2
    Last Post: 04-05-2012, 12:17 AM
  7. Evaluate a dropdown list and calculate a total based on different pricing models
    By keneco in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-14-2011, 04:03 PM

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