Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Alexander Banz
 
Posts: n/a
Default indirect function in different worksheets, losing my hair!

Dear all,

please help me on the following.

DBMAX(A1:INDIRECT("B"&E4),B1,D1:D2)
I have this formula working in a single worksheet. The formula returns the
maximum value in the B colum of a database with colums A-B, with the number
of rows, defined by a value in in E4. Criteria for the search are set in D1
and D2. THIS WORKS,

However:

THIS DOESN'T WORK,

DBMAX('test tab'!A1:INDIRECT("B"&'test tab'!E4),'test tab'!B1,'test
tab'!D1:D2)

Basicallly I want the DBMAX calculation to happen in another work sheet. The
database, the row definer (E4), and the criteria are all the first worksheet
'test tab'.

Why does it not work?????????

more importantly, how can I make it work!!!

thanks

--
Alexander Banz
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

Add one more reference to the sheet name:

=DMAX('test tab'!A1:INDIRECT("'test tab'!B"&'test tab'!E4),'test
tab'!B1,'test tab'!D1:D2)

Alexander Banz wrote:
Dear all,

please help me on the following.

DBMAX(A1:INDIRECT("B"&E4),B1,D1:D2)
I have this formula working in a single worksheet. The formula returns the
maximum value in the B colum of a database with colums A-B, with the number
of rows, defined by a value in in E4. Criteria for the search are set in D1
and D2. THIS WORKS,

However:

THIS DOESN'T WORK,

DBMAX('test tab'!A1:INDIRECT("B"&'test tab'!E4),'test tab'!B1,'test
tab'!D1:D2)

Basicallly I want the DBMAX calculation to happen in another work sheet. The
database, the row definer (E4), and the criteria are all the first worksheet
'test tab'.

Why does it not work?????????

more importantly, how can I make it work!!!

thanks



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Alexander Banz
 
Posts: n/a
Default

Thanks debra,

That was very helpful, sorry for the late thank you!

Alex

"Debra Dalgleish" wrote:

Add one more reference to the sheet name:

=DMAX('test tab'!A1:INDIRECT("'test tab'!B"&'test tab'!E4),'test
tab'!B1,'test tab'!D1:D2)

Alexander Banz wrote:
Dear all,

please help me on the following.

DBMAX(A1:INDIRECT("B"&E4),B1,D1:D2)
I have this formula working in a single worksheet. The formula returns the
maximum value in the B colum of a database with colums A-B, with the number
of rows, defined by a value in in E4. Criteria for the search are set in D1
and D2. THIS WORKS,

However:

THIS DOESN'T WORK,

DBMAX('test tab'!A1:INDIRECT("B"&'test tab'!E4),'test tab'!B1,'test
tab'!D1:D2)

Basicallly I want the DBMAX calculation to happen in another work sheet. The
database, the row definer (E4), and the criteria are all the first worksheet
'test tab'.

Why does it not work?????????

more importantly, how can I make it work!!!

thanks



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html


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
HELP! How do you--> Lock a set of rows but also link worksheets to FRUSTRATED Excel Discussion (Misc queries) 6 December 29th 04 10:05 PM
Offset, indirect, match function limitation on linked worksheets. NewAlgier Excel Worksheet Functions 1 December 6th 04 11:55 PM
Multiple Worksheets and Print Merge function pfe Excel Discussion (Misc queries) 2 December 2nd 04 11:23 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


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

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

About Us

"It's about Microsoft Excel"