Validation using a mulit-row/column range

Belder

New Member
Joined
Jul 11, 2006
Messages
8
Hello,

I am being lazy, and want to know if this is possible!

I have a range called 'Data', say 5 Row by 2 Col:

Col1 ------ Col 2
Item 1 ------ 1
Item 2 ------ 2
Item 3 ------ 3
Item 4 ------ 4
Item 5 ------ 5


In my validation cell, I just want {Item 1, Item 2,...., Item 5}, but I am too lazy (or efficient?) to have a second named range. My question is: can I use the two column range 'Data' in the validation reference? It looks like you can have a formula in the source box, or use custom and set a formula.

Any ideas? Thanks for your help.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
You could try an OFFSET formula.

This worked for me.

=OFFSET(Data,0,0,ROWS(Data),1)
 
Upvote 0
Great! Both solutions work fine.

Thanks for your help. Saves me lots of time and probably halves the amount of my named ranges!
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,984
Members
449,058
Latest member
oculus

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