Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Formula Result is "V6", need Excel to use cell "V6", not the resul

I'm trying to simplify a series of "If" formula's buy using a lookup table
and the "&" function to provide the cell reference I'm looking for. The
formula (below) works correctly but I don't know how to make Excel use the
formula result to give me the data in the cell it's referencing, as opposed
to the formula result.

Here's the formula:
=VLOOKUP(Analysis!E11,split,2,FALSE)&AC6
which is doing the following:
VLookup:
Analysis!E11 has a choice of 4 input variables: 0,1,2,3
Split (name of the lookup table, has letter combinations like AB, AC, AD
which refer to the columns of data in another that that I want to reference)
2=the column of choice from the lookup table
False - default entry
&AC6 = a reference to the line number I want to concatinate (spelling?)
with. In this case, AC6=6
So my formula result is "V6".

Based on that formula result, I want another cell to return the value found
in cell "V6" but I can only get other cells to say "V6".

Please help.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Formula Result is "V6", need Excel to use cell "V6", not the resul

For example let's say that your formula is in cell A1. This is to assume
that the result of the formula in A1 is "V6".
So to get the information from the cell reference that is in A1:

=INDIRECT(A1)

So now you can replace A1 with the formula that is in A1.

=INDIRECT(Formula)

HTH,
Paul

--

"Erik" wrote in message
...
I'm trying to simplify a series of "If" formula's buy using a lookup table
and the "&" function to provide the cell reference I'm looking for. The
formula (below) works correctly but I don't know how to make Excel use the
formula result to give me the data in the cell it's referencing, as
opposed
to the formula result.

Here's the formula:
=VLOOKUP(Analysis!E11,split,2,FALSE)&AC6
which is doing the following:
VLookup:
Analysis!E11 has a choice of 4 input variables: 0,1,2,3
Split (name of the lookup table, has letter combinations like AB, AC, AD
which refer to the columns of data in another that that I want to
reference)
2=the column of choice from the lookup table
False - default entry
&AC6 = a reference to the line number I want to concatinate (spelling?)
with. In this case, AC6=6
So my formula result is "V6".

Based on that formula result, I want another cell to return the value
found
in cell "V6" but I can only get other cells to say "V6".

Please help.
Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 180
Default Formula Result is "V6", need Excel to use cell "V6", not the resul

Replce your formula as

=INDIRECT(VLOOKUP(Analysis!E11,split,2,FALSE)&AC6)
However note that this will fail if your vlookup fails.
HTH,
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think a post is useful, please rate it as an ANSWER, it will help
others!!


"Erik" wrote:

I'm trying to simplify a series of "If" formula's buy using a lookup table
and the "&" function to provide the cell reference I'm looking for. The
formula (below) works correctly but I don't know how to make Excel use the
formula result to give me the data in the cell it's referencing, as opposed
to the formula result.

Here's the formula:
=VLOOKUP(Analysis!E11,split,2,FALSE)&AC6
which is doing the following:
VLookup:
Analysis!E11 has a choice of 4 input variables: 0,1,2,3
Split (name of the lookup table, has letter combinations like AB, AC, AD
which refer to the columns of data in another that that I want to reference)
2=the column of choice from the lookup table
False - default entry
&AC6 = a reference to the line number I want to concatinate (spelling?)
with. In this case, AC6=6
So my formula result is "V6".

Based on that formula result, I want another cell to return the value found
in cell "V6" but I can only get other cells to say "V6".

Please help.
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Formula Result is "V6", need Excel to use cell "V6", not the r

Thanks Paul - that's exactly what I was looking for!!!

"PCLIVE" wrote:

For example let's say that your formula is in cell A1. This is to assume
that the result of the formula in A1 is "V6".
So to get the information from the cell reference that is in A1:

=INDIRECT(A1)

So now you can replace A1 with the formula that is in A1.

=INDIRECT(Formula)

HTH,
Paul

--

"Erik" wrote in message
...
I'm trying to simplify a series of "If" formula's buy using a lookup table
and the "&" function to provide the cell reference I'm looking for. The
formula (below) works correctly but I don't know how to make Excel use the
formula result to give me the data in the cell it's referencing, as
opposed
to the formula result.

Here's the formula:
=VLOOKUP(Analysis!E11,split,2,FALSE)&AC6
which is doing the following:
VLookup:
Analysis!E11 has a choice of 4 input variables: 0,1,2,3
Split (name of the lookup table, has letter combinations like AB, AC, AD
which refer to the columns of data in another that that I want to
reference)
2=the column of choice from the lookup table
False - default entry
&AC6 = a reference to the line number I want to concatinate (spelling?)
with. In this case, AC6=6
So my formula result is "V6".

Based on that formula result, I want another cell to return the value
found
in cell "V6" but I can only get other cells to say "V6".

Please help.
Thanks




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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 11:01 PM


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