#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 62
Default OFFSET HELP

I am using an OFFSET function to match names in column B to comments in
column R. The problem is that when the formula finds the first match it
stops. I need it to continue. Below is a copy of the formula I am using:

=OFFSET('Data '!B1,MATCH('Master TL Sheet '!C6,'Data '!B2:B800,0),16)

This workbook contains two sheets "master" is the report and the second is
the data. This is survey data for 96 managers with multiple responses for
each. Is the a macro that might be easier?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default OFFSET HELP

Try entering this in cell D2 and copy it down until you get #NUM error. Make
sure the worksheet references are correct - your post shows a trailing space
in the sheet name so I also included one.

Commit the formula w/ Cntrl+Shift+Enter or you will get #VALUE

=INDEX('Data '!$R$2:$R$800,SMALL(IF('Data '!$B$2:$B$800='Master TL Sheet
'!$C$6,ROW(INDIRECT("1:"&ROWS('Data '!$B$2:$B$800))),""),ROWS(D$2:D2)))

If you don't like the #NUM and prefer a blank try

=IF(COUNTIF('Data '!$B$2:$B$800,'Master TL Sheet
'!$C$6)<ROWS(D$2:D2),"",INDEX('Data '!$R$2:$R$800,SMALL(IF('Data
'!$B$2:$B$800='Master TL Sheet '!$C$6,ROW(INDIRECT("1:"&ROWS('Data
'!$B$2:$B$800))),""),ROWS(D$2:D2))))

also commited w/Cntrl+Shift+Enter

"Scott@CW" wrote:

I am using an OFFSET function to match names in column B to comments in
column R. The problem is that when the formula finds the first match it
stops. I need it to continue. Below is a copy of the formula I am using:

=OFFSET('Data '!B1,MATCH('Master TL Sheet '!C6,'Data '!B2:B800,0),16)

This workbook contains two sheets "master" is the report and the second is
the data. This is survey data for 96 managers with multiple responses for
each. Is the a macro that might be easier?

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
How to offset cell value from thick border lines? [email protected] Excel Discussion (Misc queries) 3 November 23rd 06 07:51 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 01:23 AM
Offset Function jagbabbra Excel Worksheet Functions 2 May 24th 06 03:17 PM
Offset Function works in cell, not in named range DragonslayerApps Excel Worksheet Functions 0 July 25th 05 04:39 PM
Question for use of offset and range Demi Excel Worksheet Functions 3 July 22nd 05 08:48 PM


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