Quantcast
Channel: Apple questions and answers » problem
Viewing all articles
Browse latest Browse all 1623

Long-Standing Logic Problem – Help sought

$
0
0

Using Numbers 3.6.1

 

I’m trying to improve processes I perform in my job. I regularly download and need to massage ~850 lines of spreadsheet data but the variables seem to be either impossible to work with or the method required beyond my comprehension. Can someone please help save me from going bonkers?

 

  • The data is records of Administrators and their users, —sometimes 0 users, no maximum.
  • Users share the same alphanumeric ID as their Administrators
  • There are two types of Administrators; The ‘John Allagain’ kind and ‘other’ various Administrators.

 

I need to order the whole spreadsheet go from something like this: (Ordered only by the alphanumeric ID)

ZZZ 1234 4321 328

Caris Easton

User

ZZZ 1234 4321 328

Jerri Rains

User

ZZZ 1234 4321 328

John Allagain

Administrator

ZZZ 1234 4321 328

Letha Piper

User

ZZZ 1234 4321 328

Kenelm Brams

User

ZZZ 1234 4321 328

Noelle Walter

User

ZZZ 2345 4311 456

Chris Stopme

Administrator

ZZZ 2345 4311 456

Sable Tennyson

User

ZZZ 3456 6543 345

Katelyn Elvis

User

ZZZ 3456 6543 345

Leyroy Blank

Administrator

ZZZ 3654 3873 683

Rowena Dixon

User

ZZZ 3654 3873 683

Suzie Blankichip

Administrator

ZZZ 4235 7431 123

Bob Jones

Administrator

ZZZ 4235 7431 123

Unity Granville

User

ZZZ 6543 3455 875

Benny Hurst

User

ZZZ 6543 3455 875

Nancy Zinger

Administrator

ZZZ 6543 3455 875

Randy Rennoll

User

ZZZ 9384 5837 443

Gaylord Kitchen

User

ZZZ 9384 5837 443

Janessa Howard

User

ZZZ 9384 5837 443

John Allagain

Administrator

ZZZ 9384 5837 443

Laraine Wyght

User

 

To this:

ZZZ 1234 4321 328

John Allagain

Administrator

ZZZ 1234 4321 328

Caris Easton

User

ZZZ 1234 4321 328

Jerri Rains

User

ZZZ 1234 4321 328

Letha Piper

User

ZZZ 1234 4321 328

Kenelm Brams

User

ZZZ 1234 4321 328

Noelle Walter

User

ZZZ 9384 5837 443

John Allagain

Administrator

ZZZ 9384 5837 443

Gaylord Kitchen

User

ZZZ 9384 5837 443

Janessa Howard

User

ZZZ 9384 5837 443

Laraine Wyght

User

ZZZ 2345 4311 456

Chris Stopme

Administrator

ZZZ 2345 4311 456

Sable Tennyson

User

ZZZ 3456 6543 345

Leyroy Blank

Administrator

ZZZ 3456 6543 345

Katelyn Elvis

User

ZZZ 3654 3873 683

Suzie Blankichip

Administrator

ZZZ 3654 3873 683

Rowena Dixon

User

ZZZ 4235 7431 123

Bob Jones

Administrator

ZZZ 4235 7431 123

Unity Granville

User

ZZZ 6543 3455 875

Nancy Zinger

Administrator

ZZZ 6543 3455 875

Benny Hurst

User

ZZZ 6543 3455 875

Randy Rennoll

User

 

So the resulting hierarchy is:

  • Each Administrator named John Allagain, with
    • Their respective Users underneath, followed by
  • Each of the remaining Administrators, with
    • Their respective Users underneath.

 

How do I achieve this?


Viewing all articles
Browse latest Browse all 1623

Trending Articles