Using the IF function

  • Thread starter Thread starter fluci
  • Start date Start date
F

fluci

Ok I have A1 as test, A2:9 as blah, A10 as test and A11:A20 as blah
so it looks like this

test
blah
blah
blah
blah
blah
blah
blah
blah
blah
test
blah
blah
blah
blah
blah
blah
blah
blah
blah
blah

What I want to do is make A1 so that IF(A1=???Any of cells A2:20???
then it becomes the same format as A1
is that possible
 
You'd need a macro. A formula can only return a result to the cell it is
in; it cannot do things like format cells, print, etc.

You might look at Format, conditional Formatting as another approach though.

--
Jim
message |
| Ok I have A1 as test, A2:9 as blah, A10 as test and A11:A20 as blah
| so it looks like this
|
| test
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| test
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| blah
| blah
|
| What I want to do is make A1 so that IF(A1=???Any of cells A2:20???,
| then it becomes the same format as A1
| is that possible?
|
|
| --
| fluci
| ------------------------------------------------------------------------
| fluci's Profile:
http://www.excelforum.com/member.php?action=getinfo&userid=25896
| View this thread: http://www.excelforum.com/showthread.php?threadid=392916
|
 
aha
got it
conditional formating
also...
can someone help me write a macro?
i will send you the file and show you want i want done
i have no clue how to do macros :S
add me on msn
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top