+ Reply to Thread
Results 1 to 4 of 4

Automaticly change number

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    Slovenia
    MS-Off Ver
    10
    Posts
    2

    Automaticly change number

    Hi everyone,
    I hope I'm not repeating this issue I'm having. I would be very grateful if someone has a easy way to help me. I'm trying to make a scoring tool for a questionaire. Is there an easy and elegant formula to automaticly change the inserted numbers - all in one cell?

    1 has to change to 3
    2 has to change to 1
    3 has to change to 0

    Also:
    0 => 0
    1 => 0
    2 => 1
    3 => 2

    Thank you so much for your help!

    Relinqu
    Last edited by relinqu; 01-24-2019 at 07:22 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Automaticly change number

    Not all in one cell, unless you use vba

    A better option is to use extra columns to give the desired result the logic depends on if other values can exist in the cells and are ignored if(a1=1,3,if(a1=2,1, if a1=3,0,"")))

    the >= bit of the post is also unclear and presumably is on different cells?

  3. #3
    Registered User
    Join Date
    01-24-2019
    Location
    Slovenia
    MS-Off Ver
    10
    Posts
    2

    Re: Automaticly change number

    Yes, I also found my way around with more columns.
    The => was ment as:
    0 has to be 0
    1 has to be 0
    2 has to be 1
    3 has to be 2

    It's managable with more columns, but was wondering if there is a more elegant solution. Thank you for your help!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Automaticly change number

    If your data are in A1:


    =MAX(0,A1-1)

    copied down
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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: 0
    Last Post: 06-06-2016, 09:15 AM
  2. Change color of tab automaticly
    By Joel78 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-07-2015, 09:47 AM
  3. [SOLVED] Change #N/A to another text automaticly
    By Crispy85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2013, 03:38 AM
  4. Replies: 2
    Last Post: 06-15-2005, 09:05 AM
  5. [SOLVED] how do I type in a number and have it automaticly add to the exs.
    By ollie1717 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2005, 01:06 PM
  6. [SOLVED] How can i change the text color in a cell automaticly if i write.
    By copernic in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2005, 06:06 AM
  7. Replies: 2
    Last Post: 01-29-2005, 05:06 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