LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Richard Buttrey
 
Posts: n/a
Default Help with Indirect function ?

I have a series of formulae across several columns like this

in say T10
=SUMIF(mqs_col,$N14,'Main Working Paper'!Z$15:Z$2033)

where the last reference (in this case Z15:Z2033) varies in each
column. The reference doesn't change consistently, i.e the formula in
the next column U10 is not to AA15:AA2033, but something else.

In T1 I have a formulae which evaluates to a cell reference, say
M$15

I need to substitute the reference to Col M found in T1, in place of
the reference to Z so that I end up with

=SUMIF(mqs_col,$N14,'Main Working Paper'!M$15:M$2033)

so that I can then copy this across many more columns, U,V W, X
etc...

It's not practical to use Find and Replace since the column references
are different and I have about 200 columns to change.

I'm sure an Indirect construction is required, something like

=INDIRECT("SUMIF(mqs_col,$N14,Main Working
Paper!"&left(T1,1)&"15:"&left(T1,1)&"2033")

but can't seem to get it quite right and get #REF!

Can anyone help please?

Usual TIA


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 
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
Using INDIRECT in INDEX(LINEST.. ) function Incoherent Excel Worksheet Functions 4 January 10th 06 04:42 PM
include INDIRECT function into SUMPRODUCT formula markx Excel Worksheet Functions 1 November 9th 05 05:04 PM
Using Indirect Function Pester Excel Worksheet Functions 1 March 30th 05 01:04 AM
INDIRECT function question Joe Excel Worksheet Functions 1 February 14th 05 03:54 PM
Indirect( ) function loosing values when spreadsheets are closed Word4Dummies Excel Worksheet Functions 2 February 13th 05 12:41 PM


All times are GMT +1. The time now is 11:08 AM.

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"