+ Reply to Thread
Results 1 to 4 of 4

How do i constrcut an if then else statement? with the enclosed

  1. #1
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    282

    How do i constrcut an if then else statement? with the enclosed

    I have a cell which gives me the correct result if i enter a 1 or 2, however i cant get it to be blank if the cell is empty or zero.

    I think it is an if statement but i cant seem to get it to work.

    Can anyone advise please?

    Thank you
    Attached Files Attached Files
    Last edited by gjjh25; 11-24-2011 at 07:14 AM.

  2. #2
    Registered User
    Join Date
    11-09-2011
    Location
    Karlstad, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: How do i constrcut an if then else statement? with the enclosed

    I think you in U6 should write =if(s6=0;" "; N6&" "&P6&" "&Q6&" "&T6)

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: How do i constrcut an if then else statement? with the enclosed

    maybe

    =IF(S6=0,"",N6&" "&P6&" "&Q6&" "&T6)

  4. #4
    Forum Contributor
    Join Date
    09-06-2011
    Location
    manchester england
    MS-Off Ver
    Office 365
    Posts
    282

    Re: How do i constrcut an if then else statement? with the enclosed

    Thank you both that has worked

+ 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