Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jouni Kananen
 
Posts: n/a
Default wk19!$A:$O = SOME_FUNCTION!$A:$O

Hi,

I have a number of formulas referring to certain data sheets (named as per
week) like this one..:
=IF(ISNA(VLOOKUP($A2,wk19!$A:$O,2,FALSE)),"",VLOOK UP($A2,wk19!$A:$O,2,FALSE))

The maintenance of the worksheet would be easier if I had those wk19, wk20,
wk21, ... as a header row in the data table and refer to those cells in the
formula, but how do I achieve that?

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O

Then I could just copy the formula to the next column and it finds the
corresponding week ID from cell E1. Might be easy, but I just can't find it.

Thanks,
Jouni


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default wk19!$A:$O = SOME_FUNCTION!$A:$O

Hi!

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O


D1 = wk19
E1 = wk20
F1 = wk21
etc

=IF(ISNA(VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE)) ,"",VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE))

Biff

"Jouni Kananen" wrote in message
...
Hi,

I have a number of formulas referring to certain data sheets (named as per
week) like this one..:
=IF(ISNA(VLOOKUP($A2,wk19!$A:$O,2,FALSE)),"",VLOOK UP($A2,wk19!$A:$O,2,FALSE))

The maintenance of the worksheet would be easier if I had those wk19,
wk20, wk21, ... as a header row in the data table and refer to those cells
in the formula, but how do I achieve that?

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O

Then I could just copy the formula to the next column and it finds the
corresponding week ID from cell E1. Might be easy, but I just can't find
it.

Thanks,
Jouni



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jouni Kananen
 
Posts: n/a
Default wk19!$A:$O = SOME_FUNCTION!$A:$O

Works perfect, thanks Biff!

Jouni

"Biff" wrote in message
...
Hi!

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O


D1 = wk19
E1 = wk20
F1 = wk21
etc

=IF(ISNA(VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE)) ,"",VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE))

Biff

"Jouni Kananen" wrote in message
...
Hi,

I have a number of formulas referring to certain data sheets (named as
per week) like this one..:
=IF(ISNA(VLOOKUP($A2,wk19!$A:$O,2,FALSE)),"",VLOOK UP($A2,wk19!$A:$O,2,FALSE))

The maintenance of the worksheet would be easier if I had those wk19,
wk20, wk21, ... as a header row in the data table and refer to those
cells in the formula, but how do I achieve that?

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O

Then I could just copy the formula to the next column and it finds the
corresponding week ID from cell E1. Might be easy, but I just can't find
it.

Thanks,
Jouni





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default wk19!$A:$O = SOME_FUNCTION!$A:$O

You're welcome. Thanks for the feedback.

Biff

"Jouni Kananen" wrote in message
...
Works perfect, thanks Biff!

Jouni

"Biff" wrote in message
...
Hi!

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O


D1 = wk19
E1 = wk20
F1 = wk21
etc

=IF(ISNA(VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE)) ,"",VLOOKUP($A2,INDIRECT(D1&"!A:O"),2,FALSE))

Biff

"Jouni Kananen" wrote in message
...
Hi,

I have a number of formulas referring to certain data sheets (named as
per week) like this one..:
=IF(ISNA(VLOOKUP($A2,wk19!$A:$O,2,FALSE)),"",VLOOK UP($A2,wk19!$A:$O,2,FALSE))

The maintenance of the worksheet would be easier if I had those wk19,
wk20, wk21, ... as a header row in the data table and refer to those
cells in the formula, but how do I achieve that?

wk19!$A:$O should be something that.:
1' reads the value from cell D1 and
2' combines that with a string !$A:$O

Then I could just copy the formula to the next column and it finds the
corresponding week ID from cell E1. Might be easy, but I just can't find
it.

Thanks,
Jouni







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
change cell background color when another cell's value = 40 da haole boy Excel Discussion (Misc queries) 2 February 19th 06 01:42 AM
= Formula nolechik Excel Discussion (Misc queries) 3 January 6th 06 08:38 PM
screen resolution = vertical graph title problems bartelj Charts and Charting in Excel 3 December 20th 05 09:00 PM


All times are GMT +1. The time now is 04:30 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"