ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Copy a number from one cell to another depending on first number (https://www.excelbanter.com/excel-worksheet-functions/24638-copy-number-one-cell-another-depending-first-number.html)

marcia driscoll

Copy a number from one cell to another depending on first number
 
I have a column with dates and want to copy dates into another cell depending
on the month number

Bernie Deitrick

Marcia,

Perhaps:

=IF(MONTH(A1)=1,A1,"")

Format the cell as a date.

HTH,
Bernie
MS Excel MVP


"marcia driscoll" <marcia wrote in
message ...
I have a column with dates and want to copy dates into another cell

depending
on the month number




marcia driscoll

It worked. Thank you very much

"marcia driscoll" wrote:

I have a column with dates and want to copy dates into another cell depending
on the month number


marcia driscoll

It worked. Thank you

"Bernie Deitrick" wrote:

Marcia,

Perhaps:

=IF(MONTH(A1)=1,A1,"")

Format the cell as a date.

HTH,
Bernie
MS Excel MVP


"marcia driscoll" <marcia wrote in
message ...
I have a column with dates and want to copy dates into another cell

depending
on the month number






All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com