Find values in column A & B, using just a row numbers

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,360
Office Version
  1. 2010
Hello,

I have got in column "A" SN and in Column "B" Year (Note Column "B" is formatted As Text)

I want to find values in column A & B, using just a row numbers

For example if I fill only the row number in cell D6 = 15 & in cell D7 =39...

I need a formula which can give me a result in cell F6 = 19 which is from A15 & in the cell G6 = 71/72 which is from B15

Same need a formula which can give me a result in cell F7 = 45 which is from A39 & in the cell G6 = 15/16 which is from B39

Example image is attached for more details

*ABCDEFGHI
1ResultResult
2Col ACol B
3Find ValueRowRow
4Col A & BValueValue
5SNYearOf Row NumberSNYear
6170/71151971/72
7270/71394515/16
8370/71
9470/71
10570/71
11670/71
121671/72
131771/72
141871/72
151971/72
162071/72
172171/72
182271/72
192371/72
202471/72
212571/72
22176/77
23276/77
24376/77
25476/77
26576/77
27676/77
28776/77
29876/77
30976/77
311076/77
321176/77
333915/16
344015/16
354115/16
364215/16
374315/16
384415/16
394515/16
404615/16
414715/16
424815/16
434915/16
44
45
46
47

Thank you all.

I am using Excel 2000

Regards,
Moti
 

Attachments

  • Find Values.png
    Find Values.png
    34.9 KB · Views: 3

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi,

try this
in cell F6
Excel Formula:
=INDIRECT(ADDRESS(D6;1))
in cell G6
Excel Formula:
=INDIRECT(ADDRESS(D6;2))
 
Upvote 0
Hi,

try this
in cell F6
Excel Formula:
=INDIRECT(ADDRESS(D6;1))
in cell G6
Excel Formula:
=INDIRECT(ADDRESS(D6;2))
jorismoerings, yes it is worked as request. Only in the formula I changed ";" to ","

Just a question INDIRECT is a volatile function does there it could be any non-volatile formula?

Thank you for your help and time.

Good Luck!

Kind Regards,
Moti
 
Upvote 0
As I understand what you want a direct INDEX should do it

21 10 12.xlsm
ABCDEF
6RowCol ACol B
71a1518i
82b1930m
93c
104d
115e
126f
1316g
1417h
1518i
1619j
1720k
1823l
1930m
2032n
Row
Cell Formulas
RangeFormula
E7:F8E7=INDEX(A:A,$D7)
 
Upvote 0
Solution
As I understand what you want a direct INDEX should do it

21 10 12.xlsm
ABCDEF
6RowCol ACol B
71a1518i
82b1930m
93c
104d
115e
126f
1316g
1417h
1518i
1619j
1720k
1823l
1930m
2032n
Row
Cell Formulas
RangeFormula
E7:F8E7=INDEX(A:A,$D7)
Peter, ? this is magical formula, I like it very much.

Thank you for your kind help. Have a nice day

Good Luck!

Kind Regards,
Moti :)
 
Upvote 0

Forum statistics

Threads
1,214,615
Messages
6,120,538
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top