+ Reply to Thread
Results 1 to 4 of 4

Depending on range of values a new value is applied

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Depending on range of values a new value is applied

    Dear forum!

    Data has headers
    In column E2 and down I have value of "1" (this need to be changed depending on values in F2)
    In column F2 I have 5 digits string for example "13103".

    I want to change the E2 value to "2" when F2 has values between let say 13104 - 13333 and 23401 - 23999 and 42100 - 42325.

    Possible? And can you have more combinations for F2?

    Thanks!

    Before

    E2 F2
    1 12050
    1 13103
    1 13104
    1 14334
    1 42100
    1 23405
    1 23998
    1 42455
    1 13205


    After

    E2 F2
    1 12050
    1 13103
    2 13104
    1 14334
    2 42100
    2 23405
    2 23998
    1 42455
    2 13205
    Last edited by soli004; 07-10-2014 at 06:13 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Depending on range of values a new value is applied

    You get better help with your question if you add an excel file, without confidential information.

    Please also add the desired result in your file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Depending on range of values a new value is applied

    Try this :
    Please Login or Register  to view this content.
    Please click the * below if this helps
    Please click the * below if this helps

  4. #4
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Depending on range of values a new value is applied

    Thank you Jasper!

    Exactly what I needed, runs perfect!

+ 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. Highlight a result, depending on another range of values
    By Jesus Mata in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2014, 03:28 PM
  2. Will percentage calculation change depending on filters applied?
    By t-money in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2013, 09:15 AM
  3. Sum cell values within the same range in multiple sheets with a criteria applied
    By nikenis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2013, 10:35 AM
  4. Range of Values to move depending on the Value of a Cell
    By henraa in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-31-2012, 09:13 AM
  5. Replies: 6
    Last Post: 04-20-2010, 03:42 AM

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