+ Reply to Thread
Results 1 to 6 of 6

how to group numbers together

  1. #1
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156

    how to group numbers together

    Hi there

    If i have 1000 row with one column "H" that is no of days number.

    How can i do a grouping using function.

    For e.g
    0-3.99 ,
    4.0 to 8.99,
    9.0 to 12.99 days and so on....

    thanks

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

    Re: how to group numbers together

    What exactly do you mean?

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156

    Re: how to group numbers together

    Hi

    Apolgoise, pls see the sample excel
    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 (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,401

    Re: how to group numbers together

    See point #2 of post #2. Add a few results manually to show what you want and then post the file again.

  5. #5
    Forum Contributor
    Join Date
    01-17-2008
    Posts
    156

    Re: how to group numbers together

    Hi

    mock results updated in the excel file.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,803

    Re: how to group numbers together

    I'm still not sure exactly what you are trying to do, but it looks to me like a basic lookup type function with a binary search/approximate match option. VLOOKUP() help file: https://support.office.com/en-us/art...8-93a18ad188a1 pay particular attention to the behavior described when the 4th argument is set to TRUE. Unfortunately, the vast majority of examples on the net (including all of the examples in the help file) are for 4th argument=FALSE -- exact match. Along the way to building this tutorial (https://www.excelforum.com/tips-and-...p-example.html ), I included an example of using VLOOKUP(...,TRUE) to show how it defines "ranges" of numbers (you can see that my ranges are 0-0.1, 0.1-0.2, 0.2-0.3,...). You should be able to do something very similar here.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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] Macro to generate groups randomly of 20 numbers, being 10 of group A and 10 of group B,
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-14-2017, 08:02 AM
  2. [SOLVED] Identifing Certian Numbers within a group of numbers
    By Izzy69 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-09-2015, 10:57 PM
  3. [SOLVED] filter long numbers with only exact group of numbers
    By Zentiva in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2013, 06:08 AM
  4. [SOLVED] Search Group of Numbers in Cel Rangel and Highligh matched numbers.
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2013, 01:07 AM
  5. Program to randomly selecting numbers from a group of numbers
    By flexalong in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2008, 04:22 AM
  6. How can I convert a group of numbers to a group of letters?
    By CarlG in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-18-2006, 10:35 AM
  7. Replies: 1
    Last Post: 01-09-2006, 09:30 AM

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