+ Reply to Thread
Results 1 to 4 of 4

#VALUE! Error Using a Triple Nested SUBSTITUTE Formula, ERROR DUE TO EMPTY CELL(S)

  1. #1
    Registered User
    Join Date
    02-13-2021
    Location
    ottawa
    MS-Off Ver
    2017
    Posts
    10

    #VALUE! Error Using a Triple Nested SUBSTITUTE Formula, ERROR DUE TO EMPTY CELL(S)

    Excel File Attached At Bottom:

    A.png

    Using a Triple nested Substitution formula, I need three conditions to be fulfilled:
    1. If the cell has a #, replace it with ""
    2. If the has a "word" replace it with 0
    3. If the cell is EMPTY, replace it with 0

    Using this formula I got conditions #1 and #2 to work:
    Please Login or Register  to view this content.

    However, when I try to get condition #3 to work using this formula:
    Please Login or Register  to view this content.
    I run into a #VALUE! error.

    If the range I selected has values for each cell the formula works but if one or more cells don't have values condition #3 (empty cells) I get a #VALUES error.
    Attached Files Attached Files
    Last edited by skite0; 02-23-2021 at 04:11 PM. Reason: solution found

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: #VALUE! Error Using a Triple Nested SUBSTITUTE Formula, ERROR DUE TO EMPTY CELL(S)

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

  3. #3
    Registered User
    Join Date
    02-13-2021
    Location
    ottawa
    MS-Off Ver
    2017
    Posts
    10

    Re: #VALUE! Error Using a Triple Nested SUBSTITUTE Formula, ERROR DUE TO EMPTY CELL(S)

    Quote Originally Posted by Fluff13 View Post
    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    That worked, Thank you

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: #VALUE! Error Using a Triple Nested SUBSTITUTE Formula, ERROR DUE TO EMPTY CELL(S)

    You're welcome & thanks for the feedback.

+ 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. [SOLVED] Using macro to find first empty cell in column. If range is empty returns error.
    By A440 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-23-2019, 11:03 AM
  2. Show cell empty if result is an error due to empty source
    By jackmcguigan1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2016, 09:54 AM
  3. [SOLVED] Substitute Formula - Name Error
    By sl729 in forum Excel General
    Replies: 5
    Last Post: 07-21-2016, 11:46 AM
  4. Replies: 8
    Last Post: 05-14-2013, 12:36 AM
  5. [SOLVED] Error with Formula SUBSTITUTE
    By alexxgalaxy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2013, 10:16 AM
  6. Formula shows #value! error when source cell is empty
    By tstowe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2012, 10:22 AM
  7. Replies: 3
    Last Post: 03-24-2011, 11:02 AM

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