Question : Excel Formula help

Hi need a formula for...
Excel 2010

if cell A2 has a date 5/31/2010, I need a formula in cell B2 that will give me the last date of the previous month (date value).

no matter what the date value in A2...B2 should give the last date of the previous month

If A2 = 5/31/2010 ... B2 = 4/30/2010
If A2 = 6/17/2010 ... B2 = 5/31/2010

Answer : Excel Formula help

=A2-Day(A2)

Kevin
Random Solutions  
 
programming4us programming4us