Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default If value, then display underneath value

Hi, i have in C10 a value. This value is changing I need a code to look in
C10, see what is in this cell, and to search for that value in A1:L1, and if
it finds C10 value, then to display content from underneath cell.
Ex:
A B C ...... L
01.01.2009 01.02.2009 01.03.2009
153/01.01.2009 238/01.02.2009 542/01.03.2009

If in C10 is 01.02.2009, then to display 238/01.02.200.
Something like :If(indirect(C10), A1:L1, then display match(A2:L2)
If the code finds C10 value in A1:L1, then to display content of
correspondind underneath cell.
In A2:L2, i have something like this : 238/01.02.2009, so i need to retrieve
"number, slash, date"
Can this be done?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default If value, then display underneath value

Hi,

=HLOOKUP(C10,A1:L2,2,FALSE)

Mike

"puiuluipui" wrote:

Hi, i have in C10 a value. This value is changing I need a code to look in
C10, see what is in this cell, and to search for that value in A1:L1, and if
it finds C10 value, then to display content from underneath cell.
Ex:
A B C ...... L
01.01.2009 01.02.2009 01.03.2009
153/01.01.2009 238/01.02.2009 542/01.03.2009

If in C10 is 01.02.2009, then to display 238/01.02.200.
Something like :If(indirect(C10), A1:L1, then display match(A2:L2)
If the code finds C10 value in A1:L1, then to display content of
correspondind underneath cell.
In A2:L2, i have something like this : 238/01.02.2009, so i need to retrieve
"number, slash, date"
Can this be done?
Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default If value, then display underneath value

Hi Mike, it's not working. I get #REF!
And i need the cell below. I think your code retrieve the cell to the right.
Thanks!

"Mike H" wrote:

Hi,

=HLOOKUP(C10,A1:L2,2,FALSE)

Mike

"puiuluipui" wrote:

Hi, i have in C10 a value. This value is changing I need a code to look in
C10, see what is in this cell, and to search for that value in A1:L1, and if
it finds C10 value, then to display content from underneath cell.
Ex:
A B C ...... L
01.01.2009 01.02.2009 01.03.2009
153/01.01.2009 238/01.02.2009 542/01.03.2009

If in C10 is 01.02.2009, then to display 238/01.02.200.
Something like :If(indirect(C10), A1:L1, then display match(A2:L2)
If the code finds C10 value in A1:L1, then to display content of
correspondind underneath cell.
In A2:L2, i have something like this : 238/01.02.2009, so i need to retrieve
"number, slash, date"
Can this be done?
Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default If value, then display underneath value

Hi Mike, my mistake, it's working.
Thanks!

"Mike H" wrote:

Hi,

=HLOOKUP(C10,A1:L2,2,FALSE)

Mike

"puiuluipui" wrote:

Hi, i have in C10 a value. This value is changing I need a code to look in
C10, see what is in this cell, and to search for that value in A1:L1, and if
it finds C10 value, then to display content from underneath cell.
Ex:
A B C ...... L
01.01.2009 01.02.2009 01.03.2009
153/01.01.2009 238/01.02.2009 542/01.03.2009

If in C10 is 01.02.2009, then to display 238/01.02.200.
Something like :If(indirect(C10), A1:L1, then display match(A2:L2)
If the code finds C10 value in A1:L1, then to display content of
correspondind underneath cell.
In A2:L2, i have something like this : 238/01.02.2009, so i need to retrieve
"number, slash, date"
Can this be done?
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
Pivot table, display a value underneath another value in the values zone. No Name Excel Discussion (Misc queries) 0 March 24th 09 02:30 PM
annotation underneath a title Hillary: needing some help[_2_] Charts and Charting in Excel 1 October 28th 08 02:50 AM
Need to fix macro to list data underneath each other jeannie v Excel Worksheet Functions 17 June 24th 07 10:21 PM
Checkbox value displays as text on the cell underneath it lillyanka Excel Discussion (Misc queries) 4 June 21st 07 05:33 PM
How do I shade the area underneath a curve Mari Excel Discussion (Misc queries) 0 September 28th 06 08:55 PM


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