+ Reply to Thread
Results 1 to 11 of 11

Excel 2007 : Different Actions from variable numbers in a Cell

  1. #1
    Registered User
    Join Date
    07-15-2012
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    Thumbs up Different Actions from variable numbers in a Cell

    Hello first Post

    I have a cell which has different % values init depending on what is entered. From this i am looking to enter a score in another cell E.g


    IF A1 = 50% or less A2 = 1
    IF A1 = 51% - 60% A2 = 2
    IF A1 = 61% - 70% A2 = 3
    IF A1 = 71% - 80% A2 = 4

    And so on .....

    Any ideas people ??
    Last edited by whitywhit; 07-15-2012 at 05:57 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: help Please

    Hi whitywhit,

    Have a quick look at the forum rules. There is one regarding using "descriptive post titles".
    You will not get an answer until you change your title so something more suitable as we're not allowed to give help until the rules are met.
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    07-15-2012
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Different Actions from variable numbers in a Cell

    Sorry i have updated now

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Different Actions from variable numbers in a Cell

    Not a problem. Just, like I said, we're not allowed to help until the title fits the bill.

    Anyway, have a look at the attached.
    It uses a simple lookup to achieve the result.

    It could be done using a formula only, but that would be a long winded way around it and harder to maintain in the future.

    The lookup table can be hidden away in the spreadsheet to keep it out of the way.

    Let me know if you need it explained in more detail.

    S.
    Attached Files Attached Files

  5. #5
    Forum Contributor ptm0412's Avatar
    Join Date
    04-16-2008
    Location
    Vietnam
    MS-Off Ver
    Office 2003 and 2007
    Posts
    129

    Re: Different Actions from variable numbers in a Cell

    The thread title has been changed, alright?

    A2=MAX(INT(A1*10-0.1)-3, 1)
    Last edited by ptm0412; 07-15-2012 at 06:27 AM.

  6. #6
    Registered User
    Join Date
    07-15-2012
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Different Actions from variable numbers in a Cell

    this is great many thanks

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Different Actions from variable numbers in a Cell

    Hello whitywhit. Based on your last post I'll mark your thread as SOLVED. The forum rules require that you do this so please keep that in mind for your future threads. Thanks.

    Here's the method:

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    07-15-2012
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Different Actions from variable numbers in a Cell

    I'm trying to apply the same but within times. (hh:mm:ss) But it doesn't seem to like it eg

    If A1 = 00.06.00 then A2 = 1
    If A1 = 00.05.30 then A2 = 2
    If A1 = 00.05.00 then A2 = 3

    And do on

  9. #9
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Different Actions from variable numbers in a Cell

    Put the times in order so the earliest on is at the top of the list and the latest at the bottom.

    Does that fix it?

  10. #10
    Registered User
    Join Date
    07-15-2012
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Different Actions from variable numbers in a Cell

    Got It! thanks again spence !

  11. #11
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Different Actions from variable numbers in a Cell

    No problem

+ 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.6.0 RC 1