Cell Value to Row Number

Controller

New Member
Joined
Jun 19, 2002
Messages
27
Hello all!

How can I get the row number of a formula to be the value of a cell?

Example:

Formula =C128, instead of typing "128" I want Excel to take that number from the value contained in another cell.

Thanks in advance
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi,

Use the INDIRECT function.

If A1 holds 128, then

=INDIRECT("C"&A1) will reference cell C128.

Other ways...
INDEX/MATCH
OFFSET (e.g. =OFFSET(C1,A1-1,0) will work)
 
Upvote 0
Re: Thanks, thanks, thanks....

One million of thanks for the tip!

So far I had spent so many time referencing cells manually....

Best regards from the sunny Spain.

Gracias! :LOL:
 
Upvote 0
Re: Thanks, thanks, thanks....

I've got a similar question. How would you replace number 37 from formula with number contained in specific cell, A1 for example.

Code:
=VLOOKUP(E13,Parameters!$B$4:$F$[B]37[/B],5,FALSE)

Cheers,
Witold
 
Upvote 0
Re: Thanks, thanks, thanks....

Up, up. Anyone?

I've got a similar question. How would you replace number 37 from formula with number contained in specific cell, A1 for example.

Code:
=VLOOKUP(E13,Parameters!$B$4:$F$[B]37[/B],5,FALSE)

Cheers,
Witold
 
Upvote 0
Re: Thanks, thanks, thanks....

I know this post is 3 1/2 years old, but I found it very useful and it helped to answer my question. Pitaszek's question was more in-line with my own of using INDIRECT within another formula. Here's what worked for me, pitaszek:

Code:
=VLOOKUP(E13,INDIRECT("Parameters!$B$4:$F$"&A1),5,FALSE)
 
Upvote 0

Forum statistics

Threads
1,215,119
Messages
6,123,172
Members
449,094
Latest member
bes000

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