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 23rd, 2002, 03:26 AM   #1
cedius
New Member
 
Join Date: May 2002
Posts: 3
Default

I have somewhat of a billing project im doing for class and I am stumped on just this last section.What I am trying to do is add a late formula.In the spreadsheet I have a column with a dated title.When I input the date in that column,I want to know if the person has aquired a late fee.
May be this will help.
If > 05-31-02 = Then No Late Fee
If < 06-01-02 = Then $40 late Fee
I want to input the date and have the late fee info show in a designated cell.
Also, will I have to input this formula in every cell, I have 100.

Thanx, hope I explained it correctly.
cedius is offline   Reply With Quote
Old May 23rd, 2002, 03:46 AM   #2
crimlet
Board Regular
 
Join Date: May 2002
Location: Ipswich, Suffolk, England
Posts: 135
Default

Quote:
On 2002-05-23 02:26, cedius wrote:
I have somewhat of a billing project im doing for class and I am stumped on just this last section.What I am trying to do is add a late formula.In the spreadsheet I have a column with a dated title.When I input the date in that column,I want to know if the person has aquired a late fee.
May be this will help.
If > 05-31-02 = Then No Late Fee
If < 06-01-02 = Then $40 late Fee
I want to input the date and have the late fee info show in a designated cell.
Also, will I have to input this formula in every cell, I have 100.

Thanx, hope I explained it correctly.
try putting this in the cell you want the information to appear
=if(cell the date is in <6/01/02,concatenate("fee recieved on ",cell reference," No fee"),("fee recieved on ",cell reference," $40 fee"))
although you may want to check the format of your date column



[ This Message was edited by: crimlet on 2002-05-23 02:48 ]
crimlet is offline   Reply With Quote
Old May 23rd, 2002, 12:21 PM   #3
cedius
New Member
 
Join Date: May 2002
Posts: 3
Default

I cant seem to get that code to work.
Is there another way. I keep getting the formula error popup.
cedius is offline   Reply With Quote
Old May 23rd, 2002, 12:42 PM   #4
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Quote:
On 2002-05-23 02:26, cedius wrote:
I have somewhat of a billing project im doing for class and I am stumped on just this last section.What I am trying to do is add a late formula.In the spreadsheet I have a column with a dated title.When I input the date in that column,I want to know if the person has aquired a late fee.
May be this will help.
If > 05-31-02 = Then No Late Fee
If < 06-01-02 = Then $40 late Fee
I want to input the date and have the late fee info show in a designated cell.
Also, will I have to input this formula in every cell, I have 100.

Thanx, hope I explained it correctly.
Hi Cedius:
Can you state in words about the late fee situation? Is the fee imposed if a bill is not paid in time? Instead of using the less than and greater than symbols, please state it in words what is the late fee and when is it imposed.

Regards!
Yogi Anand is offline   Reply With Quote
Old May 23rd, 2002, 01:04 PM   #5
cedius
New Member
 
Join Date: May 2002
Posts: 3
Default

yes, basically, payment is to be due before the first, like rent.If I receive payment after the first, a late fee is imposed of $40.00.So I have it set up where I input the date I recieved payment.If the date is before 6-01-02, no late fee, But if it is after 6-01-02, In another cell, I want to see a late fee show up of $40.

Hope that helps
cedius is offline   Reply With Quote
Old May 23rd, 2002, 08:48 PM   #6
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Quote:
On 2002-05-23 12:04, cedius wrote:
yes, basically, payment is to be due before the first, like rent.If I receive payment after the first, a late fee is imposed of $40.00.So I have it set up where I input the date I recieved payment.If the date is before 6-01-02, no late fee, But if it is after 6-01-02, In another cell, I want to see a late fee show up of $40.

Hope that helps
Hi Cedius:
I am going to reinterpret the criteria you stated -- Excel is very finicky abou this -- it can not stand any ambiguity. So here goes how I understand your criteria ...

'If Payment Received date is greater than 6/1/2002, there will be a fee of $40.'

The other things you mentioned e.g. if the payment is received on 5/31/02, there will be no LateFee, and if the payment is received after 6/1/02 there will be a Latefee of $40 are covered by the statement noted above.

Now having a clear understanding of this, we can write a simple formula to cover this situation -- see the worksheet simulation ...

Formula used:

="Late Fee = $"&(B3>$B$1)*40

Microsoft Excel - y020523.xls
A1=CutOffDate
ABCD
1CutOffDate:alert('37408')>6/1/02
2
3ReceiptDate:alert('37407')>5/31/02:alert('="Late Fee = $"&(B3>$B$1)*40')>Late Fee = $0
4ReceiptDate:alert('37408')>6/1/02:alert('="Late Fee = $"&(B4>$B$1)*40')>Late Fee = $0
5ReceiptDate:alert('37409')>6/2/02:alert('="Late Fee = $"&(B5>$B$1)*40')>Late Fee = $40
6
7
8
Sheet6

Click on the hyperlinked cell to see the underlying formula


Regards!

_________________
Yogi Anand

Edit: Deleted inactive website from hardcoded signature

[ This Message was edited by: Yogi Anand on 2003-01-19 12:56 ]
Yogi Anand is offline   Reply With Quote
Old May 23rd, 2002, 11:24 PM   #7
Aladin Akyurek
MrExcel MVP
 
Aladin Akyurek's Avatar
 
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
Default

Quote:
On 2002-05-23 12:04, cedius wrote:
yes, basically, payment is to be due before the first, like rent.If I receive payment after the first, a late fee is imposed of $40.00.So I have it set up where I input the date I recieved payment.If the date is before 6-01-02, no late fee, But if it is after 6-01-02, In another cell, I want to see a late fee show up of $40.

Hope that helps
Why not just use:

=(E2>criterion-date)*40

where E2 is the date the payment is received and criterion-date is a cell holding the criterion date after which a fee is imposed.

This formula will give you either 0 (no fee) or 40, which you can use in other formulas.


[ This Message was edited by: Aladin Akyurek on 2002-05-23 22:25 ]
Aladin Akyurek 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 09:29 AM.


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