+ Reply to Thread
Results 1 to 8 of 8

How to place a value in one cell after determining if a string of cells contain a number?

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    7

    How to place a value in one cell after determining if a string of cells contain a number?

    I have a formula in Q3, R3, S3, and T3 that delets the text from Q2 through T2 respectively thus leaving only the nubmbers that found in those cells. Now I need to place a text descriptor in A3 that identifies if any of the cells Q3 through T3 contain numbers. I tried using a helper cell of ifblank, but it sees the formulas in those cells. Any ideas?
    Last edited by vnetmanager; 01-25-2013 at 02:42 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    Try in A3:
    =OR(ISNUMBER(Q3:T3))
    returns TRUE if number found, FALSE if not
    Quang PT

  3. #3
    Registered User
    Join Date
    01-25-2013
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    It always gives False. I think because of the formulas in Q3:T3.

  4. #4
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    Hi vnet,

    I think bebo's formula is an array-formula... so it requires an array-enter... instead of just ENTER, you must use CTRL-SHIFT-ENTER...

    Also, make sure your numbers are not text... you can simply surround your formula with a TEXT formula... =TEXT(formula,"#")

    Hope that helps... sorry for stepping on your toes, bebo... nice formula, by the way...

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    bebo021999 omitted

    Its an Array formula
    Use Ctrl-Shift Enter
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  6. #6
    Registered User
    Join Date
    01-25-2013
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    Q2 is ='Raw Data'!Q2 with an output of ADL 16 34567
    Q3 is =TEXT(REPLACE(R2,SEARCH("ADL 16",Q2),6,""),"#") with an output of 34567
    U3 is {=OR(ISNUMBER(Q3))} with an output of FALSE

    What have I messed up here?

  7. #7
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    My mistake...

    Don't use TEXT... I meant VALUE (sorry brain fart)

    So for Q3 =VALUE(REPLACE(R2,SEARCH("ADL 16",Q2),6,""))

  8. #8
    Registered User
    Join Date
    01-25-2013
    Location
    Kansas City, Missouri
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to place a value in one cell after determining if a string of cells contain a numb

    Your last thread, along with formatting the cells as a number, did the trick.
    Thanks to all.

+ 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