Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default How to get current row-column?

Suppose in column D2 we have value:
SALES-OUT(CU) MTH/3/2006
I would like to have the data as:
01/3/2006
Therefore, I create a formula (after going thru excel help!):
=CONCATENATE("01",MID(J2,18,10))
This works. However, is it possible to make this formula more generic?
For example, instead of J2, I want to refer to current col and row,
something like combining the function row() with a function column()
(is there one?). Does this make sense? For example the following
formula would have been more generic (does not work):
=CONCATENATE("01",MID(get_current_column_and_row() ,18,10))
Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How to get current row-column?

The current_column and current_row would be the active cell and would result
in a circular reference.

Biff

wrote in message
ps.com...
Suppose in column D2 we have value:
SALES-OUT(CU) MTH/3/2006
I would like to have the data as:
01/3/2006
Therefore, I create a formula (after going thru excel help!):
=CONCATENATE("01",MID(J2,18,10))
This works. However, is it possible to make this formula more generic?
For example, instead of J2, I want to refer to current col and row,
something like combining the function row() with a function column()
(is there one?). Does this make sense? For example the following
formula would have been more generic (does not work):
=CONCATENATE("01",MID(get_current_column_and_row() ,18,10))
Thanks.



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
Need Macro Help excelmad Excel Discussion (Misc queries) 7 January 19th 07 10:04 PM
Conditional Format as a MACRO Gunjani Excel Worksheet Functions 3 March 29th 06 05:22 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


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