+ Reply to Thread
Results 1 to 10 of 10

Help with Formula for Scaling Calculation

  1. #1
    Registered User
    Join Date
    05-08-2019
    Location
    Sydney
    MS-Off Ver
    365
    Posts
    5

    Help with Formula for Scaling Calculation

    Could someone please assist with the following:


    • Sheet1 contains a number of different scales (Scale1, Scale2, Scale3...) that are numeric or alphanumeric.
    • The main scale has values 0 to 100. All scales are as rows.
    • Sheet 2 contains a drop down to show all the available scales from sheet 1
    • If a user selects a scale from the drop down (e.g., Scale2) and enters a value, then the corresponding value from the main scale should be displayed.
    • A value on Scale2 can correspond to multiple values on the main scale.
    • The formula should display the highest corresponding value from the main scale.
    • Example:


    Scale 2 Values are: A1, A1, A1, A1, A2, A2... Main Scale Values 100, 99, 98, 97, 96, 95. So A1 can equal 100, 99, 98 or 97. Only 100 (the highest value) should be displayed.



    Help is greatly appreciated.



    Thanks in advance.
    Last edited by AliGW; 05-08-2019 at 03:57 AM.

  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
    80,777

    Re: Help with Formula for Scaling Calculation

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I have done it for you this time.)
    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 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
    80,777

    Re: Help with Formula for Scaling Calculation

    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.

  4. #4
    Registered User
    Join Date
    05-08-2019
    Location
    Sydney
    MS-Off Ver
    365
    Posts
    5

    Re: Help with Formula for Scaling Calculation

    Thank you, Ms

  5. #5
    Registered User
    Join Date
    05-08-2019
    Location
    Sydney
    MS-Off Ver
    365
    Posts
    5

    Re: Help with Formula for Scaling Calculation

    I have attached the excel file. Thanks.
    Attached Files Attached Files

  6. #6
    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
    80,777

    Re: Help with Formula for Scaling Calculation

    It's not clear, sorry.

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

  7. #7
    Registered User
    Join Date
    05-08-2019
    Location
    Sydney
    MS-Off Ver
    365
    Posts
    5

    Re: Help with Formula for Scaling Calculation

    I have included comments and sample data. Please let me know if it is clear.
    Attached Files Attached Files

  8. #8
    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
    80,777

    Re: Help with Formula for Scaling Calculation

    How should one distinguish between the various A1 values in the M Scale? Why is the result 97?

  9. #9
    Registered User
    Join Date
    05-08-2019
    Location
    Sydney
    MS-Off Ver
    365
    Posts
    5

    Re: Help with Formula for Scaling Calculation

    The value A1 can correspond to any in the main scale. The highest value from the main scale that corrsponds to any A1 needs to be displayed.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,551

    Re: Help with Formula for Scaling Calculation

    See if pasting the following formula into cell R4 does what you want: =AGGREGATE(14,6,Scales!E$2:ALS$2/(Scales!A$3:A$7=O4)/(Scales!E$3:ALS$7=P4),1)
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] VBA, User-defined formula argument referring to cell value calculated by Excel formula
    By ARAGORN II in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2017, 01:57 PM
  2. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  3. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  4. Replies: 2
    Last Post: 03-21-2014, 11:43 AM
  5. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  6. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  7. Replies: 1
    Last Post: 03-04-2012, 12:03 AM

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