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  

OFFSET and LOOKUP Error



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2010, 09:10 PM posted to microsoft.public.excel.worksheet.functions
Jim
external usenet poster
 
Posts: 1,404
Default OFFSET and LOOKUP Error

I'm using Excel 2007

I'm using this formula in cell F11 to lookup a payment amount, which works
fine.
=HLOOKUP($I$3,Mortgage_Pay_Table,A11+2)

In Cell E11 I want to display the cell to the immediate left of the cell
being looked up in F11. I have tried this formula but get an error message:
=OFFSET(HLOOKUP($I$3,Mortgage_Pay_Table,A11+2),0,-1)

Suggestions?
  #2  
Old March 15th, 2010, 09:41 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default OFFSET and LOOKUP Error

Try this...

=INDEX(Mortgage_Pay_Table,A11+2,MATCH($I$3,INDEX(M ortgage_Pay_Table,1,0),0)-1)

--
Biff
Microsoft Excel MVP


"Jim" wrote in message
...
I'm using Excel 2007

I'm using this formula in cell F11 to lookup a payment amount, which works
fine.
=HLOOKUP($I$3,Mortgage_Pay_Table,A11+2)

In Cell E11 I want to display the cell to the immediate left of the cell
being looked up in F11. I have tried this formula but get an error
message:
=OFFSET(HLOOKUP($I$3,Mortgage_Pay_Table,A11+2),0,-1)

Suggestions?



  #3  
Old March 15th, 2010, 09:42 PM posted to microsoft.public.excel.worksheet.functions
Glenn[_6_]
external usenet poster
 
Posts: 1,245
Default OFFSET and LOOKUP Error

Jim wrote:
I'm using Excel 2007

I'm using this formula in cell F11 to lookup a payment amount, which works
fine.
=HLOOKUP($I$3,Mortgage_Pay_Table,A11+2)

In Cell E11 I want to display the cell to the immediate left of the cell
being looked up in F11. I have tried this formula but get an error message:
=OFFSET(HLOOKUP($I$3,Mortgage_Pay_Table,A11+2),0,-1)

Suggestions?



Something like this (untested):

=INDEX(Mortgage_Pay_Table,A11+2,MATCH($I$3,Mortgag e_Pay_Table,0)-1)
 




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 01:35 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.