Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7576081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:50:15+00:00 2026-05-30T16:50:15+00:00

I want to automatically sort fields in excel when entering new data. Suppose I

  • 0

I want to automatically sort fields in excel when entering new data. Suppose I have following data,

Abc
Bcd
Efg
Hij.

If I enter values like ‘Cde’ or ‘fgh’, it should automatically get sorted and moved to the appropriate place. How can I do this in MS Excel 2007 ?

Also in my MS Excel 2007, View Code on right click of Sheet as well as Visual Basic & Macros in Developer Tab are disabled. Please help me with your suggestions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:50:16+00:00Added an answer on May 30, 2026 at 4:50 pm

    The most elegant way of doing this would be to set up a worksheet macro that runs each time a value is entered into one of the cells in the range you’re working with.

    This is still possible without using a macro, but it’s rather messy. For numeric data, you can combine RANK and VLOOKUP to create an output range that will sort itself when you enter new values into an input range. To deal with text values, you would need to:

    1. UPPER each sort value
    2. Convert each character into a number using the CODE function (ASCII only)
    3. Concatenate all these numbers together
    4. Apply the VALUE function to stop them being parsed as text
    5. RANK the concatenated numbers.
    6. VLOOKUP the ranks, adding extra logic to deal with ties…

    It isn’t very much extra work to manually sort the table if the extra rows are only occasionally being added, so perhaps neither of these methods is appropriate. This can be done with as few as 5 keystrokes – Ctrl + * to select the whole table once 1 cell is selected, then alt + d > s to bring up the sort box, then enter to sort (a few extra if the sort column isn’t already selected by default).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CheckedListBox, and I want to automatically tick one of the items
I have an index view that I want to update automatically as the user
I have an access macro, that I want to run automatically from a batch
I have an Excel document with 10000 rows of data in two sheets, the
I want to have a List or Array of some sort, storing this information
I have YAML data that looks sort of like this, but ~150k of it:
I have a forum of sorts, and I want to automatically refresh the posts
I have a template class, what I want to do are the following Make
I have a table in excel that updates automatically (or manually) by pulling from
I'm building a sort-of clone of CoverItLive in Rails 3.1 and want to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.