+ Reply to Thread
Results 1 to 8 of 8

Create a list of uppercase data from a range excluding blanks and errors

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Create a list of uppercase data from a range excluding blanks and errors

    I have a list generator that creates a set of data in a multi-column & row dataset. I would like a formula to create a list of the alpha data points only which excludes blanks and any errors.

    Example:

    AA DD
    #N/A
    BB 23 EE FF
    #N/A
    #N/A 12 GG
    CC


    Results:

    AA
    BB
    CC
    DD
    EE
    FF
    GG


    Thanks,

    PAexcel
    Last edited by PAexcel; 05-08-2014 at 11:41 AM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Is your data means Alpha values are always two character and Are they arranged with same character like AA,BB,CC or like AB, AC, AD, AF and so on.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Sorry I tried to break out the columns, but the forum formatting was not kind in displaying. It would be like AA, BB, CC, and so on to GG. Let me copy the data again and I will use dashes to indicate the break between columns.

    Example:

    AA - DD
    #N/A
    BB - 23 - EE - FF
    #N/A
    #N/A - 12 - GG
    CC


    Results:

    AA
    BB
    CC
    DD
    EE
    FF
    GG

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Hi,

    Why do you specify "upper case" in your title? Are there also some lower case entries which you haven't given examples of and which are not to be returned?

    Regards
    Click * below if this answer helped

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

  5. #5
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Yes, there maybe lower cases mixed in. My example does not show it. I should have made one mixed letters. See corrected example below. Thanks

    AA - DD
    #N/A
    BB - 23 - Ea - FF
    #N/A
    #N/A - 12 - GG
    CC


    Results:

    AA
    BB
    CC
    DD
    FF
    GG

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Hi,

    Assuming the data you give it is in A1:D6, go to Name Manager and create the following new names:

    Name: Arry1
    Refers to: =ROW(INDIRECT("1:"&SUM(IF(1-ISNA($A$1:$D$6),IF(1-ISNUMBER($A$1:$D$6),IF($A$1:$D$6<>"",IF(EXACT(UPPER($A$1:$D$6),$A$1:$D$6),1)))))))

    Name: Arry2
    Refers to: =T(INDIRECT(IF(1,TEXT(SMALL(IF(1-ISNA($A$1:$D$6),IF(1-ISNUMBER($A$1:$D$6),IF($A$1:$D$6<>"",IF(EXACT(UPPER($A$1:$D$6),$A$1:$D$6),10^3*ROW($A$1:$D$6)+COLUMN($A$1:$D$6))))),Arry1),"R000C000")),0))

    (When you paste these names in, double-check that they are exactly as they appear here.)

    Exit Name Manager.

    Enter this array formula** in your first cell of choice:

    =IFERROR(INDEX(Arry2,MATCH(SMALL(MMULT(0+(Arry2>TRANSPOSE(Arry2)),Arry1^0),ROWS($1:1)),MMULT(0+(Arry2>TRANSPOSE(Arry2)),Arry1^0),0)),"")

    Copy down until you start to get blanks.

    Regards


    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

  7. #7
    Registered User
    Join Date
    01-21-2014
    Location
    PA
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Create a list of uppercase data from a range excluding blanks and errors

    Thanks XOR LX

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Create a list of uppercase data from a range excluding blanks and errors

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I'm trying to create a list of errors from raw data based on a master list
    By aperring in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2014, 10:47 AM
  2. Extract data from a horizontal range with blanks and create a vertical list
    By dommcg in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-07-2013, 10:41 AM
  3. Transposing column range to row while excluding blanks
    By jkhereford in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2012, 12:33 PM
  4. [SOLVED] Define a range while excluding blanks
    By cowboy713 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2012, 05:47 PM
  5. Linking List While Excluding Blanks
    By hgb in forum Excel General
    Replies: 5
    Last Post: 04-26-2011, 03:11 PM

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