+ Reply to Thread
Results 1 to 3 of 3

fill a cell with blank spaces using excel formula

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2003
    Posts
    1

    fill a cell with blank spaces using excel formula

    Dear All,

    I need to clear a value in a cell(what ever may be the value) based on a condition in another cell and set it to blank.
    Ex: If cell A is blank and then i need make cell B also blank, if cell A has some value then i should not disturb B
    I need to do this using formula.
    I have tried the below, but no use,
    IF(AA1="",REPLACE(Y1,1,10,""))

    Any ideas gurus?

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: fill a cell with blank spaces using excel formula

    Hi Lakshmi,

    welcome to the forum.
    Is there any formula in cell B?

    If not and cell B has some value, then the only solution here is macro (vba).. check and confirm. thanks.



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: fill a cell with blank spaces using excel formula

    perhaps...
    =if(a1="","",Y1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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