Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default How to get the cell reference of the value selected from name list

Hi,
I have a name list range called Workdays in Sheet2 consists of name range
values A1~A5 = Monday ~ Friday.
In Sheet1, colum A, I have a data validation referring to this list.
If in cell A1, Friday is selected. I want to show "A5" in B2 of Sheet1. Can
anyone help?
Thanks so much for your help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default How to get the cell reference of the value selected from name list

try this in B2 and your lookup value in B1

=ADDRESS(MATCH(B1,A1:A5,0),1,4)

--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked


Thank You

cheers, francis










"YY san." wrote:

Hi,
I have a name list range called Workdays in Sheet2 consists of name range
values A1~A5 = Monday ~ Friday.
In Sheet1, colum A, I have a data validation referring to this list.
If in cell A1, Friday is selected. I want to show "A5" in B2 of Sheet1. Can
anyone help?
Thanks so much for your help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to get the cell reference of the value selected from name list

There are several ways to do this. This one works no matter where your named
range Workdays is located.

Array entered** :

=ADDRESS(MAX((Workdays=A1)*ROW(Workdays)),COLUMN(W orkdays),4)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi,
I have a name list range called Workdays in Sheet2 consists of name range
values A1~A5 = Monday ~ Friday.
In Sheet1, colum A, I have a data validation referring to this list.
If in cell A1, Friday is selected. I want to show "A5" in B2 of Sheet1.
Can
anyone help?
Thanks so much for your help.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to get the cell reference of the value selected from name list

P.S.

In other words, I'm assuming you want the *specific* cell address that
matches the selection from the drop down list.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
There are several ways to do this. This one works no matter where your
named range Workdays is located.

Array entered** :

=ADDRESS(MAX((Workdays=A1)*ROW(Workdays)),COLUMN(W orkdays),4)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT key then hit ENTER.

--
Biff
Microsoft Excel MVP


"YY san." wrote in message
...
Hi,
I have a name list range called Workdays in Sheet2 consists of name range
values A1~A5 = Monday ~ Friday.
In Sheet1, colum A, I have a data validation referring to this list.
If in cell A1, Friday is selected. I want to show "A5" in B2 of Sheet1.
Can
anyone help?
Thanks so much for your help.






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
Function to use a list box or reference a cell Dan Excel Worksheet Functions 1 November 18th 08 09:26 PM
Autofill cell/sets of cells based upon value selected from a list. Brazil Excel Discussion (Misc queries) 1 February 5th 07 08:45 AM
A validated List which link to selected cells according to what is selected on the list WL Excel Worksheet Functions 1 June 5th 06 08:52 PM
A formula for displaying the cell reference of the selected cell Emlou85 via OfficeKB.com Excel Discussion (Misc queries) 3 March 19th 06 03:54 PM
Display the cell reference of the cell that is currently selected. Emlou85 via OfficeKB.com Excel Worksheet Functions 5 March 18th 06 10:29 AM


All times are GMT +1. The time now is 06:06 AM.

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"