Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Identify address of cell containing specific data

If range A1:D1 contains names of months January - April and G1 can be any
month, how can I find out the address of the cell containing the data that is
in G1? I use Excel 2000.
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Identify address of cell containing specific data

try
="A"&match(G1,A1:A4)
as one way

"Peter N." wrote:

If range A1:D1 contains names of months January - April and G1 can be any
month, how can I find out the address of the cell containing the data that is
in G1? I use Excel 2000.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Identify address of cell containing specific data

Another, similar way:
=ADDRESS(1,MATCH(G1,A1:D1,0))
that will return #N/A if G1 does not hold 1 of the 4 month names, you can
deal with that with:
=IF(ISNA(ADDRESS(1,MATCH(G1,A1:D1,0))),"",ADDRESS( 1,MATCH(G1,A1:D1,0)))
or even tell when there's no match with that last one changed to
=IF(ISNA(ADDRESS(1,MATCH(G1,A1:D1,0))),"No
Match",ADDRESS(1,MATCH(G1,A1:D1,0)))

"Peter N." wrote:

If range A1:D1 contains names of months January - April and G1 can be any
month, how can I find out the address of the cell containing the data that is
in G1? I use Excel 2000.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Identify address of cell containing specific data

Thanks - very useful

"JLatham" wrote:

Another, similar way:
=ADDRESS(1,MATCH(G1,A1:D1,0))
that will return #N/A if G1 does not hold 1 of the 4 month names, you can
deal with that with:
=IF(ISNA(ADDRESS(1,MATCH(G1,A1:D1,0))),"",ADDRESS( 1,MATCH(G1,A1:D1,0)))
or even tell when there's no match with that last one changed to
=IF(ISNA(ADDRESS(1,MATCH(G1,A1:D1,0))),"No
Match",ADDRESS(1,MATCH(G1,A1:D1,0)))

"Peter N." wrote:

If range A1:D1 contains names of months January - April and G1 can be any
month, how can I find out the address of the cell containing the data that is
in G1? I use Excel 2000.

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 to identify specific cells dmack Excel Discussion (Misc queries) 1 June 21st 07 11:28 PM
Data Validation: Store cell address instead of value in the cell? WillW Excel Discussion (Misc queries) 1 January 31st 07 02:22 AM
search column of text cellto identify those cells with specific w Ross Headifen Excel Worksheet Functions 1 July 8th 06 02:49 PM
How identify data of two coulams,Every cell count and show result pooja Excel Discussion (Misc queries) 1 September 19th 05 09:51 AM
identify data in a cell that has a number as the second character Brian Excel Worksheet Functions 1 December 12th 04 03:23 PM


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

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

About Us

"It's about Microsoft Excel"