+ Reply to Thread
Results 1 to 17 of 17

calculating file intervals from 300 to 300

  1. #1
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    calculating file intervals from 300 to 300

    Hello experts!

    Here is a difficult one!

    I have a column O for inserting the number of document files that is registered in my workbook (ex: 3 files).
    In column P a have a formula that calculates the interval between files (ex: from 1 to 3), which is:
    Please Login or Register  to view this content.
    In column Q I have a formula that calculates Folder's successively number if the files rich the maximum of 300 (ex: volum 1 for the first interval from 1 to 300, volum 2 for the next interval of 1 to 300, and so on):
    Please Login or Register  to view this content.
    The problem is that the formulas work only for the first interval. When the files gets to first 300 and is needed to recycle the hole process for the next interval of 300 files, which should be in volum 2, and so on.

    I've attached the workbook.

    Any ideas how can be solved?
    Is there a formula for this, or is necessary a VBA code?

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    see the attached file
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    Ignore my earlier post
    see this one
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Thx for the reply!

    The results are faulty.
    From the third row down the intervals are faulty.
    In the third row should be 13 - 77 and not 10 - 77.
    the forth should be 78 - 197 and not 66 - 197, and so on

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    I observed that after my 2nd post
    Please see my 3rd post

  6. #6
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Quote Originally Posted by nflsales View Post
    Ignore my earlier post
    see this one
    Works like a charm!
    Thank you so much sir!

  7. #7
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Quote Originally Posted by nflsales View Post
    Ignore my earlier post
    see this one
    Works like a charm!
    Thank you so much sir!

  8. #8
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Quote Originally Posted by nflsales View Post
    I observed that after my 2nd post
    Please see my 3rd post
    I've noticed though a small problem.
    If I add filters on my sheets, the values doesn't change to the new visible values.
    Anything that can be done here?

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    i did not get you

  10. #10
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Quote Originally Posted by nflsales View Post
    i did not get you
    My original worksheet has 13 columns. Usually I filter information from other columns and I really need the values in column P and Q to change (to recalculate) according to the visible rows.

    Please, see attached!
    Attached Files Attached Files
    Last edited by boboivan; 02-11-2015 at 08:39 AM.

  11. #11
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    is it ok if I create one helper column

  12. #12
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    That shouldn't be a problem!

  13. #13
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    see the attached file
    Attached Files Attached Files

  14. #14
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    You are truly a genius!

    Thank you so much sir!

  15. #15
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    You are truly a genius!

    Thank you so much sir!

  16. #16
    Forum Contributor
    Join Date
    02-12-2013
    Location
    Brussel
    MS-Off Ver
    Excel 2013
    Posts
    134

    Re: calculating file intervals from 300 to 300

    Quote Originally Posted by nflsales View Post
    see the attached file
    I've sent you a private message regarding this thread.
    Did you get it, 'cause I can't see it in my private messages>sent items section?

    Sorry for disturbing you!

  17. #17
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: calculating file intervals from 300 to 300

    I received your message
    Q2=SUBTOTAL(3,R2:R2)*(INT((SUBTOTAL(9,O$2:O2)+MAX(0,(MAX(Q$1:Q1)-1)*300-SUMIFS(O$1:O1,Q$1:Q1,"<"&MAX(Q$1:Q1),Q$1:Q1,">"&0)))/300)+1)
    TRY THIS AND COPY TOWARDS DOWN

+ 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. Calculating quantiies from irregular intervals to regular intervals
    By abhi1421 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-15-2014, 06:34 AM
  2. Calculating Time Intervals
    By ExceltoLead in forum Excel General
    Replies: 1
    Last Post: 03-19-2011, 09:14 AM
  3. Calculating Overtime between intervals
    By roddie in forum Excel General
    Replies: 2
    Last Post: 01-29-2010, 07:42 AM
  4. Calculating Time Intervals
    By JustMe602 in forum Excel General
    Replies: 4
    Last Post: 05-23-2007, 07:55 PM
  5. calculating date intervals
    By jer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-13-2006, 08:15 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