![]() |
|
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I am making a spreadsheet for calculating long distance usage. I would like a formula to calculate the charge based on the time of the call and the duration. For example, a 15 minute call would be more expensive before 5pm. I would you would use an IF formula but I don't know how to format the time.
=IF(A1<(i want this to be 5pm),B1*.09,B1*.07) Please help! This is bothering me! |
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 40,611
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Join Date: Feb 2002
Location: Victoria, Australia
Posts: 761
|
Try putting 5:00 PM in another cell, and replace your (I want the time here bit) with the cell reference.
HTH Richard |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|