Part of my code has stopped working

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,832
Office Version
  1. 2007
Platform
  1. Windows
Morning,

I have a worksheet called INV that when i select the drop down arrow in cell G13 i see a list of customers names.
These names are on another worksheet called DATABASE of which is in the same workbook.
Selecting a name then copies certain cell values from the customers entered info on the DATABASE sheet like address, post code etc etc.
I have noticed that now the telephone number is not imported anymore.
The telephone number is on the worksheet DATABASE & is in column W
It should then be entered on the worksheet called INv & entered in cell N17

So i am now trying to find the code which gathers the information to enter on the INV sheet.
If i click the cell for where the customers name is then data validation i then see =INDIRECT("CUSTOMERSNAMEINV")

Now i dont know how to continue to find the code.

Please can you advise thanks
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
I have looked for code that would copy / paste the required values but so far no luck.
I have look for code on the INV & DATABASE sheet.
Ive even looked through every module code but nothing.

Where else would the code possibly be ?
 
Upvote 0
You are correct.

I didnt see it before as nothing was there but the following now works,thanks

Code:
=IFERROR(IF(INDEX(DATABASE!W:W,$H$13)=0,"",INDEX(DATABASE!W:W,$H$13)),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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