Are you wanting both first and last name returned? this will get you the surname only, but can be joined with a similar formula to get the 1st and last name based on the house number
Excel Workbook |
---|
|
---|
| B | C | D | E | F | G | H | I | J | K | L |
---|
5 | Working Date | Name | Surename | House number | Street | Street 1 | Town | City | Post Code | Payment Methods | Amounts |
---|
6 | 05/06/2010 | jay | kane | 11 | market street | hoylake | wirral | liverpool | ch47 3bb | cash | 500.00 |
---|
7 | 15/02/2011 | jame | jones | 1 | school lane | morton | blackburn | merseyside | ch57 3ii | cheque | 100.00 |
---|
8 | 15/03/2011 | kay | james | 5 | kane land | hoylake | earth | manchester | ch12 1ct | direct debt | 156.00 |
---|
9 | 16/03/2011 | ryan | king | 46 | walker street | meols | hell | leeds | l4 s2i | cash | 475.00 |
---|
10 | 01/05/2011 | ling | zoe | 77 | trinity road | biston | **** | london | w1n | cheque | 45.00 |
---|
11 | 03/06/2011 | sue | wyn | 55 | newton road | birkenhead | wirral | darwent | ciy | cash | 22.00 |
---|
12 | | | | | | | | | | | |
---|
13 | 55 | wyn | | | | | | | | | |
---|
14 | 1 | jones | | | | | | | | | |
---|
15 | 11 | kane | | | | | | | | | |
---|
16 | 46 | king | | | | | | | | | |
---|
17 | 5 | james | | | | | | | | | |
---|
18 | 77 | zoe | | | | | | | | | |
---|
|
---|
The above is surname only
if you use the below formula with the same table you could extract 1st and last name
Sheet1
<table style="font-family: Calibri,Arial; font-size: 11pt; background-color: rgb(255, 255, 255); padding-left: 2pt; padding-right: 2pt;" border="1" cellpadding="0" cellspacing="0"> <colgroup><col style="font-weight: bold; width: 30px;"><col style="width: 89.6px;"><col style="width: 81.6px;"></colgroup><tr style="background-color: rgb(202, 202, 202); text-align: center; font-weight: bold; font-size: 8pt;"><td> </td><td>B</td><td>C</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">13</td><td style="text-align: right; border: 1px solid rgb(0, 0, 0);">55</td><td style="border-top: 1px solid rgb(0, 0, 0); border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">sue wyn</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">14</td><td style="text-align: right; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);">1</td><td style="border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">jame jones</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">15</td><td style="text-align: right; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);">11</td><td style="border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">jay kane</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">16</td><td style="text-align: right; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);">46</td><td style="border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">ryan king</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">17</td><td style="text-align: right; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);">5</td><td style="border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">kay james</td></tr><tr style="height: 22px;"><td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">18</td><td style="text-align: right; border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); border-left: 1px solid rgb(0, 0, 0);">77</td><td style="border-right: 1px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0);">ling zoe</td></tr></table>
<table style="font-family: Arial; font-size: 10pt; border-style: groove; border-color: rgb(0, 255, 0); background-color: rgb(255, 252, 249); color: rgb(0, 0, 0);"><tr><td>
Spreadsheet Formulas</td></tr><tr><td><table style="font-family: Arial; font-size: 9pt;" border="1" cellpadding="2" cellspacing="0"><tr style="background-color: rgb(202, 202, 202); font-size: 10pt;"><td>Cell</td><td>Formula</td></tr><tr><td>C13</td><td>=INDEX($C$6:$C$11,MATCH
(B13,$E$6:$E$11,0))&" "&INDEX($D$6:$D$11,MATCH
(B13,$E$6:$E$11,0))</td></tr></table></td></tr></table>
The second formulas not displaying it properley but there is a space between the &" "& at the point the 2 formulas are being joined