I NEED TO ARRANGE THIS EXCELL SHEET BY DATE AND PRIM CVG TABS

Ostine, Catrice Renee 0 Reputation points
2026-11-21T17:51:28.54+00:00

ARRANGE EXCELLL SHEET BY DATE AND PRIMCVG

[Image removed by Moderator, please do not post Patient information in the public forum]

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Thomas4-N 24,225 Reputation points Microsoft External Staff Moderator
    2026-11-27T14:16:19.5266667+00:00

    Hello Ostine, Catrice Renee,

    I understand you're trying to organize your Excel data by date and primary coverage (Prim Cvg).

    The AI answer explains how to sort both columns within the same worksheet. However, since you mentioned "tabs," I wanted to clarify one thing:

    Do you want to sort all records by date and primary coverage within one worksheet, or create separate worksheet tabs for different dates or coverage categories?

    These require different approaches in Excel, so knowing which layout you need will help us guide you correctly.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-21T17:52:26.89+00:00

    Sort the complete worksheet data range first by Adm Date and then by Prim Cvg, using Excel’s multilevel Sort dialog so every patient row stays together.

    Sort the worksheet

    1. Save a backup copy first if you may need the current row order.
    2. Click any cell inside the data.
      • If completely blank rows or columns divide the data, select the entire rectangular range manually, including all headers and rows.
      • Do not select only the Adm Date or Prim Cvg column.
    3. Select Data → Sort.
    4. Ensure My data has headers is selected. The dropdowns should display names such as Adm Date rather than column letters.
    5. Configure the first level:
      • Sort by: Adm Date
      • Sort On: Cell Values
      • Order: Oldest to Newest
        Use Newest to Oldest instead if the most recent admissions should appear first.
    6. Select Add Level.
    7. Configure the second level:
      • Then by: Prim Cvg
      • Sort On: Cell Values
      • Order: A to Z
    8. Confirm that Adm Date is above Prim Cvg in the list, and then select OK.

    Excel applies sort levels from top to bottom. The result is one worksheet arranged by admission date, with rows sharing the same date ordered alphabetically by primary coverage. Blank cells are placed last by Excel’s standard sort order.^1^

    If the dates do not sort correctly

    The Adm Date values must be real Excel dates, not text. A likely sign of text-formatted dates is that dates appear in an unexpected sequence instead of chronological order. Convert those entries to Excel dates, then repeat the multilevel sort.^1^

    If the result is wrong immediately after sorting, press Ctrl+Z before making or saving other changes.


    References

    1. Windows (#tab/windows)
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.