Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

PLEASE HELP OFFSET / HLOOKUP / MATCH I HAVE READ OTHER POSTS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
worzell@hotmail.com - 15 Feb 2008 09:27 GMT
Hi,

I have looked at loads of other posts around this but I can't get any
of the examples to fix this.

I have the following problem:

I have a date which I would like to use as a reference to lookup
data.

Data table looks like below:

    A        B        C
1    29/02/2008
2
3    31/01/2008    29/02/2008    31/03/2008
4    R        R        R
5    R        R        R
6    R        R        R
7    F        G        H

In cell D1 I have the HLOOKUP formula which is looking up the date in
A1 in the table A3:C7 and returning row 5 below it. This works fine.

In cell D2 I would like to have a formula which is the same but
offsets by -1 column. I have tried
=OFFSET(HLOOKUP($A$1,$A$3:$C$7,5,FALSE),0,-1) but cannot for the life
of me get it to work!

I have also tried using MATCH & OFFSET but I am not very au fait with
with either and can't seem to get them to work!

Any suggestions greatly appreciated.

Many Thanks,

Worzell
Roger Govier - 15 Feb 2008 12:39 GMT
Hi

You can't use Offset in that way as Hlookup is returning you a value, not an
address
Try
=INDEX(A3:C7,5,MATCH(A1,A3:C3,0)-1)

Signature

Regards
Roger Govier

> Hi,
>
[quoted text clipped - 33 lines]
>
> Worzell
Don Guillett - 15 Feb 2008 13:18 GMT
One way where your dates are in row 18 and your values in row 23
=INDEX(23:23,0,MATCH(A17,18:18))

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Hi,
>
[quoted text clipped - 33 lines]
>
> Worzell
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.