#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Offset formula

This is an example of the formula I am working on at the moment.
=OFFSET('JOB '!$B$20,MATCH("HD0474",'JOB '!$B$21:$B$38, 0),1)

If I want it to look up the part above (HD0474), but instead of typing it in
each time, get the information from the field A38 on the same sheet, how do I
do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Offset formula

Try this...

=OFFSET('JOB '!$B$20,MATCH('JOB '!$A$38,'JOB '!$B$21:$B$38, 0),1)

Is there really a blank space at the end of that sheet name like your posted
formula shows?

Rick


"SHELL" wrote in message
...
This is an example of the formula I am working on at the moment.
=OFFSET('JOB '!$B$20,MATCH("HD0474",'JOB '!$B$21:$B$38, 0),1)

If I want it to look up the part above (HD0474), but instead of typing it
in
each time, get the information from the field A38 on the same sheet, how
do I
do this?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Offset formula



"Rick Rothstein (MVP - VB)" wrote:

Try this...

=OFFSET('JOB '!$B$20,MATCH('JOB '!$A$38,'JOB '!$B$21:$B$38, 0),1)

Is there really a blank space at the end of that sheet name like your posted
formula shows?

Rick


"SHELL" wrote in message
...
This is an example of the formula I am working on at the moment.
=OFFSET('JOB '!$B$20,MATCH("HD0474",'JOB '!$B$21:$B$38, 0),1)

If I want it to look up the part above (HD0474), but instead of typing it
in
each time, get the information from the field A38 on the same sheet, how
do I
do this?


Thanks for that - using the example above field A38 is on the same sheet as the formula above (called PARTS) not on the JOB sheet.


So I tried
=OFFSET('JOB '!$B$20,MATCH("'PARTS'!$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("A32",'JOB '!$B$21:$B$38, 0),1)

with both giving a #N/A answer instead of 1 (as there is a corresponding use
of that part on the JOB worksheet)

It seems to only work when I actually type the part no in as in the first eg.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Offset formula

"Rick Rothstein (MVP - VB)" wrote:

Try this...

=OFFSET('JOB '!$B$20,MATCH('JOB '!$A$38,'JOB '!$B$21:$B$38, 0),1)

Is there really a blank space at the end of that sheet name like your
posted
formula shows?

Rick


"SHELL" wrote in message
...
This is an example of the formula I am working on at the moment.
=OFFSET('JOB '!$B$20,MATCH("HD0474",'JOB '!$B$21:$B$38, 0),1)

If I want it to look up the part above (HD0474), but instead of typing
it
in
each time, get the information from the field A38 on the same sheet,
how
do I
do this?


Thanks for that - using the example above field A38 is on the same sheet
as the formula above (called PARTS) not on the JOB sheet.


So I tried
=OFFSET('JOB '!$B$20,MATCH("'PARTS'!$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("A32",'JOB '!$B$21:$B$38, 0),1)

with both giving a #N/A answer instead of 1 (as there is a corresponding
use
of that part on the JOB worksheet)

It seems to only work when I actually type the part no in as in the first
eg.


And on every one you tried, you put quote marks around that argument.. if
you look at my posted example, you will see I did not use quote marks. If
you put quote marks around text, Excel will not try to assign any meaning to
it other than as a collection of characters... never as a range, formula,
etc.

Rick

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Offset formula



"Rick Rothstein (MVP - VB)" wrote:

"Rick Rothstein (MVP - VB)" wrote:

Try this...

=OFFSET('JOB '!$B$20,MATCH('JOB '!$A$38,'JOB '!$B$21:$B$38, 0),1)

Is there really a blank space at the end of that sheet name like your
posted
formula shows?

Rick


"SHELL" wrote in message
...
This is an example of the formula I am working on at the moment.
=OFFSET('JOB '!$B$20,MATCH("HD0474",'JOB '!$B$21:$B$38, 0),1)

If I want it to look up the part above (HD0474), but instead of typing
it
in
each time, get the information from the field A38 on the same sheet,
how
do I
do this?

Thanks for that - using the example above field A38 is on the same sheet
as the formula above (called PARTS) not on the JOB sheet.


So I tried
=OFFSET('JOB '!$B$20,MATCH("'PARTS'!$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("$A$32",'JOB '!$B$21:$B$38, 0),1)
and
=OFFSET('JOB '!$B$20,MATCH("A32",'JOB '!$B$21:$B$38, 0),1)

with both giving a #N/A answer instead of 1 (as there is a corresponding
use
of that part on the JOB worksheet)

It seems to only work when I actually type the part no in as in the first
eg.


And on every one you tried, you put quote marks around that argument.. if
you look at my posted example, you will see I did not use quote marks. If
you put quote marks around text, Excel will not try to assign any meaning to
it other than as a collection of characters... never as a range, formula,
etc.

Rick

Thankyou so much, that did work! That was a bit stupid of me!:)

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
Offset Formula Secret Squirrel Excel Discussion (Misc queries) 3 July 28th 08 12:48 AM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
1 OFFSET FORMULA, I'M NOT SURE WHAT DOES IT MEAN!!!!!! HERNAN Excel Discussion (Misc queries) 2 July 9th 07 07:41 PM
Help with Offset formula Ken G. Excel Discussion (Misc queries) 2 May 26th 06 02:32 AM
Offset formula richy Excel Worksheet Functions 8 January 6th 06 09:27 PM


All times are GMT +1. The time now is 01:21 AM.

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"