+ Reply to Thread
Results 1 to 3 of 3

Formula to calculate next number in sequence based on varying criteria

  1. #1
    Registered User
    Join Date
    09-07-2013
    Location
    Chester
    MS-Off Ver
    Home: 2011 for Mac Work: 2007
    Posts
    70

    Formula to calculate next number in sequence based on varying criteria

    Evening all

    An artist friend has asked me to put together a sheet for her to keep track of limited edition prints that she produces. She has say 15 paintings and each painting could have 50 numbered prints that she sells, because she has them printed as and when they sell, she needs to be able to keep track of the next number in the sequence to ensure she doesn't sell print number 37 of 50 twice for example.

    She'd like a table where she can enter the name of the painting and the sheet will tell her the next sequential number based on previous sales

    I may be overthinking but I can't quite get my head round it, any help would be greatly appreciated

    Attached is a very basic table to give you an idea Next number in sequence .xlsx

    Many thanks in advance for any thoughts and assistance

    Greg

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to calculate next number in sequence based on varying criteria

    Hi,

    One way. In F2 copied down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-07-2013
    Location
    Chester
    MS-Off Ver
    Home: 2011 for Mac Work: 2007
    Posts
    70

    Re: Formula to calculate next number in sequence based on varying criteria

    Hi Richard

    Thanks for your reply, I'd thought about doing a COUNTIFS formula however I've found a slight problem with it.

    If you enter print numbers 1 through to 5, the formula shows 6 as being the next print edition in sequence which would be correct, however if I make a mistake and enter print number 7 in column C rather than 6 as the formula suggested, my next number in sequence according to the formula is print number 7 however that's already been used.

    In this instance I would need it to recognise the gap in the sequence and return print number 6 as being the next in sequence, and then calculate that 8 would be next (as I'd already used 7 when making the error)

    Does that make sense?

    Many thanks

    Greg

+ 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] Formula to display sequence number based on contiguous start and end dates
    By AlanCake in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-04-2013, 07:37 AM
  2. [SOLVED] Macro to calculate the averages of a varying number of columns
    By jtable in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2013, 10:36 AM
  3. Replies: 2
    Last Post: 05-19-2013, 03:59 AM
  4. Calculate number of departures between dates based on multiple criteria
    By IndigoIrish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-18-2012, 03:22 PM
  5. Calculate Number of Meetings based on Criteria
    By leo73pk in forum Excel General
    Replies: 3
    Last Post: 07-02-2010, 01:14 PM

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