PDA

View Full Version : Global change of cells w/particular value in Excel?


bigred
28th July 2008, 10:25 AM
Is there a way to do this kind of thing? An example or 2 is probably the easiest way to explain:

"Change the background color of all cells equalling 10 from white to blue"

"Change all cells which equal ABC to 15"

...ie w/o manually selecting all of them, which is more than a slight pain if you have a lot...this could really come in handy though.

Giggywig
28th July 2008, 10:44 AM
Find and Replace. You can set the format there, too.

Leftus
28th July 2008, 11:16 AM
Conditional formatting for color. Your version may vary.

http://www.wikihow.com/Apply-Conditional-Formatting-in-Excel

Wowbagger
3rd August 2008, 06:36 PM
Those are all good suggestions, but you can also achieve even more power by building a macro to do it, in VBA.

aggle-rithm
3rd August 2008, 07:12 PM
I hate Excel with a fiery-red, unquenchable passion.

So much critical data is stored there, in a clumsy, unstable file format that is accessible only through a clumsy, unstable application that causes external applications trying to access it to crash.

If it were up to me, Excel would be banned from my company.

six7s
4th August 2008, 12:24 AM
Ummmm... an Excel file will (very easily) convert to (and run as) a CSV file... how standards compliant do you need?

AntiTelharsic
4th August 2008, 12:36 AM
"Change the background color of all cells equalling 10 from white to blue"

Please say you're not implementing cellular automata in Excel... :)

Wowbagger
4th August 2008, 09:34 AM
I just thought of something: Wouldn't it be really cool if someone implemented Conway's Game of Life using Excel cells?
I could probably do that in short order, myself, when I have the time.

Wudang
4th August 2008, 09:43 AM
http://www.mrexcel.com/pc10.php
has one example

Wowbagger
4th August 2008, 01:53 PM
http://www.mrexcel.com/pc10.php
has one exampleAwesome.

aggle-rithm
5th August 2008, 08:59 AM
I just thought of something: Wouldn't it be really cool if someone implemented Conway's Game of Life using Excel cells?
I could probably do that in short order, myself, when I have the time.

I've done it. The file has been lost, though.

ETA: I've also tried an Excel implementation of "Elf Bowl". Never got it working properly.

aggle-rithm
5th August 2008, 09:00 AM
Ummmm... an Excel file will (very easily) convert to (and run as) a CSV file... how standards compliant do you need?

Only if the file has a single sheet and the data are neatly arranged in symmetrical rows and columns.

Not the case with the Excel files we have where I work.

bigred
5th August 2008, 12:35 PM
Find and Replace. You can set the format there, too.
That was so obvious I didn't even see it. :o Or something like that. d'oh. Thanks all