+ Reply to Thread
Results 1 to 4 of 4

Return value from 3 variable columns

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    8

    Return value from 3 variable columns

    First post, yay

    Tried searching for something similar but couldn't find it.

    I have a set of data where I got three columns where I got dates, now the problem is that the data varies it can be in Col A, B or C: if the date is written in Col A then B and C contains other data (text) and same rule applies for the other columns: if the date is in B, A and C will have other text.

    Now I dont need the text but i want the date collected in one single column. Any ideas what to do?

  2. #2
    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: Return value from 3 variable columns

    Perhaps..

    =IF(ISNUMBER(A1);A1;IF(ISNUMBER(B1);B1;IF(ISNUMBER(C1);C1;"")))
    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.

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Return value from 3 variable columns

    Quote Originally Posted by Fotis1991 View Post
    Perhaps..

    =IF(ISNUMBER(A1);A1;IF(ISNUMBER(B1);B1;IF(ISNUMBER(C1);C1;"")))
    Works like a charm. Thank you very much!

  4. #4
    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: Return value from 3 variable columns

    ...............

+ 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