Forum Discussion

Jenniferg980's avatar
Jenniferg980
Copper Contributor
Aug 17, 2020

Multiple values in each cell

Hello all!

I have recently downloaded data collected from a questionnaire but I notice that I have several values in each cell. 

 

How can I ...

1. Convert each 'new line' of value to it's own cell?

2. Count how frequency of each value?

 

Ultimately I want to be able to use the data in a table to see which levels of English are most commonly taught but at the moment I can only match the exact cells and that doesn't work for me. 

 

Thanks in advance!

 

4 Replies

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    Jenniferg980 I believe you need a Power Query solution for this. If you are open to such an approach, please have a look at the attached file.

     

    The key element here is to split column B using a line feed as the separator. Then unpivot the table, and in the end, group a single column counting all occurrences of all levels.

     

  • NikolinoDE's avatar
    NikolinoDE
    Platinum Contributor

    Jenniferg980 

     

    Even if I think that a picture is worth a thousand words, it is unfortunately not true in the case of Excel.
    It would be advantageous if you insert a file (without sensitive data), so you could get an answer much faster.
    So you help those who want to help, don't need to guess where it should count and how you want it to end.
    A win-win situation for everyone ... if a file is included.

     

    So simply read from the picture this formula could help you, as I said it is a guess.

    =COUNTIF(select area, "A1") etc.

     

     

    Nikolino
    I know that I don't know (Socrates)

Resources