• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Excel 2003 - how to add text as a prefix to another cell?

InflatableBuddha

Diamond Member
I have two columns - one with an alias, the other with the name of a webpage. The webpage names are incorrect.

I need a formula to search for a prefix in the alias column, then change the names of the webpages in the corresponding cell in the adjacent column so that they add a prefix to make them correct.

For example, the current list looks like this:

howto_sample | sample.html
master_test | test.html
...

Should be:

howto_sample | howto_sample.html
master_test | master_test.html
...

There are 3 prefixes (howto_, master_, w_) so I will repeat the formula 3 times, each time with a different prefix. What is the best way to accomplish this?

Thanks.
 
Given your columns, and the procedure your specified, C1:

=LEFT(A1,FIND("_",A1))&B1

If the part after "_" is the same as the beginning of the second column, though, couldn't you just do B1:

=A1&".html"

?
 
Back
Top