+ Reply to Thread
Results 1 to 7 of 7

IF cell empty return N/A, otherwise value as written in cell

  1. #1
    Registered User
    Join Date
    02-07-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    21

    IF cell empty return N/A, otherwise value as written in cell

    Trying to write a formula in a cell to check another cell.

    Goal

    Have cell A2 check value in A1

    IF A1 is empty, return "n/a" in A2 otherwise return the exact value in A1 to A2.

    Seemed easy enough, but nothing I've tried seems to work.

    Thanks,

    Keith

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: IF cell empty return N/A, otherwise value as written in cell

    In A2:

    =IF(A1="","N/A",A1)

    BSB

  3. #3
    Registered User
    Join Date
    02-07-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    21

    Re: IF cell empty return N/A, otherwise value as written in cell

    Thanks for that, and although close not working?

    That returns "n/a" if empty or filled??

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: IF cell empty return N/A, otherwise value as written in cell

    Have you got auto calculation turned off?

    Perhaps attach the workbook so we can see in context. It should work as the formula in plain English says "if A1 has no value show N/A, else show the content of A1"

    BSB

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,199

    Re: IF cell empty return N/A, otherwise value as written in cell

    What is in A1?

    If it is a formula, try

    =IF(A1=0,"N/A",A1)

  6. #6
    Registered User
    Join Date
    02-07-2021
    Location
    Virginia
    MS-Off Ver
    365
    Posts
    21

    Re: IF cell empty return N/A, otherwise value as written in cell

    Sorry, I was wrong and your formula was correct and works !!!

    I checked and I had a typo. Thank you !!

    Keith

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: IF cell empty return N/A, otherwise value as written in cell

    No problem. Happy to help

    BSB

+ 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: 3
    Last Post: 08-30-2020, 02:07 AM
  2. [SOLVED] Subtracting a 0 from a empty cell and wanting to return a empty cell
    By trekathlete in forum Excel General
    Replies: 5
    Last Post: 10-18-2019, 07:17 AM
  3. [SOLVED] Formula to not change the value in the cell, but for empty cell, return: `checked`
    By Sherran in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2019, 06:51 AM
  4. Replies: 7
    Last Post: 06-22-2016, 10:26 PM
  5. [SOLVED] date calculator to return empty cell if nothing in another cell
    By swfarm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2014, 07:27 AM
  6. [SOLVED] Return output from written results in different cell
    By jana135 in forum Excel General
    Replies: 6
    Last Post: 07-03-2012, 03:12 AM
  7. Return output from written results in different cell
    By jana135 in forum Excel General
    Replies: 1
    Last Post: 07-03-2012, 12:55 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