A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Referencing relative to a formula reference



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 26th, 2010, 11:06 AM posted to microsoft.public.excel.worksheet.functions
Csaba Gabor
external usenet poster
 
Posts: 2
Default Referencing relative to a formula reference

I have an Excel workbook with two worksheets. In one
sheet (Books) I have defined a series of items with
column 1 being my book Id and column 4 being the book
title. In the second sheet (ISBN) I may have multiple
entries per line of the first sheet, since a given book may
have multiple editions, each with its own ISBN number.

In column 2 of ISBN I have the BookId from the first
sheet, which I have as an absolute reference (eg. the
formula would be something like =Books!R4C1). Now
here's my problem. I'd like to have a column in ISBN
which reflects the book's title that is indicated by the
reference in column 2 (BookId). I thought I could do
something along the lines of
=OFFSET(INDIRECT(RC2,FALSE),0,3) but
INDIRECT is quite unhappy, and all the functions
I remember for dealing with formulas are for macro
sheets (eg. GET.CELL(6,R2C)).

Now I can get the desired effect by doing
=OFFSET(Books!R1C4,MATCH(RC2,Books!C1,0)-1,0)
but this seems computationally burdensome on
Excel, and I have to wonder if there isn't a more
direct way I'm overlooking.


There is a second issue. Using the method in the
above paragraph works, except that when the
returned string has a hard newline (that I previously
entered via Alt+Enter), this is shown as a box
character and no longer shows as a newline.

Any tips?
Thanks,
Csaba Gabor from Vienna
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:43 PM.


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