+ Reply to Thread
Results 1 to 6 of 6

check value in first column and write in the next column

  1. #1
    Registered User
    Join Date
    09-03-2012
    Location
    riyadh
    MS-Off Ver
    Excel 2007
    Posts
    8

    check value in first column and write in the next column

    hi

    i have an excel sheet with 3 columns as attached .

    i need a program to do the following:

    checkif the value in column 2 is between 2 specific values (example:10< x = 15 ) then it will write in the third column specific value . and this will be repeated for more than one case.

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: check value in first column and write in the next column

    Since you only gave one example of information I will assume you wanted it applied to all the values in column C

    Please Login or Register  to view this content.
    Last edited by stnkynts; 05-23-2013 at 04:41 PM.

  3. #3
    Registered User
    Join Date
    09-03-2012
    Location
    riyadh
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: check value in first column and write in the next column

    thanks stnkynts , this exactly what i need

  4. #4
    Registered User
    Join Date
    09-03-2012
    Location
    riyadh
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: check value in first column and write in the next column

    this will check only if the cell > 10 so it will write 15, if i want to check with two ranges for example i want to check if x is between 10 and 15 then write 15 if not it will continue to check for another criteria for example x is between 15 and 20 then write 20

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: check value in first column and write in the next column

    Correct, I just created it exactly as you described in your first post. Here is code to address the examples as written in your most recent post. You should be follow it so you can add different criteria as needed.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    09-03-2012
    Location
    riyadh
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: check value in first column and write in the next column

    thanks , this solved my issue

+ 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