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>
 
Really close now. The formula bar is returning the right result when I put the postcode in however when I inseret the formula and change it to the conditions that it needs, (IE on speperate tab) it comes up with #value! I cannot seem to enter the formula using ctrl+shift+enter either. is this a catylist for it to work. Do ineed to write down the formula in a call to copy over (i did try)
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
You must confirm the formula with Ctrl+Shift+Enter. What is preventing you from doing that? You need to put the formula in a single cell and copy/paste it to the remaining cells.
 
Upvote 0
Andrew I have no idea. I have tried ctrl shift and enter and nothing happens is it my formula which is wrong? I have copied it out as best as I could.

=IF(COUNTIF('Booking in'!J$5:J$500,D$3)>=ROWS(H$7:H7),INDEX('Booking in'!H$5:H$500,SMALL(IF('Booking in'!J$5:J$500=D$3,ROW('Booking in'!J$5:J$500)-ROW('Booking in'!J$5)+1),ROWS(H$7:H7))),"")
 
Upvote 0
Andrew I have no idea. I have tried ctrl shift and enter and nothing happens is it my formula which is wrong? I have copied it out as best as I could.

=IF(COUNTIF('Booking in'!J$5:J$500,D$3)>=ROWS(H$7:H7),INDEX('Booking in'!H$5:H$500,SMALL(IF('Booking in'!J$5:J$500=D$3,ROW('Booking in'!J$5:J$500)-ROW('Booking in'!J$5)+1),ROWS(H$7:H7))),"")

I have managed to crack it. After fiddling about with it, The brackets appeared. (problem is, I can't remember what I had done)! the postcode is the same and the addresses are different. Now I have to match the names to the addresses and I am there. Thank you so very much for your help. It has been invaluable. Hapy New year . Until the next time!(y)
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,721
Members
449,465
Latest member
TAKLAM

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