ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   formula for named cell/range using cell values (https://www.excelbanter.com/excel-worksheet-functions/42341-formula-named-cell-range-using-cell-values.html)

alex

formula for named cell/range using cell values
 
hello,

perhaps somebody knows how to do this:

in column A i have different values, for example:

A B
1 aa
2 bb
3 cc

in column B i want to define cells as reference to some named cells located
elsewhere. for example: cell B1: =aatotal and so on in other cells:
bbtotal, cctotal...
how can i define formulas in B column based on values in A in order not to
retype aa bb cc in all the cells. something like B1: =A1total ... ?

thanks,

Alex.

Excel_Geek


You can used =INDIRECT(A1&"total"), where "A1" is the reference to the
cell with the "aa" in it and "total" is the back half of the name of
the named reference cell.


--
Excel_Geek


------------------------------------------------------------------------
Excel_Geek's Profile: http://www.excelforum.com/member.php...o&userid=26423
View this thread: http://www.excelforum.com/showthread...hreadid=399064


alex

thanks a lot.

"Excel_Geek" wrote:


You can used =INDIRECT(A1&"total"), where "A1" is the reference to the
cell with the "aa" in it and "total" is the back half of the name of
the named reference cell.


--
Excel_Geek


------------------------------------------------------------------------
Excel_Geek's Profile: http://www.excelforum.com/member.php...o&userid=26423
View this thread: http://www.excelforum.com/showthread...hreadid=399064




All times are GMT +1. The time now is 12:08 AM.

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