Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
samccaskill
 
Posts: n/a
Default Using a Cell Value in another Cell Address


Greetings All,

This may be a basic question, but it's giving me trouble.

I'm trying to set up a worksheet where by inputing a value in a cell,
it changes the value reference in another cell to a new
address.....(confused yet?)

Ex:

in A1, the person would input "24"
then, the value in B2 would equal the value in C24

if they put in "13" into A1, the value in B2 would equal the value in
C13

Does that make sense?

Also, can I use a simple equation in it....like subtraction

Ex:

in A1, the person would input "52"
then, the value in B2 would equal the value in C12, which is 52-40

in A1 the person would input "68"
then the value in B2 would equal the value in C28, which is 68-40

Thanks for your help everyone!!!

Sam


--
samccaskill
------------------------------------------------------------------------
samccaskill's Profile: http://www.excelforum.com/member.php...o&userid=27805
View this thread: http://www.excelforum.com/showthread...hreadid=473120

  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

In B2:

=INDIRECT("C"&A1)


--
Regards,
Dave


"samccaskill" wrote:


Greetings All,

This may be a basic question, but it's giving me trouble.

I'm trying to set up a worksheet where by inputing a value in a cell,
it changes the value reference in another cell to a new
address.....(confused yet?)

Ex:

in A1, the person would input "24"
then, the value in B2 would equal the value in C24

if they put in "13" into A1, the value in B2 would equal the value in
C13

Does that make sense?

Also, can I use a simple equation in it....like subtraction

Ex:

in A1, the person would input "52"
then, the value in B2 would equal the value in C12, which is 52-40

in A1 the person would input "68"
then the value in B2 would equal the value in C28, which is 68-40

Thanks for your help everyone!!!

Sam


--
samccaskill
------------------------------------------------------------------------
samccaskill's Profile: http://www.excelforum.com/member.php...o&userid=27805
View this thread: http://www.excelforum.com/showthread...hreadid=473120


  #3   Report Post  
RagDyer
 
Posts: n/a
Default

First question:

In B2 enter:

=INDEX(C:C,A1)


Second question:

In B2 enter:

=INDEX(C:C,A1-40)
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================




"samccaskill"
wrote in message
...

Greetings All,

This may be a basic question, but it's giving me trouble.

I'm trying to set up a worksheet where by inputing a value in a cell,
it changes the value reference in another cell to a new
address.....(confused yet?)

Ex:

in A1, the person would input "24"
then, the value in B2 would equal the value in C24

if they put in "13" into A1, the value in B2 would equal the value in
C13

Does that make sense?

Also, can I use a simple equation in it....like subtraction

Ex:

in A1, the person would input "52"
then, the value in B2 would equal the value in C12, which is 52-40

in A1 the person would input "68"
then the value in B2 would equal the value in C28, which is 68-40

Thanks for your help everyone!!!

Sam


--
samccaskill
------------------------------------------------------------------------
samccaskill's Profile:

http://www.excelforum.com/member.php...o&userid=27805
View this thread: http://www.excelforum.com/showthread...hreadid=473120


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
Replace a spreadsheets named cells/ranges with exact cell address. David McRitchie Excel Discussion (Misc queries) 0 September 28th 05 08:59 PM
Cell color based upon cell value My View Excel Discussion (Misc queries) 11 July 6th 05 03:59 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
ADDRESS function - dynamic input cell claytorm Excel Discussion (Misc queries) 1 June 28th 05 02:05 PM
How do I find the contents of a cell using the "ADDRESS" function. sweeney Excel Worksheet Functions 2 April 5th 05 03:23 AM


All times are GMT +1. The time now is 03:16 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"