+ Reply to Thread
Results 1 to 3 of 3

If Then Formula

  1. #1
    Registered User
    Join Date
    01-02-2007
    Posts
    1

    Exclamation If Then Formula

    HEY GUYS THANK YOU IN ADVANCED FOR THE HELP…

    I GUESS MY QUESTION IS HOW DO I MAKE A IF THEN STATEMENT THAT RETURES A WORD..

    EX.. IN A1 I WOULD INPUT THE DAY (SAT) IN B1 ITS PRESET TO HAVE THE PERSONS NAME (DOE/JOHN) IN B2 IT ALSO PRESET WITH THE PERSONS CORROSPODAING DAYS OFF (SAT/SUN) HOW DO I RETURN THE WORD (OFF) IN C2 IF A1 IS TRUE.
    THEN LOOP IT FOR THE REST OF THE PAGE

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    In C2 enter if formula

    =IF(A1="Sat","Off","")

    The "Sat" can be replaced by anything that you want to test for in A1

    "Off" can be replaced by any word you like

    "" will display nothing

    Any words or sentance must be inclodes by " at the start & end.

    To fill for other rows hust copy c1 and autofill down or copy and paste into required rows. I assume you know how to copy & paste

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Hi
    try this

    =IF(OR(A1="Sat",A1="Sun"),"Off","")

    if A1 contains either Sat or Sun result will be Off, otherwise cell will remain blank.

    Regards.

+ 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