Insert data into cell to the right "IF"

IGinc

Board Regular
Joined
Jun 14, 2009
Messages
148
Column "AC" for now or Column "a" has URL

Some data/urls in column A are incomplete and = "<a href=>

To the right In column AD or Column "b" has the remaining URL to be inserted between "= and >

At the same time many data/urls need to be unchanged as they have the complete data....

Thanks.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
To make a formula that joins the cells that are incomplete, and ignores the ones that are complete, we need to identify what all the incomplete cells (in Columns A and AC) have in common.
Could you post a couple of examples of complete and incomplete?
 
Upvote 0
examples of A or Ac and B or Ad:

<table width="1234" border="0" cellpadding="0" cellspacing="0"><col style="mso-width-source:userset;mso-width-alt:18944;width:389pt" width="518"> <col style="mso-width-source:userset;mso-width-alt:26185;width:537pt" width="716"> <tbody><tr style="mso-height-source:userset;height:13.5pt" height="18"> <td style="height:13.5pt;width:389pt" width="518" height="18">< a href=http://www.idexonline.com/cp/?di=74216967 ></td> <td style="width:537pt" width="716">http://images.rdidiamonds.com/P59823/P59823.jpg</td> </tr> <tr style="mso-height-source:userset;height:13.5pt" height="18"> <td style="height:13.5pt" height="18">< a href=http://www.idexonline.com/cp/?di=74007958 ></td> <td>http://images.rdidiamonds.com/P58692/P58692.jpg</td> </tr> <tr style="mso-height-source:userset;height:13.5pt" height="18"> <td style="height:13.5pt" height="18">< a href=http://www.idexonline.com/cp/?di=74007331 ></td> <td>http://images.rdidiamonds.com/P58654/P58654.jpg</td> </tr> </tbody></table>
For example I have spaced urls in hopes they would display in column "A/AC"
 
Upvote 0
those that need replacing in A/AC contain only

< a href= >

- Mike

Thanks in advance.
 
Upvote 0
Mike,

If I understand you correctly, you can enter this formula in C2 and copy down.

=IF(A2="< a href= >","< a href=" &B2&" >",A2)

Once you have the merged text in Column C you can Copy>PasteSpecial>Paste as Values
to remove the formulas and copy back to Column A.
 
Upvote 0

Forum statistics

Threads
1,224,532
Messages
6,179,388
Members
452,908
Latest member
MTDelphis

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