Closed Thread
Results 1 to 5 of 5

increments

  1. #1
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    increments

    I cant get this one right,

    In colom A, row 1 I have this formula:
    =COUNTIF('[DAILY REPORTS AND ROUTES.xlsx]1'!$M$4:$M$8,"Y")
    colom A, row 2:
    =COUNTIF('[DAILY REPORTS AND ROUTES.xlsx]2'!$M$4:$M$8,"Y")
    colom A row 3:
    =COUNTIF('[DAILY REPORTS AND ROUTES.xlsx]3'!$M$4:$M$8,"Y")
    Now my question:
    1)How can I drag colom B-G so the formula automaticly change the cell ref to the next one, eg
    =COUNTIF('[DAILY REPORTS AND ROUTES.xlsx]1'!$M$4:$M$8,"Y")
    becomes
    =COUNTIF('[DAILY REPORTS AND ROUTES.xlsx]1'!$N$4:$N$8,"Y") and so on?
    OR can I drag th rows and the sheet ref changes automatically from 1 to 2 to 3 to4, etc?

    I hope this make sense, I have about 12 sheets with 100 values each to change by hand if there is no other way!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: increments

    Try removing the $ signs before the column letters in your formula. This will make them become relative as opposed to absolute references.
    Martin

  3. #3
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: increments

    k, will do, but will the formula still work?

  4. #4
    Forum Contributor
    Join Date
    11-15-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    101

    Re: increments

    k, it worked, but if I drag down, the sheet nr stay the same and the cel ref change, I want the sheet to change and the cells to stay the same?

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: increments

    Duplicate of this post, so I'm locking this one.
    Remember what the dormouse said
    Feed your head

Closed Thread

Thread Information

Users Browsing this Thread

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

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