+ Reply to Thread
Results 1 to 9 of 9

Create number series based on another number series

  1. #1
    Registered User
    Join Date
    03-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    17

    Create number series based on another number series

    Hi guys,

    May be quite simple for some of you and could use some help.

    I have one column with

    234
    234
    234
    235
    235
    235
    235
    236
    236

    I need to make it into a number series but keep the same format-as in 235 becomes 1, 235 becomes 2,etc so the column would look like

    1
    1
    1
    2
    2
    2
    3
    3

    Sorry for the long post but I find it easiest to express my problem this way. Thanks.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Create number series based on another number series

    Hi HBangalore,

    I've adjusted your thread title to something that is descriptive of your actual problem. Please take a moment to read the forum rules (link in my signature) before posting new threads.

    As for your problem, assuming your current numbers are in A1:A100, then in B1 put the formula:

    =A1-$A$1+1

    Fill that down and you will get a series based on the value in column A minus the value in A1 + 1 for each cell. If you require a different result, please provide a realistic set of data, preferably in a workbook attachment showing current and expected results (and why).

  3. #3
    Forum Contributor
    Join Date
    01-28-2010
    Location
    Riverside, CA
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Create number series based on another number series

    I was thinking of something like this:

    what you want to do seems a little confusing, but I think this is what you want to do assumme the one column you have is in column A.

    Start on B2:
    Please Login or Register  to view this content.
    Happy Excel'ing!

  4. #4
    Registered User
    Join Date
    03-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create number series based on another number series

    Hi Paul,

    Thanks for the prompt reply and for modifying my inquiry. I kind of thought of changing it after I hit the send button! Anyway, the suggestion did not quite solve the problem entirely.

    I have attached the file to explain better. I want to know if there is an easier way for column 2. I want to rename it as:

    I have to analyse the results in a stats programme and the graphs are looking weird with long numbers in column 1.

    Note that the cases do not repeat themselves on a regular basis-i.e some a repeats for 2 times, some for 3 etc.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create number series based on another number series

    Thanks Haru. It works! Please ignore my reply to Paul as I had not seen your post. Good day.

  6. #6
    Registered User
    Join Date
    03-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create number series based on another number series

    Hi,

    This formula seemed to have worked before but when i tried this again, it is giving me a circular error message no matter what I try. Any thoughts or suggestions? I tried tackling the circular error as suggested by microsoft but I am stuck. appreciate help!

  7. #7
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Create number series based on another number series

    Hi HB,

    Can you post a copy of the workbook in which you're seeing the circular references? As long as the formulas are in the proper cells I don't think that should happen. (Unless of course the cells being referenced can at some point be traced back to the cells with the formulas.)

  8. #8
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Create number series based on another number series

    Hello, try in B2, then copy down.

    Please Login or Register  to view this content.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  9. #9
    Registered User
    Join Date
    03-26-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Create number series based on another number series

    Hey,

    Thanks a lot! Works well now.

+ Reply to 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