Creating a paragraph of text from Excel sheet

Dazzybeeguy

Board Regular
Joined
Jan 6, 2022
Messages
111
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I want to create a set of say 10 rows with a statement,

i.e 1. Name of person spoken to (the next cell would be a free type box
2. Date (The next cell would be a drop down list of the last 7 days)
3. Time (they would enter the time i.e 21:15)
4. Interpreter needed (Declined or accepted)
5. They agreed to XYZ (Yes,No)
6. Discussion took place at (Drop down list of 5 locations)
7. etc etc etc

I then want to create a paragraph of text that I can then paste to elsewhere.
The issue is, depending on the response for each row the content & size of the paragraph would alter.
Not sure how to overcome issues such as there being gaps etc

The paragraph would include the name in several places, so if its a Mr J Smith it needs so much space but if it was Mr George Michael Schwarnegger the it needs more space

I cant seem to overcome the issues of how to get it to paste intor a word doc nicely formatted.

Thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
without knowing your exact end goal of the paragraph, here's a couple of ideas that might help you
g1 manually puts together the sentence.
g2 is a bit more of a formula
g3 is all formula
hope one of these will help point you in the right direction for your end goal
----------------------
Cell Formulas
RangeFormula
H1H1="On "&TEXT(B2,"dddd mmmm dd, yyyy")&" at "&TEXT(B3,"hh:mm")&" "&B1&", "&IF(B4="accept","needed an interpreter"," did not needed an interpreter")&", "&IF(B5="yes"," agreed to "," did not agree to")& " at "&B6&" "&B7
H2H2=TEXTJOIN(" ",TRUE,"On",TEXT(B2,"dddd mmmm dd, yyyy"),"at",TEXT(B3,"hh:mm"),B1,IF(B4="accept","needed an interpreter","did not needed an interpreter"),"at",B6,IF(B5="yes","agreed to","did not agree to"),B7)
H3H3=TEXTJOIN(" ",TRUE,F1,TEXT(B2,"dddd mmmm dd, yyyy"),F2,TEXT(B3,"hh:mm"),B1,IF(B4="accept","needed an interpreter","did not needed an interpreter"),F2,B6,IF(B5="yes","agreed to","did not agree to"),B7)
D1D1=TODAY()
D2:D7D2=D1-1
Cells with Data Validation
CellAllowCriteria
B2List=$D$1:$D$7
B4Listdecline, accept
B5Listyes,no
B6List=$E$1:$E$5
 
Upvote 0
Solution
without knowing your exact end goal of the paragraph, here's a couple of ideas that might help you
g1 manually puts together the sentence.
g2 is a bit more of a formula
g3 is all formula
hope one of these will help point you in the right direction for your end goal
----------------------
Cell Formulas
RangeFormula
H1H1="On "&TEXT(B2,"dddd mmmm dd, yyyy")&" at "&TEXT(B3,"hh:mm")&" "&B1&", "&IF(B4="accept","needed an interpreter"," did not needed an interpreter")&", "&IF(B5="yes"," agreed to "," did not agree to")& " at "&B6&" "&B7
H2H2=TEXTJOIN(" ",TRUE,"On",TEXT(B2,"dddd mmmm dd, yyyy"),"at",TEXT(B3,"hh:mm"),B1,IF(B4="accept","needed an interpreter","did not needed an interpreter"),"at",B6,IF(B5="yes","agreed to","did not agree to"),B7)
H3H3=TEXTJOIN(" ",TRUE,F1,TEXT(B2,"dddd mmmm dd, yyyy"),F2,TEXT(B3,"hh:mm"),B1,IF(B4="accept","needed an interpreter","did not needed an interpreter"),F2,B6,IF(B5="yes","agreed to","did not agree to"),B7)
D1D1=TODAY()
D2:D7D2=D1-1
Cells with Data Validation
CellAllowCriteria
B2List=$D$1:$D$7
B4Listdecline, accept
B5Listyes,no
B6List=$E$1:$E$5
Thank you, from looking at your reply I have managed to cobble something together that works.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,217
Members
452,619
Latest member
Shiv1198

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