+ Reply to Thread
Results 1 to 5 of 5

Thread: This formula is too advanced for me.

  1. #1
    Registered User
    Join Date
    06-27-2011
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    This formula is too advanced for me.

    This formula is too advanced for me.

    The number series that will appear in Cell A1 are listed below:

    4.0 thru 4.999999999, 5.0 thru 5.999999999, 6.0 thru 6.999999999, 7.0 thru 7.999999999, 8.0 thru 8.999999999, 9.0 thru 9.999999999, 10.0 thru 10.999999999, 11.0 thru 11.999999999, 12.0 thru 12.999999999.

    I am trying to develop a formula for Cell B1 that will resolve the problem:

    Each one of these nine series of numbers above, will have its own multiplier.
    Note: The multiplier value will be assigned simply by adjusting the formula.

    Example:
    4.0 thru 4.999999999 X $5.00, 5.0 thru 5.999999999 X $13.00, 6.0 thru 6.999999999 X $15.00, – Etc. up to: 12.0 thru 12.999999999 X $25.00

    Any help would be greatly appreciated.
    Thanks
    Last edited by okenter; 07-02-2011 at 10:43 PM.

  2. #2
    Forum Guru mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    2,998

    Re: This formula is too advanced for me.

    Its not clear to me what the "etc." should be, but you can fill that into this formula.

    =LOOKUP(A1,{4,5,6,7,8,9,10,11,12,13},{5, 13, 15, "7 value", "8 value", "9 value", "10 value", "11 value", 25})
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Valued Forum Contributor MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    5,300

    Re: This formula is too advanced for me.

    Hi okenter,

    This sounds like a job for the Choose() function.
    In cell B1 put this formula
    =CHOOSE(FLOOR(A1,1) -3,5,13,15,22,35,42,47,72,76) *A1
    Change the 5,13,15... to the multipliers you desire.
    Then read http://www.excelfunctions.net/ExcelChoose.html to see why it works.
    One test is worth a thousand opinions.
    Click the * below to say thanks.

  4. #4
    Registered User
    Join Date
    06-27-2011
    Location
    Florida, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: This formula is too advanced for me.

    Thanks for the excellent help.
    Greatly appreciated.

  5. #5
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,640

    Re: This formula is too advanced for me.

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0