+ Reply to Thread
Results 1 to 11 of 11

Selecting specific data range

  1. #1
    Registered User
    Join Date
    10-24-2018
    Location
    Latvia
    MS-Off Ver
    Microsoft Office 365
    Posts
    5

    Selecting specific data range

    Hello, Excel gurus!

    I have a problem:

    I have a long list of data (about 150 rows in one column, ultimate strenght values for test specimens, so all cells contain numbers) and I need to select specific range of cells: I need ONLY the cells that contain the values between 10 and 40% of the values. To clarify: if the cell with the lowest value is 0% and the highest is 100%, I need to select and show only the cells that contain values that are from 10% to 40%. Any ideas on how to do that?

    Tried searching multiple forums and found nothing, I hope I am stating the problem clear enough (not a native english speaker) for you, guys to understand. Murpy's law states that I've probably missed the answer, so if the answer is obvious I am sorry for taking your time.

    Thanks and take care!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,374

    Re: Selecting specific data range

    Welcome to the forum!

    Yes, it's pretty clear, but it would be easier to help if you provided some sample data, please.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-24-2018
    Location
    Latvia
    MS-Off Ver
    Microsoft Office 365
    Posts
    5

    Re: Selecting specific data range

    Okay, I hope I attached the file succesfully and the problem is clearer (:
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,374

    Re: Selecting specific data range

    Please read point 2 in post #2 (in bold!), adapt your sample workbook and post again. Thanks!

  5. #5
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    536

    Re: Selecting specific data range

    @ ErnestGroeber, it did not clear everything to the end, as @AliGW wrote, but check my formula.
    Please Login or Register  to view this content.
    Regards.

  6. #6
    Registered User
    Join Date
    10-24-2018
    Location
    Latvia
    MS-Off Ver
    Microsoft Office 365
    Posts
    5

    Re: Selecting specific data range

    Sorry!

    I changed the file a bit. Another thing is, that in case I don't have a value that is EXACTLY on that 10% mark (in my new file that would be 10), I should take the next highest available value. Same goes for the highest value of 40%.

    Thank you!
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    536

    Re: Selecting specific data range

    Try formula
    Please Login or Register  to view this content.
    Regards.

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Selecting specific data range

    Please try at H4 and drag down

    =IFERROR(AGGREGATE(15,6,$B$3:$B$199/($B$3:$B$199>$D$3*0.1)/($B$3:$B$199<$D$3*0.4)/($B$3:$B$199>MAX(H$3:H3)),1),"")

  9. #9
    Registered User
    Join Date
    10-24-2018
    Location
    Latvia
    MS-Off Ver
    Microsoft Office 365
    Posts
    5

    Re: Selecting specific data range

    Cursed commas and semicolons :D

    Changed them accordingly and it seems to be working (: I'll check this with other data and see, what happens.
    Thank you, very much!

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,374

    Re: Selecting specific data range

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  11. #11
    Registered User
    Join Date
    10-24-2018
    Location
    Latvia
    MS-Off Ver
    Microsoft Office 365
    Posts
    5

    Re: Selecting specific data range

    Yep, now it looks like it's working with different data as well, so now I can do that.

    Thank you both, you have been very kind!

+ 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. [SOLVED] Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 02:20 AM
  2. Selecting all data in specific columns without selecting adjacent column.
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2014, 03:50 PM
  3. [SOLVED] Selecting times outside a specific range
    By jmcintyre005 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-21-2012, 12:32 PM
  4. Replies: 7
    Last Post: 08-25-2012, 01:25 PM
  5. Selecting Data from a specific date range
    By drakk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-25-2012, 04:30 AM
  6. Selecting a specific range
    By Tommy in forum Excel General
    Replies: 4
    Last Post: 12-28-2009, 03:58 PM
  7. Selecting specific value within a range
    By Rennier in forum Excel General
    Replies: 6
    Last Post: 11-13-2008, 02:33 PM
  8. Selecting specific cell if score falls within specific range
    By Rennier in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-12-2008, 02:22 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