+ Reply to Thread
Results 1 to 29 of 29

Automatically Generating 'Tiers' after Input Range

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Automatically Generating 'Tiers' after Input Range

    I have to split the Variable range into tiers. I would like the Tiers to automatically generate based on the Peak and Base, which would be independently entered. Please help! Thank you!

    (Input)
    Peak Capacity 550
    Base Capacity 300

    (Output)
    5 Tiers would be:
    Tier 1 = 300 - 350
    Tier 2 = 351 - 400
    Tier 3 = 401 - 450
    Tier 4 = 451 - 500
    Tier 5 = 501 - 550
    Last edited by OilAndGasMan1984; 06-19-2016 at 07:32 PM.

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

    Re: Automatically Generating 'Tiers' after Input Range

    With a lookup table in columns D:E, data in column A and this formula in B2 and copied down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Row\Col
    A
    B
    C
    D
    E
    1
    Data
    300
    Tier 1
    2
    306
    Tier 1
    351
    Tier 2
    3
    408
    Tier 3
    401
    Tier 3
    4
    463
    Tier 4
    451
    Tier 4
    5
    432
    Tier 3
    501
    Tier 5
    6
    476
    Tier 4
    7
    391
    Tier 2
    8
    401
    Tier 3
    9
    359
    Tier 2
    10
    540
    Tier 5
    11
    326
    Tier 1
    12
    340
    Tier 1
    13
    517
    Tier 5
    14
    527
    Tier 5
    15
    507
    Tier 5
    16
    388
    Tier 2
    Dave

  3. #3
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Automatically Generating 'Tiers' after Input Range

    Not sure if this is what you wanted, but check out this file, it has formula to calculate Tier basing on your input including:

    B2: Base
    B3: Peak
    B4: Number of Tier

    C2:
    Please Login or Register  to view this content.
    To return Tier #

    D2:
    Please Login or Register  to view this content.
    The lowest of the 1st tier is always the base

    D3:
    Please Login or Register  to view this content.
    Simply the highest of the tier above plus 1. Drag down however long you want.

    E2:
    Please Login or Register  to view this content.
    First highest = (Peak - Base) / Number of tiers

    E3:
    Please Login or Register  to view this content.
    = Base of the Tier, plus the different of Peak & Base, divided by # of Tiers, and minus 1. Drag down however long you want.
    I simply use normal calculation to get these numbers.
    Attached Files Attached Files
    Last edited by Lemice; 06-20-2016 at 02:56 AM.
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

  4. #4
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Guys, I really appreciate all the help. Thank you.

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Hi Lem,

    As soon as I move the table, the outputs disappear, is there a way to stop this from happening?

    Thanks,
    Adam

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    @AdamLeeman

    You have to be more specific to get a decent answer.

    What did you do, cut and paste or copy and to what range?

    It probably has to do with the row() in the formula, which create 1, 2, 3 etc.

    If your new range is e.g. e25, e26 etc. the result of that formula will be 25, 26, 27 etc.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,713

    Re: Automatically Generating 'Tiers' after Input Range

    Removed by JT

  8. #8
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Thanks, Oeldere.

    I cut and pasted it, and moved it as well- all caused the data in cells to disappear. Is there a workaround by which I'm able to move the input cells ('number of tiers', 'base' and 'peak') independently without altering the output cells?

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,713

    Re: Automatically Generating 'Tiers' after Input Range

    If you are just moving the 3 input cells, then change the references to these cells(B2,B3 and B4 in the supplied formula) to those of your new range.

    So if you moved them to X2 to X4 then change B2 to X2 etc.

  10. #10
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    The Tier cells empty out once I move them.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    you get better help showing us the excel file, without confidential information.

  12. #12
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Not Sure why it won't attach to actual excel file... ! I've attached the image.

    Rows 1-7 came from Lemice (the file is in this thread) and I want to apply them to the model in rows 12-26.

    Cells B16, B17, and B18 will change.

    Thanks,
    Adam
    Attached Images Attached Images

  13. #13
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    I can't read the image, so I leave this to others, unless there comes an excel file.

    Having said that, I would solved it like the way in #2 of FlameRetired

  14. #14
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    If I could e-mail this to you, I would.. unfortunately the attached function is not working.
    Attached Images Attached Images

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    May I e-mail the excel file to you please?

    Thanks,
    Adam

    emailadres adam
    @AdamLeeman

    This is a public forum, so please use that, so please do not PM me.

    You get better help using all members, instead of just 1 member.

  16. #16
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Noted- thanks.

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    in #14 you showed the file, but not the formula, so I can't see if the formula you use is wrong.

    That is why we can't help you without seeing the excel file.

  18. #18
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    I hope this works...
    Attached Images Attached Images

  19. #19
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    I think the formula in c2 produces the correct result.

    What did you expect as result in c2?

  20. #20
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    I'm trying to move C2:E7 to A21:C26, but as soon as I move the cells, the data disappears. I don't know how to rework the formula.

  21. #21
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    There is an excel file that you can download in #3.

  22. #22
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    I'd also like to move B2 and B3 into B16 and B17, but I think this will not be an issue.

  23. #23
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    There is an excel file that you can download in #3.
    That is not your file, so there will not be your problem.


    I'd also like to move B2 and B3 into B16 and B17, but I think this will not be an issue.
    Try uploading your excel file.

  24. #24
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Did this work?
    Attached Files Attached Files

  25. #25
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    Yes that did work, but you don't have the moved data in cell A21:D26.

    So we can't see what is going wrong.

    So please post an excel file, with the errors in the file.

    Please also add manualy the expected result in your file.

  26. #26
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Following similar methodology of formulas found in cells C2:E7, I would like to format cells A21:C26 to output the same results as C2:E7
    Attached Files Attached Files

  27. #27
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    See the green cells in the attached file.

  28. #28
    Registered User
    Join Date
    12-17-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Automatically Generating 'Tiers' after Input Range

    Thank you very much, Oeldere!!

  29. #29
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Automatically Generating 'Tiers' after Input Range

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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. Generating Reports Automatically
    By jewatson88 in forum Excel General
    Replies: 10
    Last Post: 12-23-2016, 12:50 PM
  2. Generating Reports Automatically
    By jewatson88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2012, 02:09 AM
  3. Excel 2007 : Generating Reports Automatically
    By jewatson88 in forum Excel General
    Replies: 1
    Last Post: 04-06-2012, 03:41 PM
  4. Generating Reports Automatically
    By jewatson88 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2012, 03:40 PM
  5. [SOLVED] Automatically Input Range of Numbers and Return Output
    By wonderfulle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2010, 05:02 PM
  6. Generating graphs automatically
    By IrfanB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2007, 04:51 PM
  7. Generating dynamic charts based on the user input
    By shivan4u in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-13-2006, 08:43 AM
  8. Generating Calender Automatically
    By Mei in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-29-2005, 11:42 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