+ Reply to Thread
Results 1 to 6 of 6

Copy + paste not working as "normal"

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    26

    Copy + paste not working as "normal"

    Hello,

    I don't know why this is happaening.

    But I have formula like =January!A1+1 on sheet 2. Then when I normally copy that cell to sheet 3, the formula normally would chance to "February!A1+1". Now it keeps the same formula "January!A1+1" even if I try to use any of paste methods.

    Any idea? I do not use the $-signs of course..

    Best Regards,

    T

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Copy + paste not working as "normal"

    I would expect that what you describe is correct - if you are talking about sheet2 being called "January" and sheet3 being called "February" then if you copy
    =JanuaryA1+1 from sheet2 to sheet3 it would remain = JanuaryA1+1
    if you copy
    =A1+1 from sheet2 to sheet3 it would remain =A1+1 when moved to the next sheet, in essence changing the sheet reference.

    So if you copy and paste across sheets with a sheet reference typed in it stays the same.

    Unless you are talking about in one workbook where you had some sort of macro set up to deal with the sheet renaming.

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Copy + paste not working as "normal"

    Hi,

    Otherwise correct, but Sheet 1= "January", Sheet 2 = "February" Sheet 3= "March". On sheet 1 A1="1" and on sheet 2 A1=JanuaryA1+1.
    I have always done this, in excel and open office, and never had the problem. Now Im using the newest Excel and previous I've used 2010/2003.

    How can that be.. How can Ithen get formula to funtion as wanted?

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Copy + paste not working as "normal"

    I use excel 2003 and it doen't really work for me.
    I would suggest
    =MONTH("01/"&(MID(CELL("filename"),FIND("]",CELL("filename"),1)+1,100))&"/2013")
    woudl return the values that you want (i.e. it will put the sheet name in A1 as a month number)

  5. #5
    Registered User
    Join Date
    10-08-2012
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Copy + paste not working as "normal"

    Ehrr, can not be! One way is to do this with prev sheet macro, but I rather not use that as it may now work in every computer. Your example does not do, because I have like 20 sections to which I should use previous sheet reference and therefore it is way too effortable to do it like this.

    Weird thing.. Well, no can do.

    Thanks anyway!

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Copy + paste not working as "normal"

    Yeah I don't think you can do this without a macro, it might be possible using get.workbook() or get.worksheet() to return properties of the sheets (I can't get this to work)... Unless you can derive a pattern from your sheet names to obtain the numbering from I don't think you can do it by formula.
    Last edited by ragulduy; 11-26-2013 at 08:31 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Copy multiple rows that contain a certain "name" in column "A" then paste it into new work
    By rschlot2 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-18-2013, 02:25 PM
  2. [SOLVED] Loop to check for "yes" then copy the IDs with "yes" and paste to other workbook
    By Hallet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-11-2012, 12:41 PM
  3. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 PM
  4. Replies: 2
    Last Post: 09-08-2011, 11:17 AM
  5. cell to change color =IF(B7>53,"Critical","Normal")
    By fgiord in forum Excel General
    Replies: 3
    Last Post: 08-18-2005, 05:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1