EXCEL: Change dates that occur in a range across months into the last month of the range -


i work retail company, , receive daily excel report including skus on order , 'ship date', can span day of month. need generalize these ship dates "delivery months", or month receipt goods @ our fulfillment center. example, sku ship date falling between 1/15/17 , 2/15/17 have delivery month of 2/17, etc.

i've tried playing around month() function haven't gotten anywhere.

with data in column a, in b1 enter:

=if(day(a1)<15,date(year(a1),month(a1),1),date(year(a1),month(a1)+1,1)) 

and copy down:

enter image description here

format column b suit needs.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -