LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default Combine VLOOKUP and HLOOKUP's capabilities

I have a set of data for which VLOOKUP and HLOOKUP alone will not be
dynamic enough. The MATCH and INDEX function does not get me where I
am going either.

This is a diagram of my raw data set

A B C D
1 Jan 1 Jan 2 Jan 3
2 Acct 1 balance balance balance
3 Acct 2 balance balance balance
4 Acct 3 balance balance balance

The dates will extend very far out to the right as I will add new
information on a weekly basis. There will also be a very large number
of accounts that may get reordered.

I need a formula that will return the balance on a specified day for a
specified account. The reason I need this is that while the raw data
page will be arranged as shown above, my analysis page (the one I will
be pulling the data to) will not be arranged in the same fashion. It
will look like this:

A B C D
1 Acct 1 Acct 2 Acct 3
2 Jan 1 balance balance balance
3 Jan 2 balance balance balance
4 Jan 3 balance balance balance

I would like the formula in cell B2, for instance, to do this: (In
referencing the raw data page) find the cell where Acct 1 and Jan 1
intersect and return the balance to the analysis page.

This analysis sheet will contain possibly more dates and accounts than
the raw data sheet, so there will not be a consistent number of rows/
columns between data when comparing the sheets. This is what blows
the lookups and match out of the water.

VLOOKUP, HLOOKUP, and MATCH require you to keep a rigidly static raw
data structure. For example, if I was to use VLOOKUP and tell the
formula to look over X amount of rows, this would all be fine until I
deleted a bunch of dates in between the reference cell and the data I
want returned.

Thanks for you help.

 
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
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Possible to combine VLOOKUP and IF(AND) functions? Ihoris Excel Worksheet Functions 1 April 6th 06 09:54 AM
How do I combine If and VLookup function? Felicia Pickett Excel Worksheet Functions 2 December 14th 05 12:06 AM
How to combine a vlookup with a sumif function!!! Mark the Shark Excel Discussion (Misc queries) 2 April 6th 05 11:54 AM
Combine VLOOKUP, IF, AND in one formula Natalie Excel Worksheet Functions 5 April 5th 05 02:32 PM


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