+ Reply to Thread
Results 1 to 3 of 3

Increment sheets number between 2 workbooks

  1. #1
    Registered User
    Join Date
    04-29-2021
    Location
    Egypt
    MS-Off Ver
    2007,2016,2019
    Posts
    2

    Increment sheets number between 2 workbooks

    I have 2 workbooks each of 31 worksheets. The 1st one contains data of which I want to calculate the average in the 2nd workbook separately for each worksheet. I used the function
    =AVERAGE(INDIRECT("'C:\Users\lab9\Desktop\H\shift\[AN (32).xlsx]"&1&"'!$B$7:$B$18"))
    How can I increment the number from 1 to 31 in that formula when copying sheets from 1 to 31 or when copy the formula from one sheet to another????

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Increment sheets number between 2 workbooks

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    As you are new I will add it for you this time https://www.mrexcel.com/board/thread...books.1169515/

  3. #3
    Registered User
    Join Date
    04-29-2021
    Location
    Egypt
    MS-Off Ver
    2007,2016,2019
    Posts
    2

    Re: Increment sheets number between 2 workbooks

    I wish you accept my apologize as I forget to do that.

+ 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. Replies: 13
    Last Post: 02-18-2021, 12:07 PM
  2. VBA To Increment Sheets With The Same Name By 1
    By tellemwhyumad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2014, 10:59 AM
  3. Search worksheet for certain text + number combo and then increment the number
    By hal9000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-09-2013, 06:09 PM
  4. Replies: 2
    Last Post: 11-29-2012, 04:56 AM
  5. Replies: 0
    Last Post: 11-29-2012, 04:50 AM
  6. Export several sheets to number of different workbooks
    By thylander in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2011, 12:12 PM
  7. Generic Page Setup Macro applied to multiple workbooks with varying number of sheets
    By sowetoddid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2005, 11:45 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