MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 14th, 2002, 06:55 PM   #1
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Useing conditional formatting
I would like to change text when items are due or over due. I have found something close on this great web site. However, it falls short of my goals. I will now attempt to provide an example.

A1
Release Date
1-1-02

B1(=A1+15)
Ship Dates
1-16-02

C1 (=B1+5) Date Needed
1-21-02


D1
E T A
1-17-02


E1=IF(c1>d1,"NO","YES")
Quick ship
Yes

F1 (=D1-C1)
No Headed
-4

G1 =IF(F1<1,"Day Q Ship","Days Slack")
Quick Ship
4 Day Q Ship

My future goals with this mess are too:

1. In Cell D1: change it to blue when 5 days out and red when overdue.

2. Cell F1 has no header because I have it formatted to appear to the user as one cell. I would like these cells F & G to change colors when E1 returns yes and another color when it returns no.

I no how to format the text however, I need the formulas to make the above happen.


yes dear im cumming
gotta go hope you can help

Thx

RW




[ This Message was edited by: mechpm on 2002-05-14 18:00 ]

[ This Message was edited by: mechpm on 2002-05-14 18:03 ]

[ This Message was edited by: mechpm on 2002-05-14 18:05 ]
mechpm is offline   Reply With Quote
Old May 14th, 2002, 07:10 PM   #2
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Clarification needed ...
What feeds cell D1?
What is in cell F1? You say you have no header for F1, and you do have headers for other cells. Your headers should be in row1, then what ever you describe as being in cell A1 should be in cell A2, and so on.
It might be helpful if you post a few rows of your data.

Regards!
Yogi Anand is offline   Reply With Quote
Old May 14th, 2002, 08:14 PM   #3
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

[quote]
On 2002-05-14 18:10, Yogi Anand wrote:
Clarification needed ...
What feeds cell D1?
What is in cell F1? You say you have no header for F1, and you do have headers for other cells. Your headers should be in row1, then what ever you describe as being in cell A1 should be in cell A2, and so on.
It might be helpful if you post a few rows of your data.

Regards!
[/quote

In my example

A2
Release Date ( is the Header
1-1-02 (date entered by user)

B2(=A2+15) Formula in b2
Ship Dates (is the header )
1-16-02 data returned by =A1+15

C2 (=B2+5)
Date Needed (Header)
1-21-02 (DATA RETURNED BY =B2+5)


D2
E T A (Header)
1-17-02 (user input)


E2=IF(c2>d2,"NO","YES")
Quick ship (HEADER)
Yes

F2 (=D2-C2)
No Headed
-4

G2 =IF(F2<1,"Day Q Ship","Days Slack")
Quick Ship (HEADER)
4 Day Q Ship

THIS MAY HELP. IT WAS A LITTLE CONFUSING, IN THAT THESE ARE NOT THE CELLS USED IN THE ACTUAL WORK SHEET ( LEFT OUT DATA LIKE LINE ITEM, P O #, ECT.)

IM NOT SURE HOW TO POST A FEW ROWS OF DATA

HOPE THE ABOVE WILL HELP YOU.


THX R W







mechpm is offline   Reply With Quote
Old May 14th, 2002, 09:21 PM   #4
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Thanks mechpm for the clarification.
The conditional format for cell D2 ...

Condition1 ... Formula Is =F2<=-5 -- Paste color 'blue'
Condition2 ... Formula Is =F2>0 -- Paste color 'red'

Conditional format for cell E2 ...

Condition1 ... Formula Is =E2="No" ... Paste color 'pink'

Condition2 ... Formula Is =E2="Yes" ... Paste color 'green'

Please note to be able to handle negative dates, you will have to Excel's date system turned to 1904 date system.

Please post back if it works for you ... otherwise explain a little further and let us take it from there.

Regards!
__________________
Regards!

Yogi Anand, D.Eng, P.E.
Energy Efficient Building Network LLC
www.energyefficientbuild.com
Yogi Anand is offline   Reply With Quote
Old May 15th, 2002, 09:34 PM   #5
mechpm
New Member
 
Join Date: May 2002
Posts: 30
Default

Quote:
On 2002-05-14 20:21, Yogi Anand wrote:
Thanks mechpm for the clarification.
The conditional format for cell D2 ...

Condition1 ... Formula Is =F2<=-5 -- Paste color 'blue'
Condition2 ... Formula Is =F2>0 -- Paste color 'red'

Conditional format for cell E2 ...

Condition1 ... Formula Is =E2="No" ... Paste color 'pink'

Condition2 ... Formula Is =E2="Yes" ... Paste color 'green'

Please note to be able to handle negative dates, you will have to Excel's date system turned to 1904 date system.

Please post back if it works for you ... otherwise explain a little further and let us take it from there.

Regards!
thx


Worked like a charm. I thought excel in it’s self was the greatest thing since sliced bread.

However, I may have prejudged. This web site / msg. boards could very well beat all.

This is an Information Junkies Dream.
mechpm is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:02 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes