+ Reply to Thread
Results 1 to 4 of 4

Formula to replace certain text with a zero

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    Manchester, England
    MS-Off Ver
    MS 365 Enterprise
    Posts
    73

    Formula to replace certain text with a zero

    I have numerous feed sheets going into my main front sheet, when there is no value the data pulls through as 'No Data'.

    Instead of showing 'No Data', I just want it to show as a zero on front sheet?

    Any help would be greatly appreciated.

    Regards
    Tom

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

    Re: Formula to replace certain text with a zero

    OK - so on the scant information given, and assuming you are using a formula, where it says "No Data" in the formula, change it to 0.

    If this is not what you need, then please give (much!) more details. Thanks.
    Last edited by AliGW; 12-31-2018 at 08:54 AM. Reason: Updated with amended solution.
    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 Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to replace certain text with a zero

    Are you referring to a formula which results as "No Data"?

    If your front sheet contains a link to the cell(s) with "No Data" then try something like

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


    Or alternatively
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,000

    Re: Formula to replace certain text with a zero

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please don't attach a picture of an Excel sheet (no-one will want to re-type all your stuff before starting).

    1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

    2. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    3. Make sure that your desired solution is also shown (mock up the results manually).

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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: 01-20-2018, 09:59 AM
  2. [SOLVED] VBA replace text command to replace a formula with text
    By MikeSta4ord in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-04-2015, 01:08 PM
  3. Replace Text in A Formula with the text in a cell
    By Hadoushi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2015, 09:21 AM
  4. Search and Replace Text with a formula and adjacent cell with a formula
    By 1p3261 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2015, 12:14 PM
  5. Replies: 3
    Last Post: 03-04-2014, 01:47 PM
  6. [SOLVED] Find & Replace Formula for Locating Short Text within Larger Text
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2014, 05:04 PM
  7. [SOLVED] Find & Replace Formula for Locating Short Text within Larger Text
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2014, 08:47 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