You are here:

- Home
- Computing/Technology
- Business Software
- Excel
- Validation macro

Advertisement

Hi

I am using data validation list. and the VLOOKUP function with this formula:

= HYPERLINK.(VLOOKUP(D5;'Sheet3'!A1:C340,2))

The problem is if some of the data in Sheet3 column A is like, the VLOOKUP function, cannot tell them apart.

* The validation is in sheet1 D5

* Data is on sheet 3

Exempel sheet 3

Column A Column B

1 John budget 2012

2 John budget 2013

3 Per sale

4 Petter Sale

In the validation list John appears 2 times and I can choose between them, but in cell D7 where the formula is, only the first choice show up.(budget 2012)

I assume this is because the formula cannot see the difference between the two John

Can a macro solve this problem?

Hello

The problem is that john is repeated, but if they are different registries can join cells and have the data list where to look is the column where the concatenation. Can concatenate the three columns and make is look in column

= A2 & B2 & C2

By the way your formula for the range where data are locks you must add $ because every time I copy down the matrix will go moving place to look

= HYPERLINK (VLOOKUP (D5, "Sheet3 '$ A $ 1: $ C $ 340, 2)).

Fijate and comets me if it fixes or not you need, I spend here

http://programarexcel.blogspot.com.ar/p/contacto.html file and I make a macro to solve your problem.

In http://programarexcel.blogspot.com find a series of macros examples that you can adapt to your project.

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

Excel

Answers by Expert:

Expert programming macros or visual basic VBA that can help automate your Excel spreadsheets using VBA programming or macros to excel, forms and other procedures related to Macros. I also have an excellent command of Excel in almost its entirety, formulas, graphs, dynamic tables. In http://programarexcel.blogspot.com o www.programarexcel.com examples can download free excel macros programmed in VBA, macros can be downloaded and adapted to the project that you're doing to automate excel www.programarexcel.com

For several years, use Microsoft Excel on a daily basis, more specifically in my work, which is why over several years I have compiled a wealth of knowledge about their operation, adding to the basic operation of coding excel VBA macros to automate repetitive tasks . I serve as an expert in excel also in www.todoexpertos.com site, which I enjoy a great reputation.
In http://programarexcel.blogspot.com o www.programarexcel.com examples can download free excel macros programmed in VBA, macros can be downloaded and adapted to the project that you're doing to automate excel
www.programarexcel.com
**Organizations**

http://www.programarexcel.blogspot.com
http://www.programarexcel.com**Publications**

In public http://www.programarexcel.com o www.programarexcel.com continuously macro examples that readers can download for free and adapt to the needs of each project in excel that has the web page visitor**Education/Credentials**

My profession's is a Chartered Accountant with experience in Excel, especially in VBA or macro programming, but also in the formulas and everything related to excel, I graduated several years ago at the National University of Cordoba, now I practice my profession in which a basic tool is excel.
www.programarexcel.com**Awards and Honors**

http://www.programarexcel.blogspot.com
http://www.programarexcel.com**Past/Present Clients**

http://www.programarexcel.blogspot.com
http://www.programarexcel.com