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
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
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
Thanks. And how can i do this for the full column not only 1. Cause F1 would be a message box
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks