Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 192
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!C131<19,Data!C131,1)) +Data!K131*19),FALSE)

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

Thanks in advance for any help you can give!
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
HLOOKUP static cell reference dewheatley Excel Discussion (Misc queries) 1 September 10th 09 02:42 PM
HLOOKUP copied across rows with "row index number" changing KUMPFfrog Excel Worksheet Functions 3 March 13th 08 03:15 PM
using hlookup, I need the cell reference to add consec # to next Sharon Excel Discussion (Misc queries) 1 December 17th 07 02:38 PM
Relative cell reference Roar Excel Discussion (Misc queries) 1 May 25th 07 01:23 PM
cell reference from hlookup warrenb Excel Worksheet Functions 4 January 5th 06 01:30 PM


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