ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date calculations resulting in negative numbers and averages (https://www.excelbanter.com/excel-worksheet-functions/227231-date-calculations-resulting-negative-numbers-averages.html)

Radrays

Date calculations resulting in negative numbers and averages
 
Thank you for your time - I have a two fold question please.

I am currently using =DAYS360(C3,D3) to calculate aging betwen dates. Is
there a way to leave blank any cell with a value less than zero?

Is there a formula I can use to take my calculated values from above and
find the average aging?

Thanks again,
Radrays
Using XP - Office 2007

Gary''s Student

Date calculations resulting in negative numbers and averages
 
=IF(DAYS360(C3,D3)<0,"",DAYS360(C3,D3))
--
Gary''s Student - gsnu200845

Radrays

Date calculations resulting in negative numbers and averages
 
Perfect...thank you for today's and yesterday's help!

"Gary''s Student" wrote:

=IF(DAYS360(C3,D3)<0,"",DAYS360(C3,D3))
--
Gary''s Student - gsnu200845


Gary''s Student

Date calculations resulting in negative numbers and averages
 
You are quite welcome.
Thank you for the feedback.
--
Gary''s Student - gsnu200845


"Radrays" wrote:

Perfect...thank you for today's and yesterday's help!

"Gary''s Student" wrote:

=IF(DAYS360(C3,D3)<0,"",DAYS360(C3,D3))
--
Gary''s Student - gsnu200845


Dave Peterson

Date calculations resulting in negative numbers and averages
 
If you're just subtracting dates, then you should use:

=d3-c3
(and format the cell as General (not date).)

Or
=if(d3<c3,"",d3-c3)
(still formatted as general.)



Radrays wrote:

Thank you for your time - I have a two fold question please.

I am currently using =DAYS360(C3,D3) to calculate aging betwen dates. Is
there a way to leave blank any cell with a value less than zero?

Is there a formula I can use to take my calculated values from above and
find the average aging?

Thanks again,
Radrays
Using XP - Office 2007


--

Dave Peterson


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com