Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default INDIRECT function

Hi
I have been working on this workbook for 12 months or more, it is designed
to help teachers like myself with reporting on student outcomes and it has
become bigger than Ben Hur. This is the last of my challenges with this
workbook.
I have the following formula and would like to refer to a cell reference
described in another cell i.e. E5; E12 and E19 are cell references that I
need to be able to change on occasion and update the formula you see here.
Ideally I would locate a reference to the cells I want to change in the range
D1:E1 [each cell containing a separate cell reference]
Is this possible?

Note: A3=sheet name and B3=class1!C4

The following formula is in E3 and must be able to update automatically. I
have been using the workbook of late and find it a pain when I want to change
the report outcomes by reference.

=(D3&" "&INDIRECT(A3&"!E5")&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!E12")&" "&INDIRECT(""&A3&"!E19")&".")

Kind Regards
Tanya
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default INDIRECT function

Tanya,

This formula:

=(D3&" "&INDIRECT(A3&"!" & D1)&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!" & E1)&" "&INDIRECT(""&A3&"!" & F1)&".")

Should return the same as your posted formula, if:
the string E5 is in cell D1
the string E12 is in cell E1
the string E19 is in cell F1

HTH,
Bernie
MS Excel MVP


"Tanya" wrote in message
...
Hi
I have been working on this workbook for 12 months or more, it is designed
to help teachers like myself with reporting on student outcomes and it has
become bigger than Ben Hur. This is the last of my challenges with this
workbook.
I have the following formula and would like to refer to a cell reference
described in another cell i.e. E5; E12 and E19 are cell references that I
need to be able to change on occasion and update the formula you see here.
Ideally I would locate a reference to the cells I want to change in the range
D1:E1 [each cell containing a separate cell reference]
Is this possible?

Note: A3=sheet name and B3=class1!C4

The following formula is in E3 and must be able to update automatically. I
have been using the workbook of late and find it a pain when I want to change
the report outcomes by reference.

=(D3&" "&INDIRECT(A3&"!E5")&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!E12")&" "&INDIRECT(""&A3&"!E19")&".")

Kind Regards
Tanya



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 155
Default INDIRECT function

Thank you Bernie, you have saved me a lot of time.

My final formula is as follows:

=(D3&" "&INDIRECT(A3&"!"&$E$1)&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!"&$F$1)&" "&INDIRECT(""&A3&"!"&$G$1)&".")

Kind Regards
Tanya

"Bernie Deitrick" wrote:

Tanya,

This formula:

=(D3&" "&INDIRECT(A3&"!" & D1)&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!" & E1)&" "&INDIRECT(""&A3&"!" & F1)&".")

Should return the same as your posted formula, if:
the string E5 is in cell D1
the string E12 is in cell E1
the string E19 is in cell F1

HTH,
Bernie
MS Excel MVP


"Tanya" wrote in message
...
Hi
I have been working on this workbook for 12 months or more, it is designed
to help teachers like myself with reporting on student outcomes and it has
become bigger than Ben Hur. This is the last of my challenges with this
workbook.
I have the following formula and would like to refer to a cell reference
described in another cell i.e. E5; E12 and E19 are cell references that I
need to be able to change on occasion and update the formula you see here.
Ideally I would locate a reference to the cells I want to change in the range
D1:E1 [each cell containing a separate cell reference]
Is this possible?

Note: A3=sheet name and B3=class1!C4

The following formula is in E3 and must be able to update automatically. I
have been using the workbook of late and find it a pain when I want to change
the report outcomes by reference.

=(D3&" "&INDIRECT(A3&"!E5")&" "&IF(B3="m","he","she")&"
"&INDIRECT(A3&"!E12")&" "&INDIRECT(""&A3&"!E19")&".")

Kind Regards
Tanya




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
Indirect Function Jim May Excel Worksheet Functions 10 November 12th 06 07:29 PM
Need help on Indirect function Naveen Excel Discussion (Misc queries) 3 August 11th 06 06:45 PM
Function INDIRECT emilija Excel Worksheet Functions 6 April 28th 06 05:21 PM
INDIRECT function Paul K. Excel Worksheet Functions 0 February 10th 05 09:53 PM
Using the Indirect.Ext function henryhbb Excel Worksheet Functions 1 October 27th 04 10:53 PM


All times are GMT +1. The time now is 06:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"