+ Reply to Thread
Results 1 to 3 of 3

Nested IF Statement?

  1. #1
    Registered User
    Join Date
    10-06-2008
    Location
    Gulf of Mexico
    MS-Off Ver
    MS Office Pro 2003
    Posts
    16

    Nested IF Statement?

    I work on a sea going vessel and manage an Emergency Response document. My dilemma is automatically assigning a Muster location based upon data entered in a certain column.

    I'm having a problem figuring out this Nested IF Statement:

    Column J will either be blank (no entry), "Fire" or "HRC".

    If Column J is blank, column A needs to read "STBD".
    If column J has either "Fire" or "HRC" column A should read "PORT".

    See attached Excel file for an example with only 3 or 4 rows.

    Passing comment: This site is a God Send to those of us that need guidance from time to time. My sincere appreciation to the administrators and the people out in the world kind enough to help.
    Attached Files Attached Files
    Last edited by VBA Noob; 03-07-2009 at 03:37 PM.
    Bud Parker

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Nested IF Statement?

    =IF(OR(J3="fire",J3="HRC"),"PORT","STBD")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-06-2008
    Location
    Gulf of Mexico
    MS-Off Ver
    MS Office Pro 2003
    Posts
    16

    Re: Nested IF Statement?

    Martin,

    Thanks so much for your help. It works perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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