Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bucksnut
 
Posts: n/a
Default What does this formula mean?

What does this formula mean?

=IF(DATEDIF(K4,"12/31/2004","m")=20,0,IF(DATEDIF(K4,"12/31/2004","m")<8,0,Q4/12))
  #2   Report Post  
 
Posts: n/a
Default

Hi

This looks at the difference in months between K4 and 31st December 04 and
if it is more than or equal to 20, or less than 8 it will put a zero in the
cell. If it is neither of these (ie between 9 and 19) if will put in Q4/12
(ie the figure in cell Q4 divided by 12)

Andy.

"Bucksnut" wrote in message
...
What does this formula mean?

=IF(DATEDIF(K4,"12/31/2004","m")=20,0,IF(DATEDIF(K4,"12/31/2004","m")<8,0,Q4/12))



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

and it can be simplified to

=IF(AND(DATEDIF(K4,"12/31/2004","m")=20,DATEDIF(K4,"12/31/2004","m")<8),0,Q
4/12))


--

HTH

RP
(remove nothere from the email address if mailing direct)


<Andy wrote in message ...
Hi

This looks at the difference in months between K4 and 31st December 04 and
if it is more than or equal to 20, or less than 8 it will put a zero in

the
cell. If it is neither of these (ie between 9 and 19) if will put in Q4/12
(ie the figure in cell Q4 divided by 12)

Andy.

"Bucksnut" wrote in message
...
What does this formula mean?


=IF(DATEDIF(K4,"12/31/2004","m")=20,0,IF(DATEDIF(K4,"12/31/2004","m")<8,0,Q
4/12))




  #4   Report Post  
 
Posts: n/a
Default

Bob

I think you mean:
=IF(OR(DATEDIF(K4,"12/31/2004","m")=20,DATEDIF(K4,"12/31/2004","m")<8),0,Q4/12))

Andy.


"Bob Phillips" wrote in message
...
and it can be simplified to

=IF(AND(DATEDIF(K4,"12/31/2004","m")=20,DATEDIF(K4,"12/31/2004","m")<8),0,Q
4/12))


--

HTH

RP
(remove nothere from the email address if mailing direct)


<Andy wrote in message ...
Hi

This looks at the difference in months between K4 and 31st December 04
and
if it is more than or equal to 20, or less than 8 it will put a zero in

the
cell. If it is neither of these (ie between 9 and 19) if will put in
Q4/12
(ie the figure in cell Q4 divided by 12)

Andy.

"Bucksnut" wrote in message
...
What does this formula mean?


=IF(DATEDIF(K4,"12/31/2004","m")=20,0,IF(DATEDIF(K4,"12/31/2004","m")<8,0,Q
4/12))






  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Indeed I did Andy. Thanks

Bob


<Andy wrote in message ...
Bob

I think you mean:

=IF(OR(DATEDIF(K4,"12/31/2004","m")=20,DATEDIF(K4,"12/31/2004","m")<8),0,Q4
/12))

Andy.


"Bob Phillips" wrote in message
...
and it can be simplified to


=IF(AND(DATEDIF(K4,"12/31/2004","m")=20,DATEDIF(K4,"12/31/2004","m")<8),0,Q
4/12))


--

HTH

RP
(remove nothere from the email address if mailing direct)


<Andy wrote in message ...
Hi

This looks at the difference in months between K4 and 31st December 04
and
if it is more than or equal to 20, or less than 8 it will put a zero in

the
cell. If it is neither of these (ie between 9 and 19) if will put in
Q4/12
(ie the figure in cell Q4 divided by 12)

Andy.

"Bucksnut" wrote in message
...
What does this formula mean?



=IF(DATEDIF(K4,"12/31/2004","m")=20,0,IF(DATEDIF(K4,"12/31/2004","m")<8,0,Q
4/12))








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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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