ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to use vector name with a formula (https://www.excelbanter.com/excel-programming/381849-how-use-vector-name-formula.html)

Qing Xu

how to use vector name with a formula
 
For example, I want to a cell has a function of B$Text($C1)(grammar
mistake). If C1=1,B1=2,B2=3, the value for that cell is 3, the value of
$B1, not "B1". Is there a way to implement this if the vector name has
formula. Any help is appreciated.


Dave Peterson

how to use vector name with a formula
 
I think you want:

=indirect("B"&$c1)



Qing Xu wrote:

For example, I want to a cell has a function of B$Text($C1)(grammar
mistake). If C1=1,B1=2,B2=3, the value for that cell is 3, the value of
$B1, not "B1". Is there a way to implement this if the vector name has
formula. Any help is appreciated.


--

Dave Peterson


All times are GMT +1. The time now is 02:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com