+ Reply to Thread
Results 1 to 7 of 7

Factor Up and Factor Down Values Formula

  1. #1
    Registered User
    Join Date
    04-18-2011
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    92

    Factor Up and Factor Down Values Formula

    Lets say i have to keep my numbers in my spreadsheet above and below a certain number (the result must be 10 or above and less than 60,000,000)

    I want to be able to handle to one digit, and round the results . After i used the numbers i will need to factor them either up or down according to the factor used in the initial calculation.

    whats the formula ?


    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Factor Up and Factor Down Values Formula

    I'm not sure if you want to limit entry of numbers to between 10 and 60,000,000 or if you want to round any numbers already entered to be within this range.
    If it's the former, then you can set up Data Validation (Data tab → Data Validation → Allow 'Whole number' or 'Decimal', Data 'between', Minimum '10', Maximum '60000000'). Using the 'Error Alert' tab in the Data Validation window, you can prevent any numbers being entered which aren't within this range, with a warning message given to users if an invalid number is entered.
    If you want the latter, then you'll need another column with a formula like this one:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You can then get the factors used by calculation from the result of this formula with the original number.

    Hope that's of some help and that I haven't completely misunderstood your question.

    Regards,
    Aardigspook

    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark Thread as Solved'.
    You don't need to give me rep if I helped, but thanks are appreciated.

  3. #3
    Registered User
    Join Date
    04-18-2011
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Factor Up and Factor Down Values Formula

    thankyou but not quite right

    what i want is something like .

    1. anything below 10 factor up by factor of say 100. So .1 becomes 10. (minimum value is .1)
    2. anything above 10 needs to be factored down so the result is between a minimum of 10 and max of 60,000,000 (maximum number can be say 100,000,000)

    Each value factored up will have to be factored back down later so i need both formulas as attached files showed (its for use in scroll bar and the scroll bar wont allow any number below 1 and over 60m. No digits either. Thats why it has to be rounded as well

  4. #4
    Registered User
    Join Date
    04-18-2011
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Factor Up and Factor Down Values Formula

    the formula needs to be something like

    any number between .1 and 10 factor up by 100
    any number between 10 and 1000 factor up by 10
    any number between 1000 and 10000 factor down by 10
    any number between 10000 and 100000 factor down by 100

    etc etc

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Factor Up and Factor Down Values Formula

    I don't understand what you want in the Reverse Factor column but this is how I interpret what you want in the Factor up/Down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    C
    D
    E
    3
    values
    result required
    factor up/down
    4
    0.1
    between 10 and 60,000,000
    10
    5
    0.2
    between 10 and 60,000,000
    20
    6
    0.3
    between 10 and 60,000,000
    30
    7
    0.4
    between 10 and 60,000,000
    40
    8
    0.5
    between 10 and 60,000,000
    50
    9
    0.6
    between 10 and 60,000,000
    60
    10
    0.7
    between 10 and 60,000,000
    70
    11
    0.8
    between 10 and 60,000,000
    80
    12
    0.9
    between 10 and 60,000,000
    90
    13
    1.0
    between 10 and 60,000,000
    100
    14
    10
    between 10 and 60,000,000
    1000
    15
    100
    between 10 and 60,000,000
    1000
    16
    1,000
    between 10 and 60,000,000
    10000
    17
    10,000
    between 10 and 60,000,000
    1000
    18
    100,000
    between 10 and 60,000,000
    1000
    19
    10,000,000
    between 10 and 60,000,000
    10000
    20
    100,000,000
    between 10 and 60,000,000
    10000
    21
    1,000,000,000
    between 10 and 60,000,000
    100000
    22
    10,000,000,000
    between 10 and 60,000,000
    100000
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    04-18-2011
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    92

    Re: Factor Up and Factor Down Values Formula

    works !

    weird i had this exact same formula but didnt know the formula tests each scenario in sequential order. now i know.

    thanks !

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Factor Up and Factor Down Values Formula

    Thank you for the feedback. I'm glad that it works for you.

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

+ 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. Replies: 4
    Last Post: 07-28-2014, 09:12 AM
  2. [SOLVED] Copy values down by given factor
    By FixandFoxi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2014, 06:47 AM
  3. Replies: 3
    Last Post: 12-21-2013, 08:46 AM
  4. Formula for percentage increase or decrease when one factor is zero
    By dbrady01 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2013, 12:57 PM
  5. Use row number as factor in calculation, replace original values
    By margieh204 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2013, 06:49 PM
  6. Replies: 1
    Last Post: 03-14-2006, 05:55 PM
  7. Formula to sum various cells based on rate factor
    By Frick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-08-2006, 05:20 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