Creating a report from Excel Table

petersw

New Member
Joined
Sep 22, 2011
Messages
10
Hi,

I've got a table with a lot of text in it, and I'd like to be able to print it out in a report format. For example:

NameNotes1Notes2
JohnSmithLikes to eat applesNever drives at night
TomJonesLikes to eat orangesWife's name is Velma

<tbody>
</tbody>

From this, I'd like to create a text report as follows:

JohnSmith
Notes1: Likes to eat apples
Notes2: Never drives at night

TomJones
Notes1: Likes to eat oranges
Notes2: Wife's name is Velma

Is is possible to do this? Thanks in advance!!

p.s. I think Excel is the wrong place to keep notes like this, but I don't have control over the content in this case...
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hello, there would be several ways to do this, vba probably being a good solution, or using another column using formulas.

Another really simple option would be to use a Pivot Table and you can easily change the format/report. The only thing, the " Note1:" and Note2:" will not show unless you concatenate them into the actual data, but again that would be simple.

To use a pivot table, simple click in your data, Insert Tab, click PivotTable, and in the Row area, put the Name, and then Note1, then Note2. You can use various report formats, remove the "-" collapse buttons, rename the heading etc.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,559
Members
449,089
Latest member
Motoracer88

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