Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Cell variable in formula

Can I use a cell value as a variable in a formula to bring in a cell content


Cell value Cell Content Desired output
A1=5 B5=house C1=house
A2=10 B10=car C2=car
A3=15 B15=truck C3=truck
A4=20 B20=9 C4=9

I tried as a formula in cell C1 =A(b5) but it didn't work, is
there some formula that I can use if I have 500 rows of data without typing
in the actual formula in cell C1


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Cell variable in formula

In C1:
=INDIRECT("B"&A1)

HTH
Kostis Vezerides



Tim desision support wrote:
Can I use a cell value as a variable in a formula to bring in a cell content


Cell value Cell Content Desired output
A1=5 B5=house C1=house
A2=10 B10=car C2=car
A3=15 B15=truck C3=truck
A4=20 B20=9 C4=9

I tried as a formula in cell C1 =A(b5) but it didn't work, is
there some formula that I can use if I have 500 rows of data without typing
in the actual formula in cell C1


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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Variable Determines Number of Cell in Formula Range MJSlattery Excel Worksheet Functions 0 March 30th 06 01:28 AM
Adding 3 variable formula to a cell kssflmail Excel Worksheet Functions 3 February 20th 06 05:11 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 03:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"