LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Adding columns with dates -

=IF(countA(L30,M30,O30,P30)=0,0,IF(M30=O30,N(Q30)+ N(N30)-
1,N (Q30)+N(N30)))
The above formula does not work - it gives me "# null" in
the column if there should be a total and the -1 is still
there when there is not information in the columns as
shown below in row 2 - HELP !! I sure appreciate it ! I
am at a total loss on this one


Previous quest below:

In using the following formula I encounter a problem - if
the columns have no information a -1 appears in the total -
is there a way to use this formula and have it recognize
when all cells are empty ? IF(M30=O30,N(Q30)+N(N30)-1,N
(Q30)+N(N30)) Help thanks - example of what
I am trying to accomplish below


Column A B C D E F G
03/03/04 03/03/4 1 03/03/04 03/05/04 3 3
-1
03/03/04 03/03/04 1 1
03/03/04 03/04/04 2 2
03/03/04 03/04/04 2 03/05/04 03/07/04 3 5
Explanation
My formula has to recognize the first date as day 1 and if
in and out day are the say in the subtraction it is one
not zero - (it is accomplishing this) it must also
recognize that if column B & D are the same D can not be
counted (it is doing this) the problem is when the cells
are completely empty the formula is giving me a total of -
1 or that they owe me one day labor - can you help ???
Thank you

Katherine

 
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
Adding dates in columns Roy Excel Worksheet Functions 2 April 12th 10 03:25 AM
Adding columns using dates, but getting wrong data Griffey5 Excel Worksheet Functions 3 January 8th 09 03:29 AM
adding columns if the dates are the same and getting OT hours Griffey5 Excel Worksheet Functions 1 January 7th 09 12:58 AM
adding columns if dates are the same Griffey5 Excel Worksheet Functions 4 January 6th 09 11:41 PM
How can I insert columns of dates in between exsisting columns of PJS Excel Discussion (Misc queries) 1 December 22nd 08 03:22 PM


All times are GMT +1. The time now is 11:31 AM.

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

About Us

"It's about Microsoft Excel"