Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Time Calculation Question

I am creating a report to reflect turnaround times:

the data is in the following format:

A B
C
1 3/14/2008 8:55:00 AM 3/18/2008 12:55:00 PM calculation

to calc the difference I have been just using B1-A1 and using general format
to get into days (this is repeated for many more columns to build a time line
so to speak)

the problem I am running into is not all the fields have values in them...

so when I run the formula I get a negative number that messes up averages
etc...

any recommendations?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Time Calculation Question

What I would like to do is IF the cell is Blank Use colum "X" instead---

"Memphus01" wrote:

I am creating a report to reflect turnaround times:

the data is in the following format:

A B
C
1 3/14/2008 8:55:00 AM 3/18/2008 12:55:00 PM calculation

to calc the difference I have been just using B1-A1 and using general format
to get into days (this is repeated for many more columns to build a time line
so to speak)

the problem I am running into is not all the fields have values in them...

so when I run the formula I get a negative number that messes up averages
etc...

any recommendations?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Time Calculation Question

nm - - I was having a slow brain day! :-)

"Memphus01" wrote:

What I would like to do is IF the cell is Blank Use colum "X" instead---

"Memphus01" wrote:

I am creating a report to reflect turnaround times:

the data is in the following format:

A B
C
1 3/14/2008 8:55:00 AM 3/18/2008 12:55:00 PM calculation

to calc the difference I have been just using B1-A1 and using general format
to get into days (this is repeated for many more columns to build a time line
so to speak)

the problem I am running into is not all the fields have values in them...

so when I run the formula I get a negative number that messes up averages
etc...

any recommendations?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Time Calculation Question

=IF(COUNT(A1,B1)=2,B1-A1,X1) or
=IF(OR(A1="",B1=""),X1,B1-A1)
--
David Biddulph

"Memphus01" wrote in message
...
What I would like to do is IF the cell is Blank Use colum "X" instead---

"Memphus01" wrote:

I am creating a report to reflect turnaround times:

the data is in the following format:

A B
C
1 3/14/2008 8:55:00 AM 3/18/2008 12:55:00 PM
calculation

to calc the difference I have been just using B1-A1 and using general
format
to get into days (this is repeated for many more columns to build a time
line
so to speak)

the problem I am running into is not all the fields have values in
them...

so when I run the formula I get a negative number that messes up averages
etc...

any recommendations?



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
Time-calculation question Lars Excel Discussion (Misc queries) 3 March 7th 08 07:29 PM
Time difference calculation question Bob Wall Excel Worksheet Functions 1 January 2nd 08 05:25 AM
Stop time - start time calculation squack21 Excel Worksheet Functions 5 December 10th 07 03:20 PM
Question calculation time and Index formula S Davis Excel Worksheet Functions 8 November 7th 06 11:41 PM
Stupid question -- time calculation Markndawoods Excel Discussion (Misc queries) 4 July 3rd 06 10:25 PM


All times are GMT +1. The time now is 02:00 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"