Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) |