We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

fill problem in excel

In Excel I often have to enter in one column this type of number eg


001
001A
002
002A
003
003A
004
004A
005
005A


The column is obviously formatted to TEXT.
How can you easily create this run down to say 050A.


Fill is the obvious answer but try before you post, it doesn’t work; the “A” numbers don’t change but the whole numbers do.

Comments

  • Tigsteroonie
    Tigsteroonie Posts: 24,954 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 26 August 2011 at 6:59PM
    In cell A1, type the number 1
    In cell B1, type =A1&"A"

    Highlight both, and then fill down. Works on mine.

    Once you've got it in place, if you don't want the formula, then copy & paste special - values.

    Not sure how you'll force the format to three digits with preceding zeros though.
    :heartpuls Mrs Marleyboy :heartpuls

    MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote

    :) Proud Parents to an Aut-some son :)
  • leemoss
    leemoss Posts: 143 Forumite
    Not sure how you'll force the format to three digits with preceding zeros though.
    You could then use the concatenate function

    =CONCATENATE(B1,A1)

    Cell B1= '00
    Call A1= 1, 2 etc

    Then simply copy, paste values
  • leemoss
    leemoss Posts: 143 Forumite
    You could simply start at 001 and drag down to your desired number, copy and paste them all again below the 1st lot of numbers and use the sort function to order them 001, 001, 002, 002 etc
    Then use the concatenate function to add the a's every other cell.

    edit: if you get stuck, I could upload an example spreadsheet.
  • Linbox
    Linbox Posts: 383 Forumite
    Thanks but none of these really fit the bill. Far to time consuming, its quicker to just type them out if formula or any manipulation such as sort are involved sort doesn't work either as it puts the whole numbers first then the "A" Numbers then the "B" numbers and so on.

    These numbers have to be added to lots of different already existing spreadsheets all of which are different with different series of numbers.
    Easyest way I have found is keep a spreadsheet with the series open and copy and paste as required; this is not not the ideal and a Pain to do - again too many actions.

    Any other ideas?
  • Tigsteroonie
    Tigsteroonie Posts: 24,954 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    In top cell (eg A1) type '001
    In cell below (eg A2) type =A1&"A" which will show as 001A
    Highlight the two cells, use bottom right corner to fill down.

    Not sure what OP means by "Far to time consuming, its quicker to just type them out if formula or any manipulation such as sort are involved". Only takes a couple of seconds to type in those two cells and then fill downwards.
    :heartpuls Mrs Marleyboy :heartpuls

    MSE: many of the benefits of a helpful family, without disadvantages like having to compete for the tv remote

    :) Proud Parents to an Aut-some son :)
  • Linbox
    Linbox Posts: 383 Forumite
    In top cell (eg A1) type '001
    In cell below (eg A2) type =A1&"A" which will show as 001A
    Highlight the two cells, use bottom right corner to fill down.
    .


    Thanks that's better. Nice and easy.
  • grizzly1911
    grizzly1911 Posts: 9,965 Forumite
    In top cell (eg A1) type '001
    In cell below (eg A2) type =A1&"A" which will show as 001A
    Highlight the two cells, use bottom right corner to fill down.

    Not sure what OP means by "Far to time consuming, its quicker to just type them out if formula or any manipulation such as sort are involved". Only takes a couple of seconds to type in those two cells and then fill downwards.


    Always like to learn new stuff but should the formula be =(A1&"A")?

    That's the only way I could get it to work in 2003.

    Sorry to hijack but I had to reload excel after an OS problem. Each time I open a spreadsheet I could a dialogue box with "Loading excel feature" and a time bar. I can cancel the action and continue but anyway of stopping it showing?
    "If you act like an illiterate man, your learning will never stop... Being uneducated, you have no fear of the future.".....

    "big business is parasitic, like a mosquito, whereas I prefer the lighter touch, like that of a butterfly. "A butterfly can suck honey from the flower without damaging it," "Arunachalam Muruganantham
  • Topcat_2
    Topcat_2 Posts: 37 Forumite
    Part of the Furniture 10 Posts Combo Breaker
    To getthe leading zeros, try
    Format > Cells > Custom
    Type 000 in the area on the right, then ok
    This may work
    TC x
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.7K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.7K Work, Benefits & Business
  • 600.1K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.