+ Reply to Thread
Results 1 to 4 of 4

simple parsing of 2 cells

  1. #1
    Registered User
    Join Date
    07-22-2004
    Posts
    89

    simple parsing of 2 cells

    I have cell A1:
    it contains a formula
    sometimes its output is blank via a ""
    sometimes its output is not blank
    I want cell B1 to look at A1 and:
    IF output is blank, then to display the output of A2.
    If out is not blank, then display output of A1

    THANKS!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: simple parsing of 2 cells

    Try this in B1:

    =IF(A1="",A2,A1)

    Hope this helps.

    Pete

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: simple parsing of 2 cells

    =if(a1="",a2,a1) ??
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: simple parsing of 2 cells

    Enter this formula in B1:

    =IF(A1="",A2,A1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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