+ Reply to Thread
Results 1 to 4 of 4

Blank if statements

Hybrid View

  1. #1
    Registered User
    Join Date
    10-05-2006
    Posts
    34

    Smile Blank if statements

    How do you write an if statement that will run if the cell is not blank.


    if cell a3 is not blank or contains (letters) then divide by 3 if it is blank divide by 2

    thank you !!

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    =IF(cell="",true,false)

  3. #3
    Registered User
    Join Date
    09-03-2003
    Location
    UK
    Posts
    95
    =if(a3<>"",a3/3,a3/2)

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by cjohnsen
    How do you write an if statement that will run if the cell is not blank.


    if cell a3 is not blank or contains (letters) then divide by 3 if it is blank divide by 2

    thank you !!
    Can you expain exactly what you need to do, only if A3 contains letters you will get an error if you divide by 3, also if it's blank, whats the point in dividing it by 2?
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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