+ Reply to Thread
Results 1 to 6 of 6

Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

  1. #1
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    I have 4 cols, x rows.
    I need Column C to check Column B for a numerical value, and if true, return the value in B, and if not true, then return value from A.

    Column B are functions formatted as general. The reference made by Sheet2!B is numbers formatted as text as to retain leading zeros.

    Here is what I have so far

    =IF(ISBLANK($B10),$A10,$B10)



    Please Login or Register  to view this content.


    Thanks in advance guys.
    Last edited by giallofever; 03-24-2009 at 02:22 PM. Reason: SOLVED

  2. #2
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Re: Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    How about =IF(ISERROR(VALUE(B1)),A1,VALUE(B1)) ?

  3. #3
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Re: Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    Works perfectly, thank you. One problem though. the result does not retain the leading "0"s from the adjacent cell.

    Example (B = 0011644399023 while the new value in C is 11644399023.)

    I want it to be exactly the same with out having to add something like &"00"&

    When I try to format it as text, it shows the functions rather than result.

  4. #4
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295

    Re: Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    I see...so:
    =IF(ISERROR(VALUE(B1)),A1,B1)
    should keep whatever is in B1 intact

  5. #5
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Re: Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    Correct. The numbers are SKUs for products.

    Thanks.

  6. #6
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Re: Check cell for data. Tried ISREF, ISBLANK, ISNUMBER, ISTEXT.

    Thanks Mikeopolo

    Problem SOLVED

    =IF(ISERROR(VALUE($B10)),$A10,$B10)

    Thanks.

+ 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