Results 1 to 4 of 4

Thread: Combining Functions To Create Array Formula

  1. #1
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0

    Combining Functions To Create Array Formula

    Hello.
    Good Day!
    Just want to know how to combine array formula.
    This are my formulas:
    1.
    Code:
    =LEFT(A1,4) & (RIGHT(A1,4))
    this formula will get only the first 3 string and last 4 string.
    EX.
    DATA DATA EXTRACTED

    JAN 1-15-2010 JAN 2010
    JAN 1-15-2010 JAN 2010
    FEB 1-15,2010 FEB 2010
    FEB 1-15,2010 FEB 2010
    FEB 1-15,2010 FEB 2010
    MAR 16-31-2010 MAR 2010
    MAR 16-31-2010 MAR 2010
    APR 1-15-2010 APR 2010
    APR 1-15-2010 APR 2010
    APR 1-15-2010 APR 2010
    APR 1-15-2010 APR 2010
    APR 1-15-2010 APR 2010
    APR 1-15-2010 APR 2010

    2. Second Formula:
    Code:
    {=IFERROR(INDEX($A$2:$A$118,MATCH(0,COUNTIF($AE$1:AE25, $AE$2:$AE$118),0)),"") & LEFT(A23,4) & (RIGHT(A23,4))}
    I WANT TO COMBINE THIS FORMULAS SO THAT I CAN DISPLAY FIRST 3 AND LAST STRING OF THE UNIQUE VALUES .

    Here is the sample:

    Data Display unique values (first 3 and last 4 string)

    JAN 1-15-2010 JAN 2010
    JAN 1-15-2010 FEB 2010
    FEB 1-15,2010 MAR 2010
    FEB 1-15,2010 APR 2010
    FEB 1-15,2010
    MAR 16-31-2010
    MAR 16-31-2010
    APR 1-15-2010
    APR 1-15-2010
    APR 1-15-2010
    APR 1-15-2010
    APR 1-15-2010
    APR 1-15-2010

    Thanks in advance.
    Last edited by Ryan_Bernal; 01-07-2013 at 11:48 AM.

  2. #2
    Member Rajan_Verma's Avatar
    Join Date
    Sep 2011
    Posts
    81
    Rep Power
    13
    if i understand this correctly , you want to have First and Last 4 Characters or Unique value,
    see if it works

    =Left(IFERROR(INDEX($A$2:$A$118,MATCH(0,COUNTIF($A E$1:AE25, $AE$2:$AE$118),0)),""),4) & right(IFERROR(INDEX($A$2:$A$118,MATCH(0,COUNTIF($A E$1:AE25, $AE$2:$AE$118),0)),""),4)

  3. #3
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi

    Assume your data in A2:A14,

    In B2 and copied down,

    =IFERROR(INDEX(LEFT($A$2:$A$14,4)&RIGHT($A$2:$A$14 ,4),MATCH(0,COUNTIF(B$1:B1,LEFT($A$2:$A$14,4)&RIGH T($A$2:$A$14,4)),0)),"")

    Array entered.
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

  4. #4
    Member Ryan_Bernal's Avatar
    Join Date
    Dec 2012
    Posts
    37
    Rep Power
    0
    Quote Originally Posted by Admin View Post
    Hi

    Assume your data in A2:A14,

    In B2 and copied down,

    =IFERROR(INDEX(LEFT($A$2:$A$14,4)&RIGHT($A$2:$A$14 ,4),MATCH(0,COUNTIF(B$1:B1,LEFT($A$2:$A$14,4)&RIGH T($A$2:$A$14,4)),0)),"")

    Array entered.
    Thanks ADMIN. Works perfectly.
    Thank you also Rajan_Verma, unfortunately, your formula doesn't work for me.

Similar Threads

  1. Create A Dynamic Border Using Excel Native Formula
    By mahmoud-lee in forum Excel Help
    Replies: 4
    Last Post: 06-02-2013, 06:07 AM
  2. Replies: 1
    Last Post: 05-19-2013, 02:37 PM
  3. Replies: 16
    Last Post: 04-19-2013, 08:20 PM
  4. Combining data of Two Array or Range
    By princ_wns in forum Excel Help
    Replies: 5
    Last Post: 10-01-2012, 06:52 PM
  5. Replies: 3
    Last Post: 04-08-2012, 09:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •