+ Reply to Thread
Results 1 to 4 of 4

copying formula

  1. #1
    Registered User
    Join Date
    11-24-2016
    Location
    Perth
    MS-Off Ver
    2016
    Posts
    2

    copying formula

    I have a file with forms for each day of the month, sheet names 1 to 30/31.

    I would like to be able to paste this IFERROR(IF(INDEX('1'!$C$50:$Q$75,MATCH($C4,'1'!$C$50:$C$75,0),2)="Shut-in","",INDEX('1'!$C$50:$Q$75,MATCH($C4,'1'!$C$50:$C$75,0),$A$2+2)),"")

    to other cells, with update of sheet. This is sheet 1 obviously; but when I copy it across the page, is stays as sheet 1, when I want it to progressivly update to sheet 2, 3, ..... etc.

    I'm sure its a simple solution, but not for me!!!!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: copying formula

    Hi, welcome to the forum

    That is 1 of the shortcomings of copying between sheets - the sheet reference wont adjust

    1 way around that would be to use INDIRECT(), but that can become resource-intense if used too much. Can I ask why you feel the need to a sheet per day, instead of 1 sheet for all data, then use summary sheet/s to extract the data as needed?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-24-2016
    Location
    Perth
    MS-Off Ver
    2016
    Posts
    2

    Re: copying formula

    Hi Ford

    Good to be in forum.

    I receive daily report sheets from the field and want to consolidate some of the (more important) data into monthly and annual reports for quick look purposes, rather than opening every sheet.

    Regards

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: copying formula

    It sounds like you already add the daily files to your "master" file? If you do, then it might be simpler to just put each day's data below the previous day's data, the run summaries from that?

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like, then I can show you what I mean

+ 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] Copying formula result to new cell, without copying formula itself
    By nappyjim1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2016, 02:24 AM
  2. Replies: 6
    Last Post: 04-25-2014, 10:31 AM
  3. Copying and pasting formula into specific range based on a formula value
    By akwishestofish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2012, 01:12 PM
  4. Replies: 1
    Last Post: 04-30-2012, 10:01 PM
  5. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  6. Copying cell formula with a constant formula value
    By Khaldon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-18-2012, 06:59 AM
  7. Copying formula to new worksheet: how to stop formula linking to original source?
    By test-card girl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2007, 07:32 AM

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