Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Can somebody help me creating a Macro that can do as follows: Search for a specific word in a specified column, for instance "red" of "grey" and when this is found a row in another specified column a, b or c must be marked with an x. So, for instance: a b c 1 red x 2 blue x 3 red x 4 gray x 5 gray x 6 blue x 7 red x And the x-es will be put in automatically. Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jochen
Why do you want to use a macro? Just input following formulas into the cells in columns B, C and D: Column Row A B C D 2 red =if(A2="blue";"x";"") =if(A2="red"; "x"; "") =if(A2="gray"; "x"; "") 3 blue =if(A3="blue";"x";"") =if(A3="red"; "x"; "") =if(A3="gray"; "x"; "") 4 gray =if(A4="blue";"x";"") =if(A4="red"; "x"; "") =if(A4="gray"; "x"; "") etc. Copy the formulas to all desired rows and you get your "x" regards reklamo "Jochem Davids" wrote: Hello, Can somebody help me creating a Macro that can do as follows: Search for a specific word in a specified column, for instance "red" of "grey" and when this is found a row in another specified column a, b or c must be marked with an x. So, for instance: a b c 1 red x 2 blue x 3 red x 4 gray x 5 gray x 6 blue x 7 red x And the x-es will be put in automatically. Thanks in advance! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to put quotation mark in each cell of the column | Excel Worksheet Functions | |||
Add a mark in every row in a column | Excel Discussion (Misc queries) | |||
Mark active row in column A (VB question) | Excel Discussion (Misc queries) | |||
How can I add active tick mark/check mark boxes in excel? | Excel Discussion (Misc queries) | |||
How do I set up a column in Excel as a check mark column? | Excel Discussion (Misc queries) |