#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Split by half month

Hi,

I am using this formula to calculate if go-live is in a paricular
month.

=IF(AND(S$4=DATE(YEAR($G5),MONTH($G5),1),S
$4<=DATE(YEAR($G5),MONTH($G5)+1,0)),"go-live","")

What I would like to do now is split the month in half. I want to work
out which half of the month the go-live is in.

e.g. So the first cell will be 01/03/07 to 15/03/07 and the second
cell will be 16/03/07 to 31/03/07. The same for each of the other
months.

Thanks in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Split by half month

The 1 at the end of this statement says to compare datte against the 1st of
the month. MONTH($G5),1

change the 1 to a 15 to compare with the 15th of the month.

"AlanStotty" wrote:

Hi,

I am using this formula to calculate if go-live is in a paricular
month.

=IF(AND(S$4=DATE(YEAR($G5),MONTH($G5),1),S
$4<=DATE(YEAR($G5),MONTH($G5)+1,0)),"go-live","")

What I would like to do now is split the month in half. I want to work
out which half of the month the go-live is in.

e.g. So the first cell will be 01/03/07 to 15/03/07 and the second
cell will be 16/03/07 to 31/03/07. The same for each of the other
months.

Thanks in advance for your help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Split by half month

See previous posting

"AlanStotty" wrote:

Hi,

I am using this formula to calculate if go-live is in a paricular
month.

=IF(AND(S$4=DATE(YEAR($G5),MONTH($G5),1),S
$4<=DATE(YEAR($G5),MONTH($G5)+1,0)),"go-live","")

What I would like to do now is split the month in half. I want to work
out which half of the month the go-live is in.

e.g. So the first cell will be 01/03/07 to 15/03/07 and the second
cell will be 16/03/07 to 31/03/07. The same for each of the other
months.

Thanks in advance for your help.


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
can you fill only half of a cell Kristen Excel Discussion (Misc queries) 4 April 4th 23 02:18 PM
Replacing half a formula dpal Excel Discussion (Misc queries) 4 February 24th 07 08:43 PM
How to split (half) one cell w/o changing col or rows. Landy2130 Excel Discussion (Misc queries) 11 December 29th 06 07:44 PM
HOW DO I SPLIT ONE CELL IN HALF WITHIN ONE ROW? Blondie Excel Discussion (Misc queries) 4 October 10th 06 03:52 AM
Countif that can i half Joel Excel Discussion (Misc queries) 1 January 5th 06 08:18 PM


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