Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default FORMULA REQUIRED

Hi, I'm wondering whether anyone can help me with a formula in Excel which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number that
matches that in Row 2. The Result in this case = $C$1. However the formula
must work everytime based on the fact that values can change in all fields.

I know how to find the Cell that matches 14 separately, and I know how to
get a Cell Address separately. However I can't manage to get a combined
formula that will always give me the correct cell reference for the numbers
that match.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default FORMULA REQUIRED

Hi

try
=ADDRESS(1,MATCH(A2,A1:F1,0))
where 1 is the row number of your list of values (ie the range A1:F1) and A2
is the value to match to.


Cheers
JulieD

"freds" wrote in message
...
Hi, I'm wondering whether anyone can help me with a formula in Excel which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number that
matches that in Row 2. The Result in this case = $C$1. However the formula
must work everytime based on the fact that values can change in all
fields.

I know how to find the Cell that matches 14 separately, and I know how to
get a Cell Address separately. However I can't manage to get a combined
formula that will always give me the correct cell reference for the
numbers
that match.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default FORMULA REQUIRED

Hi JulieD,

Your formula was helpful, but doesn't quite work. Also it is a little more
complicated than I first wrote, as there are 2 additional columns.

eg:
Row 1. Col A = Text, Col B = Text, Col C = 10, D = 12, E = 14, F = 16, G =
18, H = 20

Row 2. Col A value = 14

The result needs to be E1 in this scenario, but I'm having trouble
understanding the ADDRESS syntax! Your formula ADDRESS(1,MATCH(A2,A1:F1,0))
returned a value A1 based on my previous example, however when I try to add
in a Column reference into the formula, I don't quite know what to put as the
Column may always be different, depending on what the various values are.

If you can shed any further light on this it would be greatly appreciated.

Cheers and have a great day.

"JulieD" wrote:

Hi

try
=ADDRESS(1,MATCH(A2,A1:F1,0))
where 1 is the row number of your list of values (ie the range A1:F1) and A2
is the value to match to.


Cheers
JulieD

"freds" wrote in message
...
Hi, I'm wondering whether anyone can help me with a formula in Excel which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number that
matches that in Row 2. The Result in this case = $C$1. However the formula
must work everytime based on the fact that values can change in all
fields.

I know how to find the Cell that matches 14 separately, and I know how to
get a Cell Address separately. However I can't manage to get a combined
formula that will always give me the correct cell reference for the
numbers
that match.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default FORMULA REQUIRED

Hi

the formula of
=ADDRESS(1,MATCH(A2,A1:F1,0))

says
return the cell address of the value in row 1 where a match for the value in
A2 is found in the range A1:F1.
so if you have additional columns all you need to change is the range of
values to check, ie A1:F1 becomes A1:H1

the syntax of the ADDRESS function is
ADDRESS(row_number, column_number)
to get the column number i'm using the MATCH function, the syntax is
MATCH(lookup_value, range_to_find_the_lookup_value_in,type_of_match)

hope this helps

Cheers
JulieD



"freds" wrote in message
...
Hi JulieD,

Your formula was helpful, but doesn't quite work. Also it is a little more
complicated than I first wrote, as there are 2 additional columns.

eg:
Row 1. Col A = Text, Col B = Text, Col C = 10, D = 12, E = 14, F = 16, G =
18, H = 20

Row 2. Col A value = 14

The result needs to be E1 in this scenario, but I'm having trouble
understanding the ADDRESS syntax! Your formula
ADDRESS(1,MATCH(A2,A1:F1,0))
returned a value A1 based on my previous example, however when I try to
add
in a Column reference into the formula, I don't quite know what to put as
the
Column may always be different, depending on what the various values are.

If you can shed any further light on this it would be greatly appreciated.

Cheers and have a great day.

"JulieD" wrote:

Hi

try
=ADDRESS(1,MATCH(A2,A1:F1,0))
where 1 is the row number of your list of values (ie the range A1:F1) and
A2
is the value to match to.


Cheers
JulieD

"freds" wrote in message
...
Hi, I'm wondering whether anyone can help me with a formula in Excel
which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number that
matches that in Row 2. The Result in this case = $C$1. However the
formula
must work everytime based on the fact that values can change in all
fields.

I know how to find the Cell that matches 14 separately, and I know how
to
get a Cell Address separately. However I can't manage to get a combined
formula that will always give me the correct cell reference for the
numbers
that match.






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default FORMULA REQUIRED

Hi Julie,

Thanks, it worked.

"JulieD" wrote:

Hi

the formula of
=ADDRESS(1,MATCH(A2,A1:F1,0))

says
return the cell address of the value in row 1 where a match for the value in
A2 is found in the range A1:F1.
so if you have additional columns all you need to change is the range of
values to check, ie A1:F1 becomes A1:H1

