Return a list of comments from a range that contains blank cells

AmieDa

New Member
Joined
Dec 19, 2018
Messages
4
Hi All,

I have survey results that come out like the attached. I need to produce a report from this and would like to have a table by each area. Eg. Alignment to Outcomes and list the comments without the blank cells, and then the "agree, diagree etc... "

I tried using the below, but it doesn't work with blank cells, and a lot of the comments are blank.
=INDEX(Tbl_data[Alignment To Outcomes Comments],MATCH(0,COUNTIF(Comments!$D$6:D6,Tbl_data[Alignment To Outcomes Comments]),0))
Can anyone help please?

<tbody>
</tbody>

Link attached to a sample file. Hope this works.

https://1drv.ms/f/s!AlG9MGLoWUezmmwNCrOooVdGFAdP
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
something like this?

Alignment To OutcomesAlignment To Outcomes Comments
Agreecomment here
Agreecomment comment
Disagreeanother comment
Disagreeneed to list comment
Neither Agree nor Disagreecommenting again
Strongly Disagreecomments
Information and SupportInformation and Support Comments
Agreecomment here
Agreecomments
Disagreeanother comment
Strongly Disagreecomment comment

because e.g. Agree has two comments they are in two different rows or if you want it can be in single row separated by comma(s). It's up to you
btw. this is a PowerQuery so if you are able to use PQ I'll post a M-code
 
Last edited:
Upvote 0
Thank you, yes that is exactly what I am looking for. But I don't have access to power query unfortunately. on the work computer and I can't download anything without IT permission.
 
Upvote 0
That's pity.
Anyway, have a nice day :)

btw. only 2010 / 2013 need PowerQuery add-in. In higher versions PowerQuery aka Get&Transform is built-in
 
Last edited:
Upvote 0
Thank you for trying :) We have Professional Plus 2010 at work. But I'd have to go through IT to get the add-on loaded and a list of approvals from managers etc.. etc.. might be something looking into for the new year. Hopefully they upgrade soon. :)
 
Upvote 0
but you can do that with PivotTable
select first two columns, insert PivotTable, add both fields to Row Area and filter second column by blank
the same with second two columns

don't select whole table

file is here
 
Last edited:
Upvote 0
but you can do that with PivotTable
select first two columns, insert PivotTable, add both fields to Row Area and filter second column by blank
the same with second two columns

don't select whole table

file is here


Thank you. I didn't even think of that. That will work perfectly. Thanx for your help.
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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