Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pat
 
Posts: n/a
Default Defined range using more than one column

Can anyone tell me if it is possible to have two or more columns in a
defined range. I want to have a dropdown validation list where two or more
columns of data is displayed on the dropdown list. When an item is selected
in the dropdown list only one of the columns data is displayed in the cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down please let me know.

Thanks
Pat


  #2   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

You can have a defined range with two or more columns, but that won't show
up in Data=Validation using the list option. You might want to look at the
Control Toolbox Toolbar Combobox or Listbox.

When an item is selected
in the dropdown list only one of the columns data is displayed in the

cell.

It is unclear if you are saying this is what you want, or you are
complaining that this is what happens and not what you want. It certainly
is what happens and there is no way around that unless you use code to
interpret the selection and write a concatenated string of the column values
to the single cell or write the row in the combobox dropdown across multiple
cells.

--
Regards,
Tom Ogilvy


"Pat" wrote in message
...
Can anyone tell me if it is possible to have two or more columns in a
defined range. I want to have a dropdown validation list where two or more
columns of data is displayed on the dropdown list. When an item is

selected
in the dropdown list only one of the columns data is displayed in the

cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down please let me know.

Thanks
Pat




  #3   Report Post  
Pat
 
Posts: n/a
Default

It is unclear if you are saying this is what you want, or you are
complaining that this is what happens and not what you want. It certainly
is what happens and there is no way around that unless you use code to
interpret the selection and write a concatenated string of the column
values
to the single cell or write the row in the combobox dropdown across
multiple
cells


Yes this what I want and I am happy with that.

Do you happen to know if there is examples of what you suggest on the web?


"Tom Ogilvy" wrote in message
...
You can have a defined range with two or more columns, but that won't show
up in Data=Validation using the list option. You might want to look at
the
Control Toolbox Toolbar Combobox or Listbox.

When an item is selected
in the dropdown list only one of the columns data is displayed in the

cell.

It is unclear if you are saying this is what you want, or you are
complaining that this is what happens and not what you want. It certainly
is what happens and there is no way around that unless you use code to
interpret the selection and write a concatenated string of the column
values
to the single cell or write the row in the combobox dropdown across
multiple
cells.

--
Regards,
Tom Ogilvy


"Pat" wrote in message
...
Can anyone tell me if it is possible to have two or more columns in a
defined range. I want to have a dropdown validation list where two or
more
columns of data is displayed on the dropdown list. When an item is

selected
in the dropdown list only one of the columns data is displayed in the

cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down please let me know.

Thanks
Pat






  #4   Report Post  
Jason Morin
 
Posts: n/a
Default

Try SUMIF. For example, let's say your dates are in col.
A, values to sum in col. B, and all this is in a sheet
named "mysheet". With a date in A1 of a new sheet, use:

=SUMIF(mysheet!A:A,A1,mysheet!B:B)

HTH
Jason
Atlanta, GA

-----Original Message-----
Can anyone tell me if it is possible to have two or more

columns in a
defined range. I want to have a dropdown validation list

where two or more
columns of data is displayed on the dropdown list. When

an item is selected
in the dropdown list only one of the columns data is

displayed in the cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down

please let me know.

Thanks
Pat


.

  #5   Report Post  
Jason Morin
 
Posts: n/a
Default

Ignore this. I responded to the wrong post. Sorry.

Jason

-----Original Message-----
Try SUMIF. For example, let's say your dates are in col.
A, values to sum in col. B, and all this is in a sheet
named "mysheet". With a date in A1 of a new sheet, use:

=SUMIF(mysheet!A:A,A1,mysheet!B:B)

HTH
Jason
Atlanta, GA

-----Original Message-----
Can anyone tell me if it is possible to have two or

more
columns in a
defined range. I want to have a dropdown validation

list
where two or more
columns of data is displayed on the dropdown list. When

an item is selected
in the dropdown list only one of the columns data is

displayed in the cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down

please let me know.

Thanks
Pat


.

.



  #6   Report Post  
Pat
 
Posts: n/a
Default

I have tried you suggestion and was unsuccessful only a date 00-01-1900 was
returned from the formula. Am I missing something here?


"Jason Morin" wrote in message
...
Try SUMIF. For example, let's say your dates are in col.
A, values to sum in col. B, and all this is in a sheet
named "mysheet". With a date in A1 of a new sheet, use:

=SUMIF(mysheet!A:A,A1,mysheet!B:B)

HTH
Jason
Atlanta, GA

-----Original Message-----
Can anyone tell me if it is possible to have two or more

columns in a
defined range. I want to have a dropdown validation list

where two or more
columns of data is displayed on the dropdown list. When

an item is selected
in the dropdown list only one of the columns data is

displayed in the cell.
Is this possible and how is this accomplished?
Or if there is a different approach I should go down

please let me know.

Thanks
Pat


.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine candle and line in a single chart Bert Charts and Charting in Excel 4 January 19th 05 07:23 AM
Defined range problem Pat Excel Discussion (Misc queries) 8 January 17th 05 11:25 AM
Defined range difficulty Pat Excel Discussion (Misc queries) 7 January 16th 05 09:52 PM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM
Vlookup of parts of a word in a range of Data Andre Croteau Excel Discussion (Misc queries) 3 December 19th 04 07:26 PM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"