Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Using a value in a cell as a Reference in a formula?

Hello everyone.

I'm just messing around on Excel, and I wish to use a cell value to be used
in a formula so E.G

B Column is full of random Words (spanner, spoon, stool etc)

Column A1 = 1

I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1

I know the above doesn't work, but it would basically I could change the
number in cell A1 and it would look at a different row in Column B.

I hope that makes sense, thanks in advance.

Note - I was thinking something to do with INDIRECT, but can't seem to get
that right either.

Nate
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Using a value in a cell as a Reference in a formula?

Hi,

You were very close and had yo persevered I think you would have got it. Try
this

=INDIRECT("sheet1!B"&A1)

Indirect is treated as text but in this case there is a second non-text bit
the address A1

Mike

"NateBuckley" wrote:

Hello everyone.

I'm just messing around on Excel, and I wish to use a cell value to be used
in a formula so E.G

B Column is full of random Words (spanner, spoon, stool etc)

Column A1 = 1

I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1

I know the above doesn't work, but it would basically I could change the
number in cell A1 and it would look at a different row in Column B.

I hope that makes sense, thanks in advance.

Note - I was thinking something to do with INDIRECT, but can't seem to get
that right either.

Nate

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Using a value in a cell as a Reference in a formula?

Cheers it does indeed work.

Thanks alot for your help.

Many thanks.

"Mike H" wrote:

Hi,

You were very close and had yo persevered I think you would have got it. Try
this

=INDIRECT("sheet1!B"&A1)

Indirect is treated as text but in this case there is a second non-text bit
the address A1

Mike

"NateBuckley" wrote:

Hello everyone.

I'm just messing around on Excel, and I wish to use a cell value to be used
in a formula so E.G

B Column is full of random Words (spanner, spoon, stool etc)

Column A1 = 1

I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1

I know the above doesn't work, but it would basically I could change the
number in cell A1 and it would look at a different row in Column B.

I hope that makes sense, thanks in advance.

Note - I was thinking something to do with INDIRECT, but can't seem to get
that right either.

Nate

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Using a value in a cell as a Reference in a formula?

The INDIRECT function is volatile; here is a non-volatile solution...

=INDEX(B1:B1000,A1)

Rick


"NateBuckley" wrote in message
...
Hello everyone.

I'm just messing around on Excel, and I wish to use a cell value to be
used
in a formula so E.G

B Column is full of random Words (spanner, spoon, stool etc)

Column A1 = 1

I want in Cell C1 to do something like =Sheet1!B & Sheet1!A1

I know the above doesn't work, but it would basically I could change the
number in cell A1 and it would look at a different row in Column B.

I hope that makes sense, thanks in advance.

Note - I was thinking something to do with INDIRECT, but can't seem to get
that right either.

Nate


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
format a cell with a formula so an empty reference cell shows blan M2 Excel Discussion (Misc queries) 3 November 7th 06 10:42 PM
Using a cell reference within a cell reference in a formula david Excel Worksheet Functions 2 July 1st 06 01:05 PM
How do I leave formula cell blank if 2nd reference cell is empty? Liana S Excel Discussion (Misc queries) 2 October 21st 05 04:38 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


All times are GMT +1. The time now is 10:50 AM.

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

About Us

"It's about Microsoft Excel"