ManiacMark
New Member
- Joined
- Apr 12, 2008
- Messages
- 4
Hello,
First time poster. I've been searching for a way to do this for a couple of days now.
I am basically writing a perl script to scrape data off of a report text file to a new text file that is formatted for excel. This data is then imported into excel and i want to insert functions into the text file so the user does not have to put the functions manually into the thousands of rows.
The problem is that the the data can be imported anywhere into an existing spreadsheet so my formula can not use standard cell address's. For example i need a formula that says =hour(cell to my right) or =text(cell to my right, "ddd").
I have tried things like =text(offset(cell("address"),,1),"ddd") but it looks like the offset function can not use a function to return the address. Putting just cell("address") into any cell returns the current cell address so i don't know why it can not be used.
All ideas appreciated.
First time poster. I've been searching for a way to do this for a couple of days now.
I am basically writing a perl script to scrape data off of a report text file to a new text file that is formatted for excel. This data is then imported into excel and i want to insert functions into the text file so the user does not have to put the functions manually into the thousands of rows.
The problem is that the the data can be imported anywhere into an existing spreadsheet so my formula can not use standard cell address's. For example i need a formula that says =hour(cell to my right) or =text(cell to my right, "ddd").
I have tried things like =text(offset(cell("address"),,1),"ddd") but it looks like the offset function can not use a function to return the address. Putting just cell("address") into any cell returns the current cell address so i don't know why it can not be used.
All ideas appreciated.