Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REPT Function Excel 1

Status
Not open for further replies.

WingandaPrayer

Technical User
May 15, 2001
152
Is there a function similar to REPT which will repeat Date/Time rather than Text.


Thanks


David
 
Hi,
Can you explain what this function does more completely? Skip,
metzgsk@voughtaircraft.com
 
Skip,

If I use this as an example

Sheet 1
Cells
Row A
1 test
2 testing
3 etc

In Sheet 2 if I use the REPT function the cells will be copied from Sheet 1 to 2
REPT will only copy text.I'm looking for another one in Excel(sorry should have said before)to copy Date/Time as I enter data into a cell.

Thanks for the quick response.


David

 
Hi,
No function, but here's a formula...
Code:
=IF(LEFT(CELL("format",A1),1)="D",A1,"")
where A1 has the value to be "copied" -- only copies Date/Time formatted values. you will have to format the cell with the fornula as Date/Time

Hope this helps :) Skip,
metzgsk@voughtaircraft.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top