#### How to link to a certain cell based on the value of another cell?

```What I would like to do is tell excel to link a certain cell =\$A\$1 style, but
use the contents of another cell to specify this.  For example, if the value
of A1 was the number 3, I would like to link to =\$B\$3.  So far, the only
think I have found to work is using an if statement to say IF(A1=3, =\$B\$3)
but this isn't practical for a spreadsheet with many many rows.  Is there a
way to have excel fundamentally do a =\$B\$(A1) where it uses the value of A1
to determine which column in B to link to?  It seems like there has to be a
way to do this if an if statement can do this for a limited data set.
```
 0
Justin7863 (92)
9/15/2004 5:57:19 AM
excel.charting 18370 articles. 0 followers.

1 Replies
521 Views

Similar Articles

[PageSpeed] 11

```Use INDIRECT():

=INDIRECT("B" & A1)

In article <E34F6D3C-66E3-4FCA-B05F-A995E93C62CC@microsoft.com>,
Justin <Justin@discussions.microsoft.com> wrote:

> What I would like to do is tell excel to link a certain cell =\$A\$1 style, but
> use the contents of another cell to specify this.  For example, if the value
> of A1 was the number 3, I would like to link to =\$B\$3.  So far, the only
> think I have found to work is using an if statement to say IF(A1=3, =\$B\$3)
> but this isn't practical for a spreadsheet with many many rows.  Is there a
> way to have excel fundamentally do a =\$B\$(A1) where it uses the value of A1
> to determine which column in B to link to?  It seems like there has to be a
> way to do this if an if statement can do this for a limited data set.
```
 0
jemcgimpsey (6723)
9/15/2004 12:07:57 PM

Similar Artilces:

Change link between form and subform
I have a form with a subform in it. I would like to change the way they are linked so instead of linking from Old ID, they link to New ID I don't know anything about code, is there a way to just change the cell it relies on? Thanks C Confused87 - Bring up the properties of the subform, and change the values in 'Link Child Fields' and 'Link Master Fields' on the Data tab of the properties dialog box. Make sure you have the subform selected, not the form within the subform. -- Daryl S "Confused87" wrote: > I have a form with...

