This is my data:
802208 aecl
802208 W
802330 aecl
802330 W
802474 aecl
802474 W
for every a in the second column, I need 001 in a separate column.
for every e in the second column, I need 013 in a separate column.
for every c in the second column, I need 005 in a separate column.
for every l in the second column, I need 015 in a separate column.
for every w in the second column, I need 003 in a separate column.
I don't know how to tell Excel to look for and pick out a single letter in a cell.
I tried this =IF(N2="a","001") but that only seems to take the entire cell into account.
Also, I would like to add a suffix to the end of the first column based on the letters in the second column. This can be a separate task.
802208 aecl
802208 W
802330 aecl
802330 W
802474 aecl
802474 W
If the second column has an a in it, I would like the first column to read 8022081.
If the second column has an e in it, I would like the first column to read 802208C.
If the second column has an l in it, I would like the first column to read 80220815.
.
.
.
Please help
Bookmarks