+ Reply to Thread
Results 1 to 7 of 7

How to replace blank cells with N/A

  1. #1
    Registered User
    Join Date
    01-26-2006
    Posts
    14

    How to replace blank cells with N/A

    Hi All

    So I have a report which contains rows of blank cells in between rows that have data. However, in between some of the cells on the rows that has data are also blank cells. I would ideally like to remove ONLY the blank rows and replace any cells that are blank on the rows with data with N/A.

    At the moment I am currently highlighing all the blank rows I do this through - GO TO - Special and clicking on the blanks to highlight them) Once the blank rows are highlighted, I paint them a colour and then go through the spread sheet looking for cells that are blank on the rows that have data and manually enter N/A in these.

    Once I put N/A in any cells on rows that have data I then delete all the blank rows.

    Does anyone have any quick way of entering N/A in one quick go and then allowing me to just delete all the blank rows?

    Hope this makes sense and thanks in advance for reading this post and for any help

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to replace blank cells with N/A

    You will need a Macro.

    Insert a formula in an empty column to Flag all empty rows.

    Select All your flagged Rows and Delete them.

    Select All Blank Cells

    Replace the blanks with #NA



    Please Login or Register  to view this content.
    Last edited by mehmetcik; 02-21-2020 at 09:07 AM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-21-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    8

    Re: How to replace blank cells with N/A

    You can delete the blank rows firts.

    Then Go to Special > Select Blanks > Click ok

    Once the blank cells are selected. Enter N/A without selecting any cell and Press Ctrl + Enter.

    All the blank cells will be replaced with N/A.

  4. #4
    Registered User
    Join Date
    01-26-2006
    Posts
    14

    Re: How to replace blank cells with N/A

    Thanks for your help guys - unfortunately as you can see from the attachment. I am able to select Go to Special > Select Blanks > Click ok and then i highlight the blank cells with a different coour. However as you can see from column F row 458 I also have a blank cell which I want to keep and put N/A into..... If I delete all blanks this deletes too.....


    Test A Test A Test A Test A Test A Test A Test A Test A N/A N/A N/A N/A N/A N/A N/A








    Test A Test A Test A Test A Test A Test A Test A Test A 48 15 2 N/A 13 219 398 N/A

  5. #5
    Registered User
    Join Date
    01-26-2006
    Posts
    14

    Re: How to replace blank cells with N/A

    Thanks for your help guys - unfortunately as you can see from the attachment. I am able to select Go to Special > Select Blanks > Click ok and then i highlight the blank cells with a different coour. However as you can see from column F row 458 I also have a blank cell which I want to keep and put N/A into..... If I delete all blanks this deletes too.....
    Attached Images Attached Images

  6. #6
    Registered User
    Join Date
    02-21-2020
    Location
    India
    MS-Off Ver
    2016
    Posts
    8

    Re: How to replace blank cells with N/A

    Delete blank Rows not columns.

  7. #7
    Registered User
    Join Date
    01-26-2006
    Posts
    14

    Re: How to replace blank cells with N/A

    I tried that but everything is still deleting

+ 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: 07-08-2017, 04:07 AM
  2. [SOLVED] how to replace blank cells with
    By sumesh56 in forum Excel General
    Replies: 3
    Last Post: 10-15-2014, 12:37 PM
  3. [SOLVED] Replace blank cells with ZERO using Find Replace
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-25-2014, 04:47 PM
  4. Replace all blank cells by Zero or N.A
    By nihitsk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2011, 02:54 AM
  5. [SOLVED] Replace blank cells with NONE
    By TimT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2006, 06:10 PM
  6. Replace cells with blank
    By diggers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2005, 08:30 PM
  7. RE: Replace cells with blank
    By Elkar in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-16-2005, 06:25 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