Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Calculating a date


Cell A1 ~ Jan 1, 2009
Cell B1 ~ [if Cell A is a date, multiple by 8]

Basically, I want the cell to acknowledged that a day is equal to 8 hours.
Can you help to figure out how can I do this?

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Calculating a date

The below formula will return D1 to D5 if cell A1 contains a date...Refer
help on CELL function

=CELL("format",A1)

If this post helps click Yes
---------------
Jacob Skaria


"Jafferi" wrote:


Cell A1 ~ Jan 1, 2009
Cell B1 ~ [if Cell A is a date, multiple by 8]

Basically, I want the cell to acknowledged that a day is equal to 8 hours.
Can you help to figure out how can I do this?

Thank you in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Calculating a date

Jafferi

The CELL function check the format only. Even if you dont have data it still
return a value. If you want to check whether a date is present or not; you
can try the below which returns 8 if a date is present...Is that you are
looking for...

=IF(ISERROR(DAY(A1)),,8)

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

The below formula will return D1 to D5 if cell A1 contains a date...Refer
help on CELL function

=CELL("format",A1)

If this post helps click Yes
---------------
Jacob Skaria


"Jafferi" wrote:


Cell A1 ~ Jan 1, 2009
Cell B1 ~ [if Cell A is a date, multiple by 8]

Basically, I want the cell to acknowledged that a day is equal to 8 hours.
Can you help to figure out how can I do this?

Thank you in advance.

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
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 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
Calculating due date? Loyalise Excel Worksheet Functions 2 November 2nd 04 07:38 AM
Calculating due date? Loyalise Excel Worksheet Functions 0 November 2nd 04 03:29 AM


All times are GMT +1. The time now is 08:00 AM.

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"