+ Reply to Thread
Results 1 to 5 of 5

formatting left cell on basis of write cell

  1. #1
    Registered User
    Join Date
    01-24-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    formatting left cell on basis of write cell

    Please tell

    if B1 =LFU than A1 fill red
    if B1 =Active than A1 fill green
    if B1 =Death than A1 fill black

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: formatting left cell on basis of write cell

    welcome to the forum, lalit. select the range you want to apply to (say from A1:A10)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =B1="LFU"
    format red

    repeat the steps & just change the text & colour accordingly

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    07-19-2010
    Location
    Bucharest
    MS-Off Ver
    Office 2007
    Posts
    29

    Re: formatting left cell on basis of write cell

    Home Tab>Conditional Formatting>New Rule

    Under Select Rule Type, chose "Use a formula to determine which cells to format" option. Under "Format values where this formula is true" put the following;

    =(B1)="LFU"

    Click on "Format" button, go to "Fill" tab and pick your color.

    Repeat the procedure for the other two options. For active, replace "LFU" with "Active" and pick another color, and so on..

    Hope this helps.

    tac

  4. #4
    Registered User
    Join Date
    01-24-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: formatting left cell on basis of write cell

    Thanks very much it worked

  5. #5
    Registered User
    Join Date
    01-24-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: formatting left cell on basis of write cell

    How to calculate the current age if Date of registration and age at the registration given trying below but not getting, what should be at .........

    =(IF(AND(D7<>"",H7<>""),MAX(((.............-H7)/365)+D7,D7),""))

+ 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. Conditional Formatting on the Basis of Cell Shading
    By bykareem in forum Excel General
    Replies: 1
    Last Post: 12-03-2013, 02:43 AM
  2. Replies: 5
    Last Post: 08-19-2013, 03:13 PM
  3. Replies: 0
    Last Post: 05-28-2013, 04:31 PM
  4. Advance filter criteria basis cell formatting
    By raghavfastest in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2010, 03:59 AM
  5. Apply conditional formatting to a cell when it is left BLANK
    By researchrach in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-30-2008, 10:59 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