Excel 2007 Dropdown list from multiple column
Closed
ExcelJosh
Posts
12
Registration date
Wednesday 8 August 2012
Status
Contributor
Last seen
12 October 2012
-
8 Aug 2012 à 09:58
ExcelJosh Posts 12 Registration date Wednesday 8 August 2012 Status Contributor Last seen 12 October 2012 - 10 Aug 2012 à 15:28
ExcelJosh Posts 12 Registration date Wednesday 8 August 2012 Status Contributor Last seen 12 October 2012 - 10 Aug 2012 à 15:28
Related:
- Excel 2007 Dropdown list from multiple column
- Save as pdf office 2007 - Download - Other
- Excel column number - Guide
- Excel drop down list multiple columns - Guide
- Microsoft picture manager download 2007 - Download - Image viewing and management
- Excel mod apk for pc - Download - Spreadsheets
4 responses
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
9 Aug 2012 à 01:40
9 Aug 2012 à 01:40
DATA IS LIKE THIS FROM a1 TO b5
1 6
2 7
3 8
4 9
5 0
hightglightg data in col. B that is B1 to B5
control+ and select one after last data in column A that is A6 and control +v and sort(no header) column A only
1 6
2 7
3 8
4 9
5 0
hightglightg data in col. B that is B1 to B5
control+ and select one after last data in column A that is A6 and control +v and sort(no header) column A only
ExcelJosh
Posts
12
Registration date
Wednesday 8 August 2012
Status
Contributor
Last seen
12 October 2012
9 Aug 2012 à 08:27
9 Aug 2012 à 08:27
venkat1926:
Excellent advise. However, I am trying to do this without physically manipulating the spreadsheet that the columns are in. Would I be best suited in using a combo box instead of a data validation list? I would like to manipulate the data with a macro.
Thank you,
Josh
Excellent advise. However, I am trying to do this without physically manipulating the spreadsheet that the columns are in. Would I be best suited in using a combo box instead of a data validation list? I would like to manipulate the data with a macro.
Thank you,
Josh
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
9 Aug 2012 à 23:16
9 Aug 2012 à 23:16
not clear "without physically manipulating the "
doe it mean that you do not want to lose the original configuration of the data
will this macro do? you may not need combo box etc
doe it mean that you do not want to lose the original configuration of the data
will this macro do? you may not need combo box etc
Sub test()
Dim ra As Range, rb As Range, r As Range, j As Long, k As Long, m As Long
Set ra = Range(Range("A1"), Range("A1").End(xlDown))
Set rb = ra.Offset(0, 1)
Set r = Range("a1").CurrentRegion
j = WorksheetFunction.CountA(ra)
Columns("F:F").Cells.Clear
For k = 1 To j
For m = 1 To 2
Cells(Rows.Count, "F").End(xlUp).Offset(1, 0) = r.Cells(k, m)
Next m
Next k
Range(Range("F1"), Cells(Rows.Count, "F").End(xlUp)).Sort key1:=Range("F1"), header:=xlNo
End Sub
ExcelJosh
Posts
12
Registration date
Wednesday 8 August 2012
Status
Contributor
Last seen
12 October 2012
10 Aug 2012 à 15:28
10 Aug 2012 à 15:28
venkat1926:
Great code and will come in handy when I need to reorganize data into 1 column.
I want to use a drop down. I want to allow a user to chose from that list and have the data in a cell. This drop down list will be in multiple rows.
I hope this helps.
Thank you,
Josh
Great code and will come in handy when I need to reorganize data into 1 column.
I want to use a drop down. I want to allow a user to chose from that list and have the data in a cell. This drop down list will be in multiple rows.
I hope this helps.
Thank you,
Josh