+ Reply to Thread
Results 1 to 5 of 5

Multiple If statement not workign

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Multiple If statement not workign

    HI-

    I am trying to create an if statement where if the name in cell b72 = the name I want, then I want it to return a different version of that name, if not, then just return the name in b72. When I put below statement in I receive a #NAME?

    Please Login or Register  to view this content.
    Thanks

  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: Multiple If statement not workign

    you need to put text in ""
    =IF(B72="Merrill-CW14 MSCI Daily TR", "Merrill Lynch Intl + CO", IF(B72<>"Merrill-CW14 MSCI Daily TR", B72))
    mind you you don't need the second if
    =IF(B72="Merrill-CW14 MSCI Daily TR", "Merrill Lynch Intl + CO", B72)
    Last edited by martindwilson; 03-26-2014 at 09:51 AM.
    "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
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple If statement not workign

    You need quotes around the text strings

    I would guess like this

    =IF(B72="Merrill-CW14 MSCI Daily TR", "Merrill Lynch Intl + CO",B72)

  4. #4
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Multiple If statement not workign

    Thanks, those worked.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiple If statement not workign

    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. Need help with multiple IF/AND statement
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2013, 02:15 AM
  2. [SOLVED] If statement that will look among multiple criteria and generate a statement
    By liz5818 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-01-2013, 04:12 PM
  3. [SOLVED] Multiple Ifs - Then Statement
    By kimberlyre2000 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2012, 07:02 PM
  4. Multiple if statement
    By Jabj in forum Excel General
    Replies: 7
    Last Post: 10-10-2011, 05:00 AM
  5. IF statement using multiple variables to give multiple outcomes
    By stujordan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2009, 06:46 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