Help with Look up reference

North for Short

New Member
Joined
Nov 17, 2010
Messages
46
Hi,

A merry Christmas to you all. Haven't been here for a while and the OS systems have evolved. I am looking for a solution to help me look up a reference such as a zip code and then to find the address. I have a spreadsheet with customer's addresses on it and I need to find a particular addreess, I type in the zip code (post code in UK) and the address should appear. What is happening is that the address does not match the zip code . From that I have another lookup reference to check on a customer's name, which should match up the addrress.

The function I am using and have done so before is a simple look up however the addresses are not corresponding to the zipcode

EG =LOOKUP(D3,'Booking in'!H5:H300,'Booking in'!G5:G500)

I have inserted a simple table with data. Can someone tell me what I have missed?

14 December 20131 1MOUSE48 DISNEY GARDENSZ12345NO
14 December 20131 2WATCHINGS108 ALEXANDRA ROADZ23456NO
14 December 20131 3TRAVISS12 OLDWOOD CHASEZ34566YES24 December 2013
14 December 20131 4SMITHY14 COTTESMORE PLACEZ44433NO
14 December 20131 5JONESEY7 SALISBURY ROADZ33433NO

<COLGROUP><COL style="WIDTH: 110pt; mso-width-source: userset; mso-width-alt: 4152" width=146><COL style="WIDTH: 14pt; mso-width-source: userset; mso-width-alt: 540" width=19><COL style="WIDTH: 113pt; mso-width-source: userset; mso-width-alt: 4266" width=150><COL style="WIDTH: 88pt; mso-width-source: userset; mso-width-alt: 3328" width=117><COL style="WIDTH: 59pt; mso-width-source: userset; mso-width-alt: 2247" width=79><COL style="WIDTH: 184pt; mso-width-source: userset; mso-width-alt: 6968" width=245><COL style="WIDTH: 338pt; mso-width-source: userset; mso-width-alt: 12800" width=450><COL style="WIDTH: 80pt; mso-width-source: userset; mso-width-alt: 3043" width=107><COL style="WIDTH: 103pt; mso-width-source: userset; mso-width-alt: 3896" width=137><COL style="WIDTH: 111pt; mso-width-source: userset; mso-width-alt: 4209" width=148><COL style="WIDTH: 158pt; mso-width-source: userset; mso-width-alt: 6001" width=211><TBODY>
</TBODY>
 
I am having problems with the formula, mainly because the sheet where this formula is, is on another tab and the postcode reference is D3
So my set up is tab 1 booking in, tab two Finder.
 
Upvote 0

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I am back, I have tried using that formula and to no avail. What I am after is to list any address on that postcode. I can get the individual formula to work no problem but as soon as I try and put in the other one I get value or the wrong address completely. Is there something missing?

Date
Count customers
INDEX
Customer Name
Customer Address
Post Code
Booked in by
14 December 2013
1
1
SPIDERMAN
123 ANY ROAD,
AB12
9XZ
14 December 2013
1
2
WOLVERINE
5 HOLLYWOOD
AB12
1AB
14 December 2013
1
3
WONDERWOMAN
2 NEW YORK SQ
AB12
0LS
14 December 2013
1
4
BATMAN
1 WAYNE MANSIONS
AB12
9XZ
14 December 2013
1
5
SUPERMAN
THE FARM
AB12
7AN
14 December 2013
1
6
ROBIN
1A WAYNE MANSIONS
AB12
9XZ

<TBODY>
</TBODY>


This what my booking in form looks like. underneath is my tracker tab and this is where I have the trouble

Enter Postcode</SPAN>
AB12</SPAN>
9xz</SPAN>
#VALUE!</SPAN>
Address</SPAN>
#VALUE!</SPAN>
#VALUE!</SPAN>
1A WAYNE MANSIONS</SPAN>
On one address the original formula works but the new formula I cannot get going. So close now!:confused:

<TBODY>
</TBODY>
 
Upvote 0
Try this on:
=INDEX('Booking in'!G$5:G$500,MATCH(D3,'Booking in'!H$5:H$500,FALSE))

More simplified
=INDEX('Booking in'!G:G,MATCH(D3,'Booking in'!H:H,))
or
=VLOOKUP(D3,'Booking in'!G:H,2,)
 
Upvote 0
Formula in I1 copied down:

Book1
ABCDEFGHI
19XZ123 ANY ROAD,
21 WAYNE MANSIONS
31A WAYNE MANSIONS
4DateCount customersINDEXCustomer NameCustomer AddressPost Code
514-Dec-1311SPIDERMAN123 ANY ROAD,AB129XZ
614-Dec-1312WOLVERINE5 HOLLYWOODAB121AB
714-Dec-1313WONDERWOMAN2 NEW YORK SQAB120LS
814-Dec-1314BATMAN1 WAYNE MANSIONSAB129XZ
914-Dec-1315SUPERMANTHE FARMAB127AN
1014-Dec-1316ROBIN1A WAYNE MANSIONSAB129XZ
Booking in
Cell Formulas
RangeFormula
I1:I3I1=IF(COUNTIF('Booking in'!G$5:G$500,H$1)>=ROWS(I$1:I1),INDEX('Booking in'!E$5:E$500,SMALL(IF('Booking in'!G$5:G$500=H$1,ROW('Booking in'!G$5:G$500)-ROW('Booking in'!G$5)+1),ROWS(I$1:I1))),"")
 
Last edited by a moderator:
Upvote 0
Solution

Forum statistics

Threads
1,216,360
Messages
6,130,175
Members
449,562
Latest member
mthrasher16

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