Help with validations in Excel

R

Raj

Hi,

I have two sheets: Inward and Outward

Inward has 3 columns as under:

Sender Sender_Invoice_Number Qtty
A 25895 25
B 15287 18
c 25987 19
A 26879 35

Outward has 4 columns as under:

My_Invoice_Number Sender Sender_Invoice_Number Qtty
1 A 259895 12

The requirement is this:
In the Outward sheet, the sender column should show a drop-down list
(validation) of list of senders(unique values from Sender column in
Inward sheet). Once the user selects a value ("A" in the example
above),then the "Sender_Invoice_Number" column in Outward sheet should
show a validation with a list of Unique "Sender_Invoice_Number" from
outward sheet for that particular sender.

I am looking for a VBA solution to this problem. I have good working
knowledge of VBA and have created validations in cells at runtime.
Please help with code/pointers for this.

Thanks in advance for the help.

Regards,
Raj
 
J

Joel

Use advance filter with the unique option. Record a macro while performing
the operation using Advance filter under the worksheet data menu. then
modify the recorded code as required.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top