+ Reply to Thread
Results 1 to 5 of 5

Select only numbers in several columns cells

  1. #1
    Registered User
    Join Date
    05-26-2019
    Location
    srilanka
    MS-Off Ver
    2010
    Posts
    2

    Smile Select only numbers in several columns cells

    I have excell chart and want to filter only numbers of all columns. how can i do this.


    Capture 1.JPG

    Thanks
    sam

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Select only numbers in several columns cells

    Hi

    Suppose your data in A2: D12 (line one has headers)

    Use in E2 the following formula (copy down)
    =INDEX(--OR(A2:D2=$E$1),,)
    For example, set E1 as 22 and filter column E by 1
    All lines in which 22 does not appear will be hidden

    Alternatively
    Concatenate all the cells of a row with this formula to get the column E (copy down)
    =A2&"-"&B2&"-"&C2&"-"&D2&"-"
    You can now filter through column E under Text Filter in the search box.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-26-2019
    Location
    srilanka
    MS-Off Ver
    2010
    Posts
    2

    Re: Select only numbers in several columns cells

    Hi José Augusto

    Thanks for the attention on my issue, but i want to show all the numbers together. we can't write a formula for a specific number.
    there should not be any empty cells in a column.

    Thanks
    Sam

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Select only numbers in several columns cells

    Quote Originally Posted by sameeradissanayake View Post
    Hi José Augusto

    ... i want to show all the numbers together. ...
    Sam
    All numbers in one column?
    Try this in J2 and drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Select only numbers in several columns cells

    Or is this the result you are looking for?

    scrunch.png

    If so then the following macro will do it for you:

    Please Login or Register  to view this content.

+ 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. Select cells by the numbers which consist
    By Jose123456 in forum Excel General
    Replies: 3
    Last Post: 03-27-2017, 03:09 AM
  2. Select cells by the numbers which consist
    By Jose123456 in forum Excel General
    Replies: 1
    Last Post: 03-27-2017, 03:02 AM
  3. [SOLVED] VBA Select Multiple Columns Using Column Numbers
    By AstToTheRegionalMGR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2016, 05:56 PM
  4. [SOLVED] select cell with numbers in from range of cells containing words
    By will.girling in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2014, 10:09 AM
  5. [SOLVED] Select specific columns based on column numbers
    By sandiptemkar in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-08-2014, 10:44 AM
  6. select numbers in columns and display them in other lines
    By kuzna26 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-31-2013, 04:58 PM
  7. [SOLVED] How do I input numbers used to select cells in several columns
    By BC2233 in forum Excel General
    Replies: 3
    Last Post: 02-16-2006, 01:40 PM

Tags for this Thread

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