+ Reply to Thread
Results 1 to 6 of 6

Distribute numbers into buckets

  1. #1
    Registered User
    Join Date
    10-23-2015
    Location
    USA
    MS-Off Ver
    Windows MS office 2010
    Posts
    52

    Distribute numbers into buckets

    Hi everyone -

    can you please take a look at the file attached. You will see a column for store number and a column for distance in miles. I want to be able to distribute all the stores evenly into 6 or 7 buckets based on distance. I don't know what the bucket headers should be so that they are distributed evenly and I need a formula to link column F to see which bucket it should lie in. So for example, store#3009 should have "No's" in every bucket except for column K under "2-3" because 2.4 falls in that bucket. And then under the Bucket column in column E I need it to link a reference so it tells me under which bucket does it fall in .

    Please help i know there must be a quick formulas.

    Thank you so much
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-23-2015
    Location
    USA
    MS-Off Ver
    Windows MS office 2010
    Posts
    52

    Re: Quick Help Please - Distribute numbers into buckets

    Ideally - I would want a count of how many stores fall into each bucket please

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Quick Help Please - Distribute numbers into buckets

    Row\Col
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    2
    Store # Distance in Miles
    0
    1
    2
    3
    5
    10
    15
    50
    3
    3009
    2.4
    x
    I3: =IF(LOOKUP($F3, $I$2:$P$2) = I$2, "x", "")
    4
    3013
    3.3
    x
    5
    3016
    0.2
    x
    6
    3018
    0.6
    x
    7
    3021
    0.4
    x
    8
    3022
    17.6
    x
    9
    3027
    3.6
    x
    10
    3028
    5.0
    x
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Distribute numbers into buckets

    And then under the Bucket column in column E I need it to link a reference so it tells me under which bucket does it fall in .
    Piggybacking on shg's example put this in E3 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Row\Col
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    1
    0
    1
    2
    3
    5
    10
    15
    50
    2
    Store # Distance in Miles 0-1 1-2 2-3 3-5 5-10 10-15 15-50 50+
    3
    3009 2-3
    2.4
    X
    4
    3013 3-5
    3.3
    X
    5
    3016 0-1
    0.2
    X
    6
    3018 0-1
    0.6
    X
    7
    3021 0-1
    0.4
    X
    Dave

  5. #5
    Registered User
    Join Date
    10-23-2015
    Location
    USA
    MS-Off Ver
    Windows MS office 2010
    Posts
    52

    Re: Distribute numbers into buckets

    Hi guys,

    thank you for the prompt responses. Dave quick question - or if anyone can answer. Is there a count formula where I can count in Column E how many "2-3"s there are how many 3-5"s there are or or 0-1s there are?

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Distribute numbers into buckets

    Yes.

    In I1 of shg's example (new row 1 inserted) and filled across
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Row\Col
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    1
    1057
    155
    137
    271
    351
    119
    202
    53
    2
    0
    1
    2
    3
    5
    10
    15
    50
    3
    Store # Distance in Miles 0-1 1-2 2-3 3-5 5-10 10-15 15-50 50+
    4
    3009 2-3
    2.4
    X
    5
    3013 3-5
    3.3
    X
    6
    3016 0-1
    0.2
    X
    7
    3018 0-1
    0.6
    X
    8
    3021 0-1
    0.4
    X

+ 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. Distribute Numbers
    By shimaa01234 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-13-2014, 05:24 AM
  2. Distribute Whole Numbers Based on Percentages
    By Optimus21 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-03-2014, 07:00 AM
  3. Evenly Distribute Groups of Numbers?
    By BigBadBoy in forum Excel General
    Replies: 12
    Last Post: 01-14-2014, 08:29 PM
  4. Evenly distribute numbers
    By captain118 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2013, 01:27 AM
  5. Assign and distribute 1,2 or 3 to a range of numbers
    By etaf in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-23-2013, 11:57 AM
  6. Distribute dates by week numbers
    By excel90 in forum Excel General
    Replies: 4
    Last Post: 09-28-2010, 07:01 AM
  7. [SOLVED] Divide numbers and distribute evenly.
    By rhon101 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-16-2006, 09:50 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