+ Reply to Thread
Results 1 to 3 of 3

Is there a formula if I want 'If blank = 0, if anything entered = 1'

  1. #1
    Registered User
    Join Date
    01-20-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    6

    Is there a formula if I want 'If blank = 0, if anything entered = 1'

    Hi All,

    Wondering if you can help with a fairly basic formula question.

    I'd like a formula that returns a result of '0' if there is nothing typed in the selected cell, and to return '1 if there is anything. Hoping you can help.

    Thanks,
    Nic

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Is there a formula if I want 'If blank = 0, if anything entered = 1'

    =if(a1="",0,1)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    01-20-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Is there a formula if I want 'If blank = 0, if anything entered = 1'

    Thanks so much Ace_XL...worked a treat!

+ 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