Excel 2010  autofill, reset fill value based on data in a different column

Posted on 2012-08-16
Last Modified: 2012-08-16
I have a spreadsheet that I want to autofill the column called Seq (below) with 10,20,30 but I want to reset to 10 based on a different Part ID.  Is this possible?

Part ID                                        Seq      Req
CN235-1008200-1000-0      10      CN365-1007600-1000-1
CN235-1008200-1000-0      20      CN365-1007700-3000-1
CN235-1008200-3000-0      10      CN365-1007600-3000-1
CN235-1008200-3000-0      20      CN365-1007700-3000-1
CN235-1008201-1000-0      10      CN365-1007601-1000-1
CN235-1008201-1000-0      20      CN365-1007701-1000-1
CN235-1008201-3000-0      10      CN365-1007601-3000-1
CN235-1008201-3000-0      20      CN365-1007701-3000-1
CN235-1008201-3000-0      30      CN365-1007801-3000-1
CN235-1008202-1000-0      10      CN365-1007602-1000-1
CN235-1008202-1000-0      20      CN365-1007702-1000-1

Thank you in advance
Question by:BFanguy
    LVL 39

    Accepted Solution

    not with autofill, but you can use a formula and drag it down.

    Author Closing Comment

    Thanks,  I had to tweak it just a bit...   =COUNTIF($A$1:A1,A1)*10

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
    Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now