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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

HLOOKUP - Relative cell reference in row index number



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2009, 12:50 PM posted to microsoft.public.excel.misc
nick
external usenet poster
 
Posts: 642
Default HLOOKUP - Relative cell reference in row index number

Hi. I'm using an HLOOKUP where the row index number is a formula which refers
to a cell in the same row as the lookup function. This is then applied to the
whole column. It seems that, whether or not I use $, the cell references in
the formula are absolute which means that when I sort the worksheet by
another column the HLOOKUP uses the wrong cell reference. Is there any way
around this?

The whole lookup function is the following:
=HLOOKUP(I3,'Fee
matrix1'!$1:$857,(2+(IF(Data!C13119,Data!C131,1)) +Data!K131*19),FALSE)

so the formula for the row index number is
(2+(IF(Data!C13119,Data!C131,1))+Data!K131*19)

Thanks in advance for any help you can give!
 




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 07:38 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.