Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Formula with If and others

=if((B1-A1)/A11.1,"UP",if((B1-A1)/A1<.9,"DOWN","???"))

You can then put a conditional format on the cell to change the color with
FORMAT - CONDITIONAL FORMAT
Enter Cell Value is Equal to "UP" and "DOWN" and format as desired.

"Eli" wrote:

For example, I have three columns as follows:

A B C
1 100 120
2 100 80

I'd like to set up a formula applying to the cells in column C. If B1 value
is higher than A1 by 10%, C1 will show a word "Up" in green. With this
formula C2 will have "Down" in red. Appreciate your help.
Thanks,
Eli



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Formula with If and others

I'm having a brain fade tonight on formulas. I guess it's the foot that was
hit with a softball and it's already got quite the bump.

In the if, change the expression to

=IF(B1/A11.1,"UP",IF(B1/A1<0.9,"DOWN","???"))

"Eli" wrote:

For example, I have three columns as follows:

A B C
1 100 120
2 100 80

I'd like to set up a formula applying to the cells in column C. If B1 value
is higher than A1 by 10%, C1 will show a word "Up" in green. With this
formula C2 will have "Down" in red. Appreciate your help.
Thanks,
Eli



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula with If and others

For example, I have three columns as follows:

A B C
1 100 120
2 100 80

I'd like to set up a formula applying to the cells in column C. If B1 value
is higher than A1 by 10%, C1 will show a word "Up" in green. With this
formula C2 will have "Down" in red. Appreciate your help.
Thanks,
Eli


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Formula with If and others

Hi Barb,
It works. Really appreciate it.
Have a good night!
Eli

"Barb Reinhardt" wrote in message
...
I'm having a brain fade tonight on formulas. I guess it's the foot that

was
hit with a softball and it's already got quite the bump.

In the if, change the expression to

=IF(B1/A11.1,"UP",IF(B1/A1<0.9,"DOWN","???"))

"Eli" wrote:

For example, I have three columns as follows:

A B C
1 100 120
2 100 80

I'd like to set up a formula applying to the cells in column C. If B1

value
is higher than A1 by 10%, C1 will show a word "Up" in green. With this
formula C2 will have "Down" in red. Appreciate your help.
Thanks,
Eli





Reply
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



All times are GMT +1. The time now is 07:44 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"