I think I've got a pretty simple one to solve but I can't seem to find the answer within the mrexcel forum.
I want to get the Suburb entries of particular customers.
The INDEX and MATCH combination works well until I get to a blank entry, this is the formula I have been using, simplified for here:
<tbody>
</tbody>
To get John Smith's Suburb: -
=INDEX(B2:B6,MATCH(A2,A2:A6,0))
=Croydon
As soon as I want to get Simon Crouch's Suburb: -
=INDEX(B2:B6,MATCH(A4,A2:A6,0))
=0
In essence there are thousands of customers, many of which are entered more than once, but there is at least one Suburb entry for each customer.
How do I get excel to display the first non blank Suburb entry for a specific Customer?
Regards,
Dan1980
I want to get the Suburb entries of particular customers.
The INDEX and MATCH combination works well until I get to a blank entry, this is the formula I have been using, simplified for here:
A | B | |
1 | Customer | Suburb |
2 | John Smith | Croydon |
3 | Simon Crouch | |
4 | Simon Crouch | Concord |
5 | Jane Doe | Marrickville |
6 | Sam White | Parramatta |
<tbody>
</tbody>
To get John Smith's Suburb: -
=INDEX(B2:B6,MATCH(A2,A2:A6,0))
=Croydon
As soon as I want to get Simon Crouch's Suburb: -
=INDEX(B2:B6,MATCH(A4,A2:A6,0))
=0
In essence there are thousands of customers, many of which are entered more than once, but there is at least one Suburb entry for each customer.
How do I get excel to display the first non blank Suburb entry for a specific Customer?
Regards,
Dan1980