+ Reply to Thread
Results 1 to 4 of 4

How can i format one cell based on another.

  1. #1
    Registered User
    Join Date
    03-17-2013
    Location
    NYS
    MS-Off Ver
    Excel 2007
    Posts
    11

    How can i format one cell based on another.

    How can i format one cell based on another.

    Example: column C have some info so i want to make that in column F1 should check in column C for a matching word like Pending. And if their is one column F1 should display a message

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How can i format one cell based on another.

    try this in F1...
    =if(C1="Pending","your message","")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-17-2013
    Location
    NYS
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: How can i format one cell based on another.

    Thanks. And how can i do this for the full column not only 1. Cause F1 would be a message box

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How can i format one cell based on another.

    if you mean you want to do that for all cells in the column, just copy it down.

    if you mean you want to have 1 cell that checks all of column C for any cell containing "Pending", then use trhis instead...
    =countif(C:C,"Pending")

    If neither of these is what you want, i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

+ 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