+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting idea but with the outcome of a value not font/colours

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Conditional formatting idea but with the outcome of a value not font/colours

    Hello,

    is there a way to have a cell input a particular value because another cell had a particular value?
    sorry for the terrible explanation...

    for example
    in column A, there are:
    A1: Apples
    A2: Bananas
    A3: Oranges
    A4: Apples

    i want cells in column B to give a number based on the fruits in column A. so the number 26 if its Apple; 42 if its Bananas; 61 if its Oranges;

    so column B will look like:
    B1: 26
    B2: 42
    B3: 61
    B4: 26


    hope that makes sense.
    thanks

  2. #2
    Forum Contributor Mayda89's Avatar
    Join Date
    09-13-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    192

    Re: Conditional formatting idea but with the outcome of a value not font/colours

    Yes, there is a way to do this. First, you need to have a range consisting of two columns, with fruit names on the left column and the number code on the right column. Lets call this range MyRange.

    Now, in the cell where you want the lookup information (i.e. the number code) to be displayed, write this formula
    (substitute MyRange with the appropriate range and dont forget to use dollar signs to fix this range)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You can copy this formula down.

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: Conditional formatting idea but with the outcome of a value not font/colours

    thanks buddy

  4. #4
    Forum Contributor Mayda89's Avatar
    Join Date
    09-13-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    192

    Re: Conditional formatting idea but with the outcome of a value not font/colours

    You're welcome

+ 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