the syntax of the ADDRESS function is
ADDRESS(row_number, column_number)
to get the column number i'm using the MATCH function, the syntax is
MATCH(lookup_value, range_to_find_the_lookup_value_in,type_of_match)

hope this helps

Cheers
JulieD



"freds" wrote in message
...
Hi JulieD,

Your formula was helpful, but doesn't quite work. Also it is a little more
complicated than I first wrote, as there are 2 additional columns.

eg:
Row 1. Col A = Text, Col B = Text, Col C = 10, D = 12, E = 14, F = 16, G =
18, H = 20

Row 2. Col A value = 14

The result needs to be E1 in this scenario, but I'm having trouble
understanding the ADDRESS syntax! Your formula
ADDRESS(1,MATCH(A2,A1:F1,0))
returned a value A1 based on my previous example, however when I try to
add
in a Column reference into the formula, I don't quite know what to put as
the
Column may always be different, depending on what the various values are.

If you can shed any further light on this it would be greatly appreciated.

Cheers and have a great day.

"JulieD" wrote:

Hi

try
=ADDRESS(1,MATCH(A2,A1:F1,0))
where 1 is the row number of your list of values (ie the range A1:F1) and
A2
is the value to match to.


Cheers
JulieD

"freds" wrote in message
...
Hi, I'm wondering whether anyone can help me with a formula in Excel
which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number that
matches that in Row 2. The Result in this case = $C$1. However the
formula
must work everytime based on the fact that values can change in all
fields.

I know how to find the Cell that matches 14 separately, and I know how
to
get a Cell Address separately. However I can't manage to get a combined
formula that will always give me the correct cell reference for the
numbers
that match.








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default FORMULA REQUIRED

you're welcome - thanks for the feedback

"freds" wrote in message
...
Hi Julie,

Thanks, it worked.

"JulieD" wrote:

Hi

the formula of
=ADDRESS(1,MATCH(A2,A1:F1,0))

says
return the cell address of the value in row 1 where a match for the value
in
A2 is found in the range A1:F1.
so if you have additional columns all you need to change is the range of
values to check, ie A1:F1 becomes A1:H1

the syntax of the ADDRESS function is
ADDRESS(row_number, column_number)
to get the column number i'm using the MATCH function, the syntax is
MATCH(lookup_value, range_to_find_the_lookup_value_in,type_of_match)

hope this helps

Cheers
JulieD



"freds" wrote in message
...
Hi JulieD,

Your formula was helpful, but doesn't quite work. Also it is a little
more
complicated than I first wrote, as there are 2 additional columns.

eg:
Row 1. Col A = Text, Col B = Text, Col C = 10, D = 12, E = 14, F = 16,
G =
18, H = 20

Row 2. Col A value = 14

The result needs to be E1 in this scenario, but I'm having trouble
understanding the ADDRESS syntax! Your formula
ADDRESS(1,MATCH(A2,A1:F1,0))
returned a value A1 based on my previous example, however when I try to
add
in a Column reference into the formula, I don't quite know what to put
as
the
Column may always be different, depending on what the various values
are.

If you can shed any further light on this it would be greatly
appreciated.

Cheers and have a great day.

"JulieD" wrote:

Hi

try
=ADDRESS(1,MATCH(A2,A1:F1,0))
where 1 is the row number of your list of values (ie the range A1:F1)
and
A2
is the value to match to.


Cheers
JulieD

"freds" wrote in message
...
Hi, I'm wondering whether anyone can help me with a formula in Excel
which
I'm having trouble with.

eg:
Row 1. Col A value = 10, B = 12, C = 14, D = 16, E = 18, F = 20

Row 2. Col A value = 14

The values in Rows 1 and 2 are dynamic and may change based on other
formulas elsewhere in the Worksheet.

But Row 2 will always have a value that equals a value in Row 1.

Result Required:
I would like to find the CELL reference from Row 1 for the number
that
matches that in Row 2. The Result in this case = $C$1. However the
formula
must work everytime based on the fact that values can change in all
fields.

I know how to find the Cell that matches 14 separately, and I know
how
to
get a Cell Address separately. However I can't manage to get a
combined
formula that will always give me the correct cell reference for the
numbers
that match.








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
Formula required The Rook[_2_] Excel Discussion (Misc queries) 5 January 16th 08 04:18 PM
Help with a formula required please Dave Excel Discussion (Misc queries) 3 November 2nd 07 12:07 PM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
FORMULA REQUIRED shaji Excel Discussion (Misc queries) 2 September 12th 06 04:05 PM
A Formula required - please! Anthony Excel Discussion (Misc queries) 2 July 21st 05 10:11 AM


All times are GMT +1. The time now is 05:37 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"