Adding strings to current text

gogent

New Member
Joined
Aug 2, 2017
Messages
9
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi, I'm trying to figure out what's the best way to add the following strings.

1. I've a list of incidents on a spreadsheet.

INC000010
INC000011
INC000012
INC000013
INC000014
INC000015

2. I want to add Incident ID*+' = " before each incident follow by a " Or.
I want it to look like this on a single cell.
'Incident ID*+' = "INC000010" Or 'Incident ID*+' = "INC000011" Or 'Incident ID*+' = "INC000012" Or 'Incident ID*+' = "INC000013" Or 'Incident ID*+' = "INC000014" Or 'Incident ID*+' = "INC000015"

Would the concatenate function be the best way to achieve this?
 
Glad we could help & thanks for the feedback.
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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