+ Reply to Thread
Results 1 to 4 of 4

IF formula

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    21

    IF formula

    Hi there,

    Greetings from a sunny Dubai.

    Need some help as usual

    Column C has all flight nos e.g EK562, EK523, etc. Only where flight nos are not available, the data appears as NSR.
    Column N has all hotels e.g Hilton Dubai, Atlantis, etc. A few of these hotels have 'NSR' added to them e.h Hilton NSR.
    My current formula in O is like =IF(ISERROR(FIND("NSR",N2)),"false","true") which workds fine and returns a value of TRUE whenever a hotel is found with NSR.

    What I need?I need to change the formula in O to show value as FALSE if value in C is = NSR, irrespective of NSR being present or not in N.

    Current:C N O
    NSR Hilton NSR True

    Needed:C N O
    NSR Hilton NSR False

    Hope I have explained myself well above.

    Thanks in advance,
    SBF

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: IF formula

    Perhaps =IF(OR(C2="NSR",ISERROR(FIND("NSR",N2))),"false","true")

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: IF formula

    Take a bow Sir...
    Brilliant!!!!!
    Thanks!!!!!!!!!!!!

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: IF formula

    You're welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2009, 03:45 AM

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