Count unique values
Hi In my Excel worksheet there are two columns A & B. A contains the product codes and B contains the customer codes. How can I count the number of UNIQUE customer for a particular product? Both formula or pivot table would be fine. Col A Col B Pen Customer 1 Ruler Customer 1 Pen Customer 2 Ruler Customer 1 Pen Customer 1 Pen Customer 3 Thanks in advance! Try the below array formula. Apply formula using 'Ctrl+Shift+Enter' instead of 'Enter' =SUM(IF(FREQUENCY(IF((B1:B10<>"")*(A1:A10="Pen"), MATCH(B1:B10,B...

copying a sorted worksheet to another woksheet.
I am trying to to do data entry for an accounting journal, and I want t have the seperate sheets copy their respective information as the dat is entered. For example, if I enter a Cash transaction on the entr page, I want the cash worksheet page to copy that information as well. I can do it with an if statment already, but that leaves blank spaces i the cash sheet if you have blanks in the entry page -- e_shoopma ----------------------------------------------------------------------- e_shoopman's Profile: http://www.officehelp.in/member.php?userid=457 View this thread: http://www.office...

I am trying to link and .slk file to a .xls file all the links appear to be updating but i keep getting a message that excel cannot update 1 or all of the links. Is this common when linking with an .slk because i have several linked wrk books and have never had this problem. thanks Dean ...

how do i copy a chart to another workbook
I just upgraded to Office 2007. In 2003 I was able to select move or copy on a chart and select copy and select another workbook, and copy the chart to that workbook. It doesn't work in 2007. What do I do? ...

Format Cell as True/False
OK. It's been a while but I could've sworn that I once was able to format a cell as a yes/no so that it appeared as a checkbox in the spreadsheet. Is this possible or have I confused it with another application. ~Lori Sounds like you are remembering Access database tables. Lori wrote: > OK. It's been a while but I could've sworn that I once was able to format a > cell as a yes/no so that it appeared as a checkbox in the spreadsheet. > > Is this possible or have I confused it with another application. > > ~Lori This is a multi-part message in MIME ...

match a subform field value to a field in a 2nd subform
I have a main form named user_Match. It has three subform containers: sub_BUSays with source object form named sub_match_BUSays sub_RptSays with source object form named sub_match_ReportSays sub_BTSays with source object form named sub_match_BTSays sub_match_BUSays has a field called BU_BT_Portfolio_ID. sub_match_ReportSays has a field called MRE_PortfolioID. sub_match_BTSays has a field called BT_Portfolio_ID. The portfolio id is a unique 10 digit number stored as a string. I want to use the parent form to identify incorrect portfolio id's in the BUSays and ReportSays subforms. I wou...

Running total from an edited cell
I want to keep a running total of inventory as follows: On Hand This Shipment Quan Updated Part # 1 10 5 update this column on each new shipment Part # 2 15 10 Part # 3 20 30 I will not be adding lines, just updating the "this shipment" cell for each part# I am using Excel 2007 Please help ! See http://www.mcgimpsey.com/excel/accumulator.html In article <9104B5C3-CD46-460E-A939-C2B1EA736D42@microsoft.com>, MacPack2 <MacPack2@discussions.microsoft.com> ...

Hello, I am doing a project that requires two forms.. The first form contains the data for a business the second form contains data for the business owner... How do I link the two forms together...? Many thanks. Bob Send a common key piece of data from the first form (say the company name) to the second form page and include it in the second form as a hidden form field (then if using a database to store the results link with a relationship the 2 results tables by the common field) For form passing information see http://irt.org/articles/js063/index.htm -- ____...

Hello I have written a fairly big spreadsheet linking through the pages with SUM, SUMIF and SUMPRODUCT formula's What I am now finding is that when I update one page it doesn't update the rest, even if I am only typing in a figure to the SUM function. I have check and the calculations function is on automatic. is there a fix or something that I could run to make sure that all the formulas are working correctly. thanks Just a guess (since you already checked tools|options|calculation tab). How about selecting all the cells (ctrl-a (twice in xl2003)) and then edit|replace what: ...

Text on cart based on data in a cell
I have a chart on a separate sheet witch is based on a filtered list on another sheet. I would like to label my chart to show witch filter as been applied, is this possible? (Ho, and if so, how would I do it?) Thanks for any help. Select the chart, press the equal key, then select the cell with a mouse. This adds a text box in the middle of the chart, which you can move around and format as needed. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services Tutorials and Custom Solutions http://PeltierTech.com/ _______ Ant wrote: > I have a chart on a separate s...

Excel 2003- Tabbing to a specific location in a cell
I have created a template and I want to be able to fill in parts of the template by just tabbing and the cursor to move to the next cell...and to a specific area in the cell...how do i set up my template to do this? THanks so much unlock the cells you want to tab to. leave the other cells protected. then protected the sheet. -- Gary Keramidas Excel 2003 "monty the magician" <monty the magician@discussions.microsoft.com> wrote in message news:FD3728D8-E730-407E-B58A-FED2C6D9EA8A@microsoft.com... >I have created a template and I want to be able to f...

Hi, I am trying to change a field in an ACCESS table and get an error message that says the table is a linked table and fields can't be changed. After googling for some answers, I think I should be able to find out the link using "Linked Table Manager" in ACCESS. However, the "Linked Table Manager" button is grayed out. Any ideas/suggestions are welcome. Thanks. Richard Open the table in Design View. Reduce the window so that you can see the window's top bar. Right click in the top bar of the window (usually blue in color) and select ...

Link To A Cell From Chart
Hi all. I have a text box in a chart worksheet. Can I link it to an information from any cell in other worksheet in the same workbook. Thanks. Yes. Click the text box icon, then click on the chart sheet to insert the text box. Click in the formula bar and =Sheet1!A2 (or whatever cell you want to link). -- Greeting from the Gulf Coast! http://myweb.cableone.net/twodays "Salza" <salza@tm.net.my> wrote in message news:3fbfb0bf_2@news.tm.net.my... > Hi all. > I have a text box in a chart worksheet. Can I link it to an information from > any cell in other worksheet in...

Copy-Paste Value based on user defined range
Hello, I am trying to create an option such that, the user can input a default value in one cell, enter a start year, and the number of years he wants to assign this value for. Ex. A B C 1 Value Start Year # of Years 2 500 2005 5 Apply 500 starting in 2005 for the next five years including 2005. I am working in Excel2000. Thanks for your help ...

Cell grouping
Hello, This is the problem. I have 5 columns that are in this order, Date Req.#, Requestor, Dept. and notes. I need to know how to arrange th entire row where the departments are grouped together with th corresponding information. The dates are not important as this repor is quarterly; I know how to sort a column by itself but not the entir page. Thanks -- jackel JLatham Wrote: > I should add that usually Excel is smart enough to know that when you > grab > one column of information to sort, and it is contiguous with other > columns > with data in them, to grab them a...

can I display the file name of the imported text file in another c
When I refresh data and select a file I would like that file name displayed in another cell because within the file name is a date & time stamp relating to the contents. For example if the imported filename is count_200505110035.csv then I want a cell in the worksheet to display count_200505110035.csv. Any ideas welcomed please? ...

Much like one can do in Ms Excel, I would like to colour the cells, as in the Task Panes. Is this possible? If so how? Highlight the cells you want to ad color to in your table then click on the little bucket at the top "Volcanic" wrote: > Much like one can do in Ms Excel, I would like to colour the cells, as in the > Task Panes. Is this possible? If so how? > ...

Dear All, It is very critical for my business to learn the basics and the backbone of links in Excel. Are there any tutorials or articles that gives wealth of information about MS Excel links? (in Excel 9.0.6) Web addresses are also welcome. You can also post to my e-mail above. Thank you in advance. Mustafa .. I would advise you go to the newsgroup "microsoft.public.excel.links", and read everything you can about their troubles there and the solutions......... Vaya con Dios, Chuck, CABGx3 "Mustafa" <anonymous@discussions.microsoft.com> wrote in messag...

Knowledge Base Little to be Desired
I don't know if it's just me but I can never find anything I can use to fix my issues in the knowledge base, ever since I started using it before 2000. On top of that according to the site and my maintenance aggreement I should be getting replies on my posts here within 2 days but never do. I'm going to give this one a shot. My issue today is that I have a Invoice from a vendor that needs to be paid. When I go to auto invoice the PO doesn't show up for that Vendor. If I try to input it manually it says that it's already been invoiced. This is not the case, ho...

problem carrying over values
I have one form that has a button I''ll call it form1. The button looks at a text box for an ID and if its null it opens form2 and creates a new record in form2. If the text box is NOT null, it will go find the ID that's in the text box and filter it in form2. When the new record is created in form2, I need the ID to be put into the NULL text box in form1. I know how to do this however, if you open form2 on its own, then the error msg comes up that it can't find form1. I know why I'm getting this error, but don't know the fix for it. Is there a work around? Thanks...