+ Reply to Thread
Results 1 to 17 of 17

Fill Series Problem

  1. #1
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13

    Fill Series Problem

    Bet this is simple to someone...

    How can a continue this fill series down a column?

    =$BC$3
    =$BC$4
    =$BC$5
    =$BC$6

    I would copy, paste and edit only there are 2500 rows!!

  2. #2
    Registered User
    Join Date
    06-24-2008
    Location
    Cambridge UK
    Posts
    53
    Just type in those few, select them, then pull down.

    Worked for me!

  3. #3
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13

    Unhappy

    It just repeats the same 4 for me, over and over

  4. #4
    Registered User
    Join Date
    05-23-2007
    Posts
    3
    Delete the second $ from the formula and then drag.

  5. #5
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    Thanks guys.

    Chimneys works but the column is not sortable unless the cells contain what I originally posted

  6. #6
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    Hopeful bump...

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    I'm not sure what you mean by "The column is not sortable unless the cells contain what you originally posted"?

    If you drag down =$BC1, you will get
    Please Login or Register  to view this content.
    That will function exactly the same as if you typed in
    Please Login or Register  to view this content.
    You won't be able to sort by that column unless you also include BC or if you copy and paste special values before sorting. Does that help?

    ChemistB

  8. #8
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    The column BC contains the results of a bunch of calculations.
    As they are performed I need the column (automatically) sorted in ascending numerical order.

    The series

    Please Login or Register  to view this content.
    was suggested by a friend and when I tried it (manually typing!) on the first 100 or so rows - it allowed me to sort the column numerically.

    The series

    Please Login or Register  to view this content.
    Does not allow the column to be sorted.

    All I want is an ascending numerical order for the results column.

  9. #9
    Forum Contributor
    Join Date
    07-24-2008
    Location
    Athome
    MS-Off Ver
    Excel 2013
    Posts
    127
    maybe you can approach this another way.

    If you take the column with the results, use the RANK() FUNCTION in a new column and copy this all the way down. This will show the ranking of that row in the whole range.

    Then have another spreadsheet setup which does a vlookup from 1-200 or to the last number and it will pull all the information you need. As the rankings change, the vlookup spreadsheet will automatically update in numerical order.

    hope this helps.

  10. #10
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    My apologies. You are correct. I can see two options.

    Option 1, the simplist, is Copy your original column (BC) and paste special >Values. Then sort

    Option 2, record a macro that either does the above and sorts or takes your formulas after you dragged them down and adds the necessary second $. You can attach this macro to a button or a toolbar icon.

    I'll keep thinking on this one.

    ChemistB

  11. #11
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    Quote Originally Posted by ChemistB
    My apologies. You are correct. I can see two options.

    Option 1, the simplist, is Copy your original column (BC) and paste special >Values. Then sort
    That's how I tested the rest of the calcs but I want this bit automated.


    Quote Originally Posted by ChemistB
    Option 2, record a macro that either does the above and sorts.
    That looks a good option!

    Can a Macro be "permanently live"? ie constantly looking and updating the ascending order as new or edited input values are typed?

    If not a "CALC" button with the Macro behind it might be a reasonable second best.

    Thanks for all your input guys - much appreciated.

  12. #12
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    It can't be permanently live (running in the background) but it can be set up that it runs everytime there is a change made on the spreadsheet. Are we talking about imported data or manually entered data or pasted data?

    ChemistB

  13. #13
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    Manually entered (or edited) so what you suggest sounds absolutely fine.



    The first column of the sheet allows up to 50 discrete numbers to be input by the user.

    All of the input numbers are tested, with various equations, against each other and the results are in one big 2500 row column.

    That's the one I need in ascending order.

    I'm then using the LOOKUP function to return the nearest number above and below the original - if that makes any sense!

    I have it all working fine apart from the auto-sorting.

  14. #14
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Here's an example worksheet. Just right click on the tab and View code to see
    Please Login or Register  to view this content.
    You would replace some of the Cell ids with yours (E.g. B2:B2500 with BC2:BC2500 and G2 with whatever column you want to paste into).

    I know there are more efficient ways to do this but I'm an amateur with VBA and it works.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    07-22-2008
    Location
    UK
    Posts
    13
    Thanks again.

    Before seeing your latest post, your previous reply rang a bell and so I played around a bit and recorded this macro in the "worksheet - change" event

    Please Login or Register  to view this content.
    Not a million miles from yours and works like a charm
    Last edited by Keebs; 07-24-2008 at 07:21 PM.

  16. #16
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Great! Glad you got something working.

    ChemistB

  17. #17
    Forum Contributor
    Join Date
    07-24-2008
    Location
    Athome
    MS-Off Ver
    Excel 2013
    Posts
    127
    Quote Originally Posted by Keebs

    Not a million miles from yours and works like a charm
    The solution i proposed will keep it updated every time you enter a new value. but it requires 2 sheets.

+ 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