Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
I am creating a copy of a worksheet into a new workbook and all of the
formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
You have links. I use Copy Paste Special Formulas.
" wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Gord,
Great idea, I was overthinking it. Some of the formulas are over 255 characters so they wont transfer properly, but its better than updating 100 of links. Thanks, Ryan Gord Dibben wrote: One method which always works is......... Before copying to new workbook do an EditReplace what: = with: ^^^^ Replace all. Copy to the new workbook and reverse the replace process. Close source workbook without saving or reverse the replace there also. I find just closing without save is easiest for me. Gord Dibben MS Excel MVP On 23 Aug 2006 11:29:53 -0700, wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Tra deCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Tra deCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
I think the easiest solution would be to copy the sheets that are 'linked to'
at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Seems that when I try any type of Cut/Paste or Cut/Paste Special it
still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Another thought.
Right-click on the sheet tab and "move or copy" Check mark in "create a copy" and pick New Book from the "to book" dialog. Gord On 23 Aug 2006 13:10:43 -0700, wrote: Seems that when I try any type of Cut/Paste or Cut/Paste Special it still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#8
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Nope...........forget that one too.
The editreplace seems the best way to go. Gord On Wed, 23 Aug 2006 14:08:12 -0700, Gord Dibben <gorddibbATshawDOTca wrote: Another thought. Right-click on the sheet tab and "move or copy" Check mark in "create a copy" and pick New Book from the "to book" dialog. Gord On 23 Aug 2006 13:10:43 -0700, wrote: Seems that when I try any type of Cut/Paste or Cut/Paste Special it still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan Gord Dibben MS Excel MVP |
#9
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Yeah, seems that the editreplace is the only way to do it.
Thanks for the tip. Ryan Gord Dibben wrote: Nope...........forget that one too. The editreplace seems the best way to go. Gord On Wed, 23 Aug 2006 14:08:12 -0700, Gord Dibben <gorddibbATshawDOTca wrote: Another thought. Right-click on the sheet tab and "move or copy" Check mark in "create a copy" and pick New Book from the "to book" dialog. Gord On 23 Aug 2006 13:10:43 -0700, wrote: Seems that when I try any type of Cut/Paste or Cut/Paste Special it still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan Gord Dibben MS Excel MVP |
#10
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
Sorry for not replying sooner, but my approach does work; I do it all the time.
To copy the sheets all at once you must select them as a group before copying them. You can then copy them by dragging the grouped sheets with the right mouse button pressed into the new workbook. If this is done then the copied sheets will reference each other, not the source workbook. TK " wrote: Seems that when I try any type of Cut/Paste or Cut/Paste Special it still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan |
#11
Posted to microsoft.public.excel.misc
|
|||
|
|||
Do not want formulas to reference old workbook.
You can use Edit | Replace (or CTRL-H) after highlighting all cells in
the sheet in the new workbook to remove the references to the old file directly, i.e.: Find What: [oldworkbook.xls] Replace with: leave blank then click Replace All. You will need both files to be open, otherwise the reference to [oldworkbook.xls] will expand to include the full path. Hope this helps. Pete wrote: Yeah, seems that the editreplace is the only way to do it. Thanks for the tip. Ryan Gord Dibben wrote: Nope...........forget that one too. The editreplace seems the best way to go. Gord On Wed, 23 Aug 2006 14:08:12 -0700, Gord Dibben <gorddibbATshawDOTca wrote: Another thought. Right-click on the sheet tab and "move or copy" Check mark in "create a copy" and pick New Book from the "to book" dialog. Gord On 23 Aug 2006 13:10:43 -0700, wrote: Seems that when I try any type of Cut/Paste or Cut/Paste Special it still copies the reference. Thanks, R T Kirtley wrote: I think the easiest solution would be to copy the sheets that are 'linked to' at the same time as the sheet that they are 'linked from'. In other words, group all the related sheets in the initial workbook (use Ctrl^Clicks to select each), and copy/paste them into a new workbook all at once. This way the formulas in the copied sheets should no longer be linked to the original workbook, but to the copies that were made. HTH, TK " wrote: I am creating a copy of a worksheet into a new workbook and all of the formulas automatically reference the old workbook. For example: Formula in Old Workbook is =R9*L17+GETPIVOTDATA("Billing Amount",'Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") Once I create a copy of the worksheet which contains this formula and others like it into a new workbook, the formula automatically changes too =R9*L17+GETPIVOTDATA("Billing Amount",'[oldworkbook.xls]Labor Pivot'!$A$6,"StatementDate",DATE(2006,8,20)","Trad eCode","F04") I just want the same formula to be copied to the new workbook, not pull from the old workbook. Please help. Ryan Gord Dibben MS Excel MVP |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Formulas getting information from 1 workbook to another | Excel Worksheet Functions | |||
cell reference in another workbook | Excel Discussion (Misc queries) | |||
Dynamic reference to workbook | Excel Worksheet Functions | |||
Help to import data from reference workbook | Excel Discussion (Misc queries) | |||
Relative worksheet reference in 3-D formulas? | Excel Worksheet Functions |