Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default copy cell based on date

what I'm trying to do is copy a cell to a different cell based on date (day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this =if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default copy cell based on date

what I'm trying to do is copy a cell to a different cell based on date
(day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this
=if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?


TODAY is a date and DAY(15) is an error. You need to apply the DAY function
to TODAY() and then see if that is 15...

=IF(DAY(TODAY())=15,A1,"")

Rick

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 695
Default copy cell based on date

=IF(DAY(B1)=15,A1,"")


"Dreamstar_1961" skrev:

what I'm trying to do is copy a cell to a different cell based on date (day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this =if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default copy cell based on date

I worked out the formla but noe need to know how to stop an if fuction from
show false if it don't match and leave what was there in the first place.

"Dreamstar_1961" wrote:

what I'm trying to do is copy a cell to a different cell based on date (day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this =if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default copy cell based on date

what I'm trying to do is copy a cell to a different cell based on date
(day),
A1 34 b1 todays date c1 copys only if todays say = 15th
I thought the formula woul look something like this
=if(today()=day(15),a1,"")
but that don't work.
is this possiable at all?


I worked out the formla but noe need to know how to stop an if fuction from
show false if it don't match and leave what was there in the first place.


Leave what was where in the first place? You can't have a formula and a
value in the same cell.... if you have a formula, it must generate the
cell's content.

Rick

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
Copy row based on cell content billinr New Users to Excel 6 February 21st 07 01:49 PM
Copy rows from one sheet to another based on a cell value SM1 New Users to Excel 1 December 21st 06 01:00 AM
Copy Color Formats Based On Column Date Values Naji Excel Discussion (Misc queries) 0 January 11th 06 09:06 PM
Autofill date based on date in another cell karstens Excel Worksheet Functions 1 June 1st 05 12:55 AM
Using formulas to determine date in one cell based on date in anot Gary Excel Worksheet Functions 2 November 22nd 04 08:11 AM


All times are GMT +1. The time now is 06:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"