Hi,
I need to search a range of cells for a given string of text and display the cell contents for any cells in the row which contain the search criteria.
Example:-
String to search is entered in B15. I need it to search each row and display (in column G) the full data for the match. No more than one cell in each row will contain matching data.
<TBODY>
</TBODY>
Can this be done with a formula or does it need some sort of macro? (Macro's are completely foreign to me!)
Many thanks,
I need to search a range of cells for a given string of text and display the cell contents for any cells in the row which contain the search criteria.
Example:-
String to search is entered in B15. I need it to search each row and display (in column G) the full data for the match. No more than one cell in each row will contain matching data.
A</SPAN> | B</SPAN> | C</SPAN> | D</SPAN> | E</SPAN> | F</SPAN> | G</SPAN> | H</SPAN> | |
1</SPAN> | Machine</SPAN> | User 1</SPAN> | User 2</SPAN> | User 3</SPAN> | User 4</SPAN> | User 5</SPAN> | Full text of cell containing the Search String</SPAN> | Desired result in column G</SPAN> |
2</SPAN> | Alpha</SPAN> | ghl.792.c7x</SPAN> | abc.587.k2g</SPAN> | alt.982.g5z</SPAN> | qly.496.b6s</SPAN> | qpn.735.y1h</SPAN> | What is the Formula?</SPAN> | abc.587.k2g</SPAN> |
3</SPAN> | Bravo</SPAN> | own.731.h6x</SPAN> | rmx.183.w4h</SPAN> | wpz.388.g2s</SPAN> | abc.584.w6c</SPAN> | abc.587.w7f</SPAN> | What is the Formula?</SPAN> | abc.587.w7f</SPAN> |
4</SPAN> | Charlie</SPAN> | abc.589.w7l</SPAN> | alm.921.w8j</SPAN> | abc.587.h8e</SPAN> | vxn.741.w6k</SPAN> | qnp.552.l1c</SPAN> | What is the Formula?</SPAN> | abc.587.h8e</SPAN> |
5</SPAN> | Delta</SPAN> | arc.365.y4d</SPAN> | wpv.714.r2d</SPAN> | qpk.795.e1a</SPAN> | adc.587.w8h</SPAN> | whr.198.v5o</SPAN> | What is the Formula?</SPAN> | |
6</SPAN> | Echo</SPAN> | abc.587.l1j</SPAN> | pwm.735.t1s</SPAN> | jhm.726.w3w</SPAN> | mkn.723.b6b</SPAN> | ops.717.s2t</SPAN> | What is the Formula?</SPAN> | abc.587.l1j</SPAN> |
7</SPAN> | Foxtrot</SPAN> | asg.356.w6d</SPAN> | lfr.483.j4v</SPAN> | pfd.587.h5f</SPAN> | abc.587.p7t</SPAN> | alt.460.w8j</SPAN> | What is the Formula?</SPAN> | abc.587.p7t</SPAN> |
8</SPAN> | Golf</SPAN> | lai.234.l2h</SPAN> | own.481.a7g</SPAN> | wkd.789.d1o</SPAN> | wnp.180.g3f</SPAN> | oqm.193.r6s</SPAN> | What is the Formula?</SPAN> | |
9</SPAN> | Hotel</SPAN> | aiw.491.w0h</SPAN> | odv.358.s8f</SPAN> | abc.587.v3b</SPAN> | wno.734.h5h</SPAN> | qpn.715.y2j</SPAN> | What is the Formula?</SPAN> | abc.587.v3b</SPAN> |
14</SPAN> | ||||||||
15</SPAN> | Search String</SPAN> | abc.587</SPAN> |
<TBODY>
</TBODY>
Can this be done with a formula or does it need some sort of macro? (Macro's are completely foreign to me!)
Many thanks,