Help sorting MCQ questions alphabetically

kokoman789

New Member
Joined
Nov 7, 2013
Messages
4
I have a text file with MCQ's. after importing it every line got a separate cell
The questions are not numbered and do not have any spaces between them.

Some have ABCD. some have ABCD E as answers. As you see some questions have multiple lines (sometimes even 4 lines).. same holds for answers. The only thing that I can think of is that the first Letter of the question is Always capital and is never starting with the followin 3 characters "A. " or "B. " , "C. " or "E. " .. etc

This is a bout 150000 lines of data, and what I'm trying to achieve is each question in a separate cell (possibly using concatenate function and all the cells sorted alphabetically

they look in a similar format:
A possible consequence for patients taking
cyclosporine is
A. erythematous gingivae
and blue mucosa
B. fibrous gingival hyperplasia.
C. loss of soft tissue attachment.
D. epithelial sloughing. .
Which of the following should NOT be
administered to a patient with chest pain
consistent with a myocardial infarction?
A. Epinephrine.
B. Nitroglycerin.
C. Oxygen.
D. Morphine.
E. Acetylsalicylic acid. .
A patient has a history of shortness of
breath and ankle edema. You would
suspect
A. asthma.
B. emphysema.
C. rhinophyma.
D. cardiac insufficiency.

<tbody>
</tbody>

<tbody>
</tbody>
so that they would look like "A patient has a history of shortness of breath and ankle edema. You would suspect A. asthma. B. emphysema. C. rhinophyma. D. cardiac insufficiency." all in one cell
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top