LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default New to functions. Is this possible???


Your formula returns "NONE" for an empty cell so your formula could be
shortened to:

=IF(A10,"UP",IF(A1<0,"DOWN","NONE"))

or if you want to guard against an empty cell returning "NONE"

=IF(A10,"UP",IF(A1<0,"DOWN",IF(A1="","","NONE")))

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Gaurav" wrote in message
...
Assuming your list is in column A and you want the UP/DOWN/NONE in column
B.

in B1 type =IF(A10,"UP",IF(A1=0,"NONE",IF(A1<0,"DOWN"))) now copy down as
far as you have the values in column A.

Now to format them...select column B, go to FORMAT | CONDITIONAL
FORMATTING. In first drop down select Cell Value Is..in second drop down
select 'Equal To' in the third box enter 0. click on format and change the
pattern to Orange. then click on Add, again Select Cell Value Is, second
drop down select Less Than, in the third box again enter 0 click on format
and change the pattern to Red...add another condition and this time select
Greater than in the second drop down and format it Green.

Hope this helps.

"jumpingoff" wrote in message
...
New here so I'm not sure if this deals w/ functions or not.
I have positive and negative figures in one column and what I want to do
is
have excel auto fill a new column with certain IF/THEN type of responses
but
also have it auto format those responses depending on what they are.

If the number is positive I want it to fill the new cell with the word
"UP"
and color the cell green. If it is negative I want it to fill the new
cell
with "DOWN" and color the cell red. If the number is 0 then I want it to
fill the new cell with "NONE" and color the cell orange. Can Excel do
this
and if so, then how? I'm manually doing it now but would love for it to
become automated.
Thanks.








 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
XL2003 FILTER FUNCTIONS VS. XL2007 FILTER FUNCTIONS RET70168 Excel Worksheet Functions 0 June 15th 07 01:00 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Looking for a site with functions that substitute the ATP functions Franz Verga Excel Worksheet Functions 3 June 24th 06 04:30 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM


All times are GMT +1. The time now is 10:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"