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 19th, 2002, 10:44 AM   #1
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Hi,
I am using an A column to enter cureent dates, I would like the J column to automatically add 45 days to the date I enter in A column.Is this feasible? Thanks in advance!Bertronix.
Bertronix is offline   Reply With Quote
Old May 19th, 2002, 10:47 AM   #2
Anne Troy
MrExcel MVP
 
Anne Troy's Avatar
 
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,512
Default

Sure.
In J2, put

=A2+45

Not too difficult, huh?
Make sure A2 and J2 are formatted as dates.
__________________
~Anne Troy
Anne Troy is offline   Reply With Quote
Old May 19th, 2002, 10:52 AM   #3
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Hi Dreamboat,
Man that reply was so fast it scared me! O.K. I literally just started using Excel and this is my first formula (talk about newbie). How do I format A and J as dates? Thanks again,Bertronix.
Bertronix is offline   Reply With Quote
Old May 19th, 2002, 10:56 AM   #4
stone
Board Regular
 
Join Date: Apr 2002
Location: iceland
Posts: 138
Default

Select your cells, goto Format - Cells, select number, and then select dates.

BK stulli
stone is offline   Reply With Quote
Old May 19th, 2002, 11:20 AM   #5
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Thanks, Really appreciate the help! Bertronix
Bertronix is offline   Reply With Quote
Old May 19th, 2002, 11:35 AM   #6
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Hi Stone,
Still can't get this to work! What I'm doing is as I go down column A, each cell will have a different date. I'm trying to get column J to automatically enter 45 days to whatever I type in column A. I tried what both you and Dreamboat responded with but it's not executing. What am I doing wrong? Sorry, I'm really new at this! Bertronix.
Bertronix is offline   Reply With Quote
Old May 19th, 2002, 11:55 AM   #7
sykes
Board Regular
 
sykes's Avatar
 
Join Date: May 2002
Location: Cornwall,England
Posts: 1,273
Default

Bertronix
Right click in A1, select format cells,
pick from left hand column "date"
pick from right hand column 14-mar-98.
This will format the cell A1 for this kind of date. When you get the hang of it, you can change this to your hearts content.
Do the same for J1 (just to get started).
SelectA1.
Put a date in it.
select J1, type "=A1+45" (without the quotation marks) and hit the return key on your keyboard, or with the cursor, select the green tick just above the ABCD etc address bar.(next to the red cross). Make sure you do this without clicking out of J1.

This should change the J1 date to A1+45.

Come back in a min. for more.

Good luck, and DON'T GIVE UP !!
Kindest

Sykes



sykes is offline   Reply With Quote
Old May 19th, 2002, 12:10 PM   #8
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Thanks Sykes,
I'm starting over, first of all I was using about 4 rows to create a heading and I understand that this is a no-no. Once i get reset I'll try what you posted. Thanks a million for responding! Bertronix.
Bertronix is offline   Reply With Quote
Old May 19th, 2002, 12:11 PM   #9
Anne Troy
MrExcel MVP
 
Anne Troy's Avatar
 
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,512
Default

Bert:

Putting a formula in one cell will not work with all cells.

Once you have entered that formula in J, select the cell you entered it into.
You'll see a small black square on the bottom, right-hand corner of the cell. This is called the Fill Handle. When you click on it, your cursor turns from a FAT Plus sign into a skinny plus sign. Click on the fill handle and drag down all the rows you need to.

If A does not have a date in that cell right now, and you get errors from the formula, change the formula I very first gave you to:

=if(isblank(A2),"",a2+45)

That means column J will show nothing ("") until there's a date typed into the same row in column A.

If you're really having difficulty, I'm here for the day pretty much, and you can email the file. Dreamboat@TheWordExpert.com
__________________
~Anne Troy
Anne Troy is offline   Reply With Quote
Old May 19th, 2002, 12:40 PM   #10
Bertronix
New Member
 
Join Date: May 2002
Posts: 40
Default

Hi,
O.K. I got it to work fine except that until I enter my date in the A column, the J column is filled with the date 02/14/00. When I enter a date in A it changes J correctly. I can live with that! You guys have been so helpful. Thanks, Bertronix.
Bertronix 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 04:26 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