+ Reply to Thread
Results 1 to 5 of 5

Embedded IF function with ISNUMBER(SEARCH)

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2024
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Embedded IF function with ISNUMBER(SEARCH)

    I'm trying to calculate the VAT on the attached file, but there are various different VAT treatments depending on the type of sale.

    I have included the formula I am trying to use but it's not working!

    Would someone be able to have a look and see if they can fix it?

    Thanks!
    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 (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,301

    Re: Embedded IF function with ISNUMBER(SEARCH)

    What exactly does 20% of our revenue mean? Is that just VAT at 20%?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-23-2024
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    Re: Embedded IF function with ISNUMBER(SEARCH)

    Hi...yes, just 20% of the company's revenue, not the recharged amount.

    Thank you!

  4. #4
    Forum Contributor
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2411
    Posts
    261

    Re: Embedded IF function with ISNUMBER(SEARCH)

    Your multiple if function is unclear, it should be
    Formula: copy to clipboard
    =IF(ISNUMBER(SEARCH("HTP",$A2)),$B2*0.2,  IF(ISNUMBER(SEARCH("Fee",$A2)), 0,  IF(ISNUMBER(SEARCH("Fine",$A2)), 0,  ($B2-$B2/(1.2)))))


    IFS function also available
    Formula: copy to clipboard
    =IFS(ISNUMBER(SEARCH("HTP",$A2)),$B2*0.2, ISNUMBER(SEARCH("Fee",$A2)),0, ISNUMBER(SEARCH("Fine",$A2)),0, TRUE,($B2-$B2/(1.2)))
    You made my day!

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

    Re: Embedded IF function with ISNUMBER(SEARCH)

    You have solutions in post #3, so I have stood down.

+ 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. Using the IF(ISNUMBER(SEARCH) function
    By smbyrnecarey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-20-2022, 07:22 AM
  2. IF function with ISNumber(Search()) and Vlookup
    By dango000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2020, 10:18 AM
  3. [SOLVED] IF(AND(ISNUMBER(SEARCH())) Function
    By joshuarobbins in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-30-2015, 12:57 PM
  4. [SOLVED] IF(ISNUMBER(SEARCH function
    By NickT83 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-16-2014, 10:18 AM
  5. Help with multiple If(Isnumber(Search( function
    By khk410 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2013, 09:07 AM
  6. ISNUMBER(SEARCH Function
    By somesoldiers in forum Excel General
    Replies: 2
    Last Post: 07-14-2009, 10:49 AM
  7. SUMPRODUCT((ISNUMBER(SEARCH() function
    By redneck joe in forum Excel General
    Replies: 13
    Last Post: 12-08-2006, 06:19 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