Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 11
Question =IF function with current date

Hello,

I am trying to set up a rental sheet that will update the costs daily. These costs are then to be uploaded into our accounting system daily. A simplified version of the sheet looks like this.

....................................=b1-a1
Start Date End Date Total Days
8/17/2012.......................-41138 (I would like a current total of days to be updated daily)
.........................................0
.........................................0
8/17/2012...8/19/2012.....2
8/18/2012......................-41139

The problem is there is no running current date (or =today()) anywhere in the workbook. I am not sure how to set up an IF function that will:

1.) read 0 days when there is no start date

2.) have a current number of days from the start date when the end date is left blank (i.e. rentals started 8/1 today is 8/3 it has been 2 days)

3.) Have a final total of days when the start and end date is filled in

Any help is appreciated. Thank you in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default =IF function with current date

On Monday, August 27, 2012 9:49:40 AM UTC-5, ChooseParkay wrote:
Hello,



I am trying to set up a rental sheet that will update the costs daily.

These costs are then to be uploaded into our accounting system daily. A

simplified version of the sheet looks like this.



...................................=b1-a1

Start Date End Date Total Days

8/17/2012.......................-41138 (I would like a current total of

days to be updated daily)

........................................0

........................................0

8/17/2012...8/19/2012.....2

8/18/2012......................-41139



The problem is there is no running current date (or =today()) anywhere

in the workbook. I am not sure how to set up an IF function that will:



1.) read 0 days when there is no start date



2.) have a current number of days from the start date when the end date

is left blank (i.e. rentals started 8/1 today is 8/3 it has been 2

days)



3.) Have a final total of days when the start and end date is filled in



Any help is appreciated. Thank you in advance!









--

ChooseParkay


I would probably develop a macro that would use DATE to set the values and then export to wherever desired. All ONE mouse click with no formulas required.
  #3   Report Post  
Junior Member
 
Posts: 11
Default

Quote:
Originally Posted by Don Guillett[_2_] View Post
On Monday, August 27, 2012 9:49:40 AM

I would probably develop a macro that would use DATE to set the values and then export to wherever desired. All ONE mouse click with no formulas required.
I'm not sure I'm following you on this one. Could you please explain more of how to use a macro with a date function?
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default =IF function with current date

On Monday, August 27, 2012 9:49:40 AM UTC-5, ChooseParkay wrote:
Hello,



I am trying to set up a rental sheet that will update the costs daily.

These costs are then to be uploaded into our accounting system daily. A

simplified version of the sheet looks like this.



...................................=b1-a1

Start Date End Date Total Days

8/17/2012.......................-41138 (I would like a current total of

days to be updated daily)

........................................0

........................................0

8/17/2012...8/19/2012.....2

8/18/2012......................-41139



The problem is there is no running current date (or =today()) anywhere

in the workbook. I am not sure how to set up an IF function that will:



1.) read 0 days when there is no start date



2.) have a current number of days from the start date when the end date

is left blank (i.e. rentals started 8/1 today is 8/3 it has been 2

days)



3.) Have a final total of days when the start and end date is filled in



Any help is appreciated. Thank you in advance!









--

ChooseParkay


Send file to dguillett1 @gmail.com with a complete explanation and this msg
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quarter function based on current date Steele1978 Excel Worksheet Functions 1 June 8th 12 12:00 AM
Need a function or formulae that will return the current date + 1 scott56hannah Excel Worksheet Functions 3 July 28th 06 12:05 AM
WHAT FUNCTION 2 ENTER SO THE CELL TURNS RED AFTER CURRENT DATE awilliams Excel Worksheet Functions 4 June 1st 06 09:40 PM
Function to find row with most current date malik641 Excel Worksheet Functions 3 June 23rd 05 07:05 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 02:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"