+ Reply to Thread
Results 1 to 4 of 4

Suppress #VALUE!

  1. #1
    Forum Contributor
    Join Date
    05-30-2021
    Location
    Colorado Springs
    MS-Off Ver
    Microsoft 365
    Posts
    173

    Suppress #VALUE!

    Sometimes this formula produces #VALUE! as a result, and that is fine, but when it does, I want nothing to be returned in the cell. So...suppress #VALUE! and only put a result in the cell if it ISN'T #VALUE!

    =IF(LEFT('Sheet1'!B3,FIND(",",'Foreign Taxes'!B3)-1)="","",LEFT('Sheet1'!B3,FIND(",",'Sheet1'!B3)-1))

  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,916

    Re: Suppress #VALUE!

    Simple!

    =IFERROR(IF(LEFT('Sheet1'!B3,FIND(",",'Foreign Taxes'!B3)-1)="","",LEFT('Sheet1'!B3,FIND(",",'Sheet1'!B3)-1)),"")
    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 Contributor
    Join Date
    05-30-2021
    Location
    Colorado Springs
    MS-Off Ver
    Microsoft 365
    Posts
    173

    Re: Suppress #VALUE!

    Great, thanks!

  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
    44,461

    Re: Suppress #VALUE!

    With Excel 365, you can avoid repeating the formula using LET.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


+ 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. Suppress Div/0 errors
    By ancherilvm in forum Excel General
    Replies: 2
    Last Post: 07-18-2016, 11:21 PM
  2. Suppress zero value rows?
    By Casino in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-19-2012, 10:24 AM
  3. Suppress Zeros
    By mycon73 in forum Excel General
    Replies: 8
    Last Post: 03-13-2012, 02:37 AM
  4. Suppress #DIV/0!
    By amsanborn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2010, 05:12 PM
  5. Suppress #DIV/0!
    By pgwolfe in forum Excel General
    Replies: 2
    Last Post: 06-24-2008, 12:51 PM
  6. Suppress Leading Zero
    By robphillips79 in forum Excel General
    Replies: 4
    Last Post: 09-13-2007, 08:25 AM
  7. [SOLVED] Suppress File Name
    By Francis Ang in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-02-2005, 10:06 AM

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