Solved

Excel Worksheet Formula Assistance

Posted on 2013-01-05
7
449 Views
Last Modified: 2013-01-05
I am working on a tracking sheet for Work.

Effectively it tracks project specifics by month, and then has an overview page that gathers the calculations together for management review.

All the project sheets are titled with their internal project number.

I am looking for a formula that will let me reference a cell that contains the job number to then pull information from that sheet.

So if Cell C1 contains the job number I want to be able to:

=C1! A1+B1

To allow me to simply duplicate the formula, and keep from having to manually enter the sheet each time

='881'! A1+B1

In some looking around, it seemed like Indirect might work, but I have been unable to sort that out, as the information is spread throughout the entire Excel sheet.
0
Comment
Question by:AkuHST
  • 4
  • 2
7 Comments
 
LVL 26

Expert Comment

by:redmondb
ID: 38747525
Hi, AkuHST.

Yes, INDIRECT() will do this for you. For example, with the sheet name in A1 and the cell reference in B1....
=INDIRECT("'"&A1&"'"&"!"&B1)

(I've put single quotes around the sheet name in case it includes spaces.)

Regards,
Brian.
0
 
LVL 50

Expert Comment

by:teylyn
ID: 38747531
Hello,

as a one-off formula, try

=indirect(C1&"!A1+B1")

but if you want to copy the formula down, for example and want the row numbers to increase to A2+B2, then you'd need something like

=indirect(C1&"!A"&row(A1)&"+B"&row(A1))

So you need to use Row(A1) to create the row number 1. If the formula is copied down, it will change to Row(A2), which returns a 2 for the row number.

cheers, teylyn
0
 

Author Comment

by:AkuHST
ID: 38747551
Great to hear it will work, but that is just giving me an error.  

Here is a bit more specific on what I am going for, in its easiest form.

Sheet "Overview"

Column A contains Job Number (manually entered)
Column B contains Project Name (pulled from Cell A1 on the Sheet Named the value in 'Overview'! A)

Currently B is:  ='881'!A1

So the value of B is in Cell A1 on the 881 Sheet.

Does that help?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 26

Accepted Solution

by:
redmondb earned 500 total points
ID: 38747553
AkiHST,

If your "=C1! A1+B1" means that both cells are on the remote sheet then you could use...
=INDIRECT("'"&$A$1&"'"&"!"&CELL("address",A1))+INDIRECT("'"&$A$1&"'"&"!"&CELL("address",B1))
...this takes the sheet name from A1, but the two cells are directly referenced. Copying this formula down/across  automatically updates the two cell references.

Edit: Apologies, a crossing post. Please see the attached.

Regards,
Brian.
Indirect.xls
0
 

Author Closing Comment

by:AkuHST
ID: 38747572
You ROCK, thank you so much.

Probably saved me half a days work.
0
 
LVL 26

Expert Comment

by:redmondb
ID: 38747574
... and the attached uses the same formula to return multiple columns.Indirect-V2.xls
0
 
LVL 26

Expert Comment

by:redmondb
ID: 38747579
Thanks, AkuHST.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
TT Column Arrange 10 27
Excel 6 18
Excel 2003 Conditional Formatting for Jan 1 3 13
TT Auto DashBoard 4 12
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now