×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Modification of Formula - Clarification

Modification of Formula - Clarification

Modification of Formula - Clarification

(OP)
Hi Excel Users,

  I have a file that has multiple worksheets in it.  The majority of the worksheets is a basic form that helps summarize job requirements for each specific project.

  In this file, I have a Work Summary Log worksheet in which I'm extracting some data from the other worksheets to "summarize" all jobs into one nice work summary log.

  The following form works great to "automatically" extract desired data from desired worksheets:

=IF(C20="","",INDIRECT("'"&C20&"'!I9"))

C20 = Worksheet name or Worksheet tab name

  Example: 03-2008-TNG06307-101_P1

I9 = The desired extracted data
  I have a handful of variables for each task, such as:
   C = Complete
   WIP = Work in Progress

  When I use the above formula, I would like the result to be 'C' or "WIP" if that's what is stated from the 03-2008-TNG06307-101_P1 form or worksheet.


  If I copy this formulat to the next row or rows, the "I9" variable does not change - The rest of the formula is fine.

  How can I modify this formula so that "I9" variable becomes "I10" & gives the desired result from the worksheet in which I'm extracting data from?

Example:

  If "I9" = 'C' in worksheet, 03-2008-TNG06307-101_P1, my result will be 'C' on my Work Summary Log worksheet

=IF(C20="","",INDIRECT("'"&C20&"'!I9"))


  If "I10" = 'WIP' in worksheet, 03-2008-TNG06307-101_P1, my result will be 'WIP' on my Work Summary Log worksheet

=IF(C20="","",INDIRECT("'"&C20&"'!I10"))

  As of now, I have to manually change the 'IXX' value, which I don't want to do

  How can I modify this to "automically" change cells, as if the formula was:

=I9   -- Gives result as, "C"

  Then, copied this formula to get:

=I10  -- To get result as, "WIP"



  Is there another formula that works similar to the above formula or description given that will provide desired results?

Thanks
 

Jason,
CTQ Engineering
Technical Team Leader
GE Product Definition Designer

RE: Modification of Formula - Clarification

Well, the reason I9 doesn't change is because its a string, not a variable.

One (cheap and ugly) way to do this would be a column of helper cells with numbers corresponding to the row value.  For example, if column H contained a series of numbers 9, 10, 11, 12....

=IF(C20="","",INDIRECT("'"&C20&"'!I" & H1))

Would, I think, do what you want.

There certainly are better ways.

There are probably better ways of building your summary report as well.

RE: Modification of Formula - Clarification

I'm thinking Pivot Table - ever tried one for your application?

RE: Modification of Formula - Clarification

Just avoid using "" in the I9 part of the formula.

RE: Modification of Formula - Clarification

I think there is no way to make it change, the only way I could come up with was the same MintJulep sugested.

RE: Modification of Formula - Clarification

Instead of "!I9", use "!"&CELL("address",I9)
 

RE: Modification of Formula - Clarification

(OP)
Hi Excel Users,


I attached a sample to my previous question, concerning this subject. Perhaps, when seeing the file, you will get a better understanding of what I'm trying to do.

In this file example, I have 2 worksheets, which are as follows:

CTQ-TNG06307-101 Work Log -- This is my Work Summary Log
03-2008-TNG06307-101_P1 -- This is my project form, in which I will have multiple similar forms like this, except different data that pertains to that specific project.

I want to be able to "automatically" pull or extract data off my other worksheets, which in this case is, 03-2008-TNG06307-101_P1 worksheet.

Part of my CTQ-TNG06307-101 Work Log intent is to have a "string" value, as I copy the formular down, within the CTQ-TNG06307-101 Work Log worksheet.

However, I want part of my Indirect formula to have a "Indirect Variable", if there is a such a thing in Excel.

As, I copy the worksheet name into cell 'C19', I want my indirect formula that will change my "I19" value to become a variable & become "I20", as I copy the formula down.

So far, I tried the other suggestions, but there's still something wrong with my formula.

Please assist.

Thanks



I have a file that has multiple worksheets in it. The majority of the worksheets is a basic form that helps summarize job requirements for each specific project.

In this file, I have a Work Summary Log worksheet in which I'm extracting some data from the other worksheets to "summarize" all jobs into one nice work summary log.

The following form works great to "automatically" extract desired data from desired worksheets:

=IF(C20="","",INDIRECT("'"&C20&"'!I9"))

C20 = Worksheet name or Worksheet tab name

Example: 03-2008-TNG06307-101_P1

I9 = The desired extracted data
I have a handful of variables for each task, such as:
C = Complete
WIP = Work in Progress

When I use the above formula, I would like the result to be 'C' or "WIP" if that's what is stated from the 03-2008-TNG06307-101_P1 form or worksheet.


If I copy this formulat to the next row or rows, the "I9" variable does not change - The rest of the formula is fine.

How can I modify this formula so that "I9" variable becomes "I10" & gives the desired result from the worksheet in which I'm extracting data from?

Example:

If "I9" = 'C' in worksheet, 03-2008-TNG06307-101_P1, my result will be 'C' on my Work Summary Log worksheet

=IF(C20="","",INDIRECT("'"&C20&"'!I9"))


If "I10" = 'WIP' in worksheet, 03-2008-TNG06307-101_P1, my result will be 'WIP' on my Work Summary Log worksheet

=IF(C20="","",INDIRECT("'"&C20&"'!I10"))

As of now, I have to manually change the 'IXX' value, which I don't want to do

How can I modify this to "automically" change cells, as if the formula was:

=I9 -- Gives result as, "C"

Then, copied this formula to get:

=I10 -- To get result as, "WIP"



Is there another formula that works similar to the above formula or description given that will provide desired results?

Thanks
 

Jason,
CTQ Engineering
Technical Team Leader
GE Product Definition Designer

RE: Modification of Formula - Clarification

Seems like that formula in CTQ-TNG06307-101 Work Log!G19 of your attached workbook does what you want.

Your post is a bit confusing because the cell references used in your post do not match the cells in the attached workbook.   

RE: Modification of Formula - Clarification

jghrist, you are right, it did work with CELL("address",I9), that is a very useful information, thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources