Inserting Text to a sentence in a cell from a cell on another sheet

Excel_Assis

Board Regular
Joined
Feb 19, 2011
Messages
132
Office Version
  1. 2016
Platform
  1. Windows
Hi could anyone help please with a formula to say on Sheet1 cell A1 insert part of a sentence from Sheet 2 C1 and also fill other parts of the sentence from another cell Say F1. But the formula then needs to auto increment the row number from Sheet 2 by 1.

I have done this and it works but no auto increment of source row number.

="<div><b>Type:&nbsp;</b> "&Sheet2!$D$3&" </div><div><br> </div><div><b>Model:&nbsp;</b>"&Sheet2!$H$3&"</div><div><br> </div><div><b>Year Preferred:</b>&nbsp;"&Sheet2!$I$3&" &nbsp; </div>"

In this sample formula I need the 3 to increment automatically down the column.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
$ sign is used to lock referances. Remove $ from rows in order to make them relative.
Excel Formula:
="<div><b>Type:&nbsp;</b> "&Sheet2!$D3&" </div><div><br> </div><div><b>Model:&nbsp;</b>"&Sheet2!$H3&"</div><div><br> </div><div><b>Year Preferred:</b>&nbsp;"&Sheet2!$I3&" &nbsp; </div>"
 
Upvote 0
$ sign is used to lock referances. Remove $ from rows in order to make them relative.
Excel Formula:
="<div><b>Type:&nbsp;</b> "&Sheet2!$D3&" </div><div><br> </div><div><b>Model:&nbsp;</b>"&Sheet2!$H3&"</div><div><br> </div><div><b>Year Preferred:</b>&nbsp;"&Sheet2!$I3&" &nbsp; </div>"
Hi thanks for the speedy reply. However how does that allow the formula to auto increment the row number from Sheet 2. Example 3 would change to 4 the 4 change to 5 as in keeps populating the rows on Sheet 1

Apologies I get it now you can just drag down the column and the row increments. Thank so much.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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