+ Reply to Thread
Results 1 to 7 of 7

IF cell range B2:M2 equals X then equal same as cell B1

  1. #1
    Registered User
    Join Date
    10-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2011
    Posts
    3

    Smile IF cell range B2:M2 equals X then equal same as cell B1

    Hi. I need a formula for the following please:

    IF cell range B2:M1 equal "First", then equal cell B1, leave blank if false.

    Thanks!
    TSUL5693
    Last edited by tsul5693; 10-13-2013 at 10:19 PM. Reason: Change title

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,967

    Re: IF formula required - urgent!

    Hi and welcome to the forum

    1st, I would request that you change your thread title to something that describes your problem, not what you think you need.
    To change a Title on your post, click EDIT on you're 1st post, then Go Advanced and change your title

    2nd. I think you have something wrong with eth range you posted...B2:M1??
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: IF formula required - urgent!

    Sorry,

    Range is B2:M2...

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    24,033

    Re: IF cell range B2:B10 equals X then equal same as cell B1

    Would you clarify please. You want to return the value in B1 if any cell in the range B2:M! includes the word "First". If this is what you intend then you will no doubt get a circular error as B1 is part of that range.

    Edit: simultaneous posting
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    10-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2011
    Posts
    3

    Re: IF cell range B2:B10 equals X then equal same as cell B1

    I need for the formulated to cell to equal the value of cell B1 if the word "first" can be found in range B2:M2

    ???

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF cell range B2:M2 equals X then equal same as cell B1

    Try

    =IF(COUNTIF(B2:M2,"first"),B1,"")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,967

    Re: IF cell range B2:M2 equals X then equal same as cell B1

    is "first" the only word that will be in the cell, or is it part of a string within a cell?

+ 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. macro to create node connected with each other
    By gaurav.s in forum Excel General
    Replies: 1
    Last Post: 05-23-2013, 10:09 AM
  2. Help required: Urgent!!!
    By jkarthi22 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2011, 02:00 AM
  3. Urgent help required.
    By fatalcore in forum Excel General
    Replies: 1
    Last Post: 03-06-2011, 03:16 AM
  4. Urgent help required!!!
    By pippam in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2008, 07:26 AM
  5. urgent help required
    By preeti.baranwal in forum Excel General
    Replies: 4
    Last Post: 07-12-2007, 04:38 PM

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