Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Functions/formula

start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 1 1

I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.













































































































































































































  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Functions/formula

Dear Kandy

Try the below...in D9 and copy to the other columns upto O9

=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+8,1 ))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+ 12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8)),1,"")

I am sure there should be a simpler one...

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


"kandy" wrote:

start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 1 1

I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.













































































































































































































  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Functions/formula

Forgot to mention that Range D8:O8 should be formatted as date.....
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Dear Kandy

Try the below...in D9 and copy to the other columns upto O9

=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+8,1 ))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+ 12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8)),1,"")

I am sure there should be a simpler one...

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


"kandy" wrote:

start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 1 1

I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.













































































































































































































  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Functions/formula

in D9

=IF(MOD(COLUMN()*3-MONTH($K$3),9),"",1)

then drag/copy right

If this post helps please click YES


On 22 Maj, 08:09, Jacob Skaria
wrote:
Forgot to mention that Range D8:O8 should be formatted as date.....
--
If this post helps click Yes
---------------
Jacob Skaria



"Jacob Skaria" wrote:
Dear Kandy


Try the below...in D9 and copy to the other columns upto O9


=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEARÂ*(TODAY()),MONTH($K$3)+8 ,1))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K$3 )+Â*12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8)),1,"")


I am sure there should be a simpler one...


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


"kandy" wrote:


start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â*


I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Functions/formula

or

=IF(MOD(COLUMN()*3-MONTH($K$3),9),,1)

and custom format cells as 0;-0;



On 22 Maj, 11:30, Jarek Kujawa wrote:
in D9

=IF(MOD(COLUMN()*3-MONTH($K$3),9),"",1)

then drag/copy right

If this post helps please click YES

On 22 Maj, 08:09, Jacob Skaria
wrote:



Forgot to mention that Range D8:O8 should be formatted as date.....
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:
Dear Kandy


Try the below...in D9 and copy to the other columns upto O9


=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEARÂ*Â*(TODAY()),MONTH($K$3) +8,1))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH($K $3)Â*+Â*12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8)),1, "")


I am sure there should be a simpler one...


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


"kandy" wrote:


start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â*


I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Functions/formula

simpler

=IF(MOD(COLUMN()-MONTH($K$3)-1,3),,1)



On 22 Maj, 12:23, Jarek Kujawa wrote:
or

=IF(MOD(COLUMN()*3-MONTH($K$3),9),,1)

and custom format cells as 0;-0;

On 22 Maj, 11:30, Jarek Kujawa wrote:



in D9


=IF(MOD(COLUMN()*3-MONTH($K$3),9),"",1)


then drag/copy right


If this post helps please click YES


On 22 Maj, 08:09, Jacob Skaria
wrote:


Forgot to mention that Range D8:O8 should be formatted as date.....
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:
Dear Kandy


Try the below...in D9 and copy to the other columns upto O9


=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEARÂ*Â*Â*(TODAY()),MONTH($K$ 3)+8,1))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH( $K$3Â*)Â*+Â*12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8) ),1,"")


I am sure there should be a simpler one...


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


"kandy" wrote:


start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â*


I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kay Kay is offline
external usenet poster
 
Posts: 129
Default Functions/formula

THIS FORMULA WORKED PERFECT WHEN I CHANGE THE 3 TO 4! THANK YOU.
--
KK


"Jarek Kujawa" wrote:

simpler

=IF(MOD(COLUMN()-MONTH($K$3)-1,3),,1)



On 22 Maj, 12:23, Jarek Kujawa wrote:
or

=IF(MOD(COLUMN()*3-MONTH($K$3),9),,1)

and custom format cells as 0;-0;

On 22 Maj, 11:30, Jarek Kujawa wrote:



in D9


=IF(MOD(COLUMN()*3-MONTH($K$3),9),"",1)


then drag/copy right


If this post helps please click YES


On 22 Maj, 08:09, Jacob Skaria
wrote:


Forgot to mention that Range D8:O8 should be formatted as date.....
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:
Dear Kandy


Try the below...in D9 and copy to the other columns upto O9


=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEARÂ*Â*Â*(TODAY()),MONTH($K$ 3)+8,1))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONTH( $K$3Â*)Â*+Â*12,1))=MONTH(D8),MONTH($K$3)=MONTH(D8) ),1,"")


I am sure there should be a simpler one...


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


"kandy" wrote:


start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 1 1


I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Functions/formula

this was my first idea, I switched from 4 to 3 since there is 1
beneath Oct

pls click YES if this helped you



On 22 Maj, 20:51, Kay wrote:
THIS FORMULA WORKED PERFECT WHEN I CHANGE THE 3 TO 4! Â*THANK YOU.
--
KK



"Jarek Kujawa" wrote:
simpler


=IF(MOD(COLUMN()-MONTH($K$3)-1,3),,1)


On 22 Maj, 12:23, Jarek Kujawa wrote:
or


=IF(MOD(COLUMN()*3-MONTH($K$3),9),,1)


and custom format cells as 0;-0;


On 22 Maj, 11:30, Jarek Kujawa wrote:


in D9


=IF(MOD(COLUMN()*3-MONTH($K$3),9),"",1)


then drag/copy right


If this post helps please click YES


On 22 Maj, 08:09, Jacob Skaria
wrote:


Forgot to mention that Range D8:O8 should be formatted as date......
--
If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:
Dear Kandy


Try the below...in D9 and copy to the other columns upto O9


=IF(OR(MONTH(DATE(YEAR(TODAY()),MONTH($K$3)+4,1))= MONTH(D8),MONTH(DATE(YEARÂ*Â*Â*Â*(TODAY()),MONTH($ K$3)+8,1))=MONTH(D8),MONTH(DATE(YEAR(TODAY()),MONT H($K$Â*3Â*)Â*+Â*12,1))=MONTH(D8),MONTH($K$3)=MONTH (D8)),1,"")


I am sure there should be a simpler one...


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


"kandy" wrote:


start date: 03/26/06( this is in cell k3)


Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun ( these are from cell D8:O8)
1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* Â* 1 Â* Â* Â* Â* Â* Â* Â* Â* Â*


I need a formula that can calculate and issue the number 1 every four months
as above; using the start date to issue the first one.- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


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
Formula behind functions VolkerB Excel Worksheet Functions 3 April 23rd 09 11:14 AM
Add several functions in one formula Brile Excel Worksheet Functions 9 October 4th 08 11:57 AM
How to convert cell formula functions to code functions Adnan Excel Discussion (Misc queries) 1 October 1st 08 08:30 PM
formula/functions for average and if functions Petu71 Excel Worksheet Functions 2 August 5th 07 08:25 PM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM


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