#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 331
Default Complicated Look-Up

Good Day. I'm struggling with a lookup. The data is as follows:

01/04/10 230
01/04/10 $71,302.73
01/05/10 226
01/05/10 $70,909.90
01/06/10 225
01/06/10 $70,793.88
01/07/10 220
01/07/10 $69,269.93
01/08/10 218
01/08/10 $68,450.56
01/09/10 77
01/09/10 $9,027.15

The first row is the number of accounts and the second row is the amount the
accounts are worth.

What I am trying to accomplish, on a separate worksheet, is to do a lookup
and return the following:

1/4/10 | # of Accounts | $ of Accounts
1/5/10 | # of 1/4 Accts - 1/5 Accounts | $ of 1/4 Accts - 1/5 Accounts

So, in other words, Joe gets a certain number of accounts to work on Monday.
On tuesday, the number of accounts worked on Monday was Monday - Tuesday,
etc.

Since there are 2 1/4/10 rows, I'm having trouble saying get the first row,
then grab the 2nd row for the Amount.

TIA, any help would be very appreciated,

Greg
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Complicated Look-Up

For the dollar amounts:
=LOOKUP(A2,'Sheet1'!A$1:B$10)

For the qty:
=INDEX('Sheet1'!B$1:B$10,MATCH(A2,'Sheet1'!A$1:A$1 0,0))

LOOKUP will find the last instance of a value (if its sorted) while MATCH
will find the first instance.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Greg" wrote:

Good Day. I'm struggling with a lookup. The data is as follows:

01/04/10 230
01/04/10 $71,302.73
01/05/10 226
01/05/10 $70,909.90
01/06/10 225
01/06/10 $70,793.88
01/07/10 220
01/07/10 $69,269.93
01/08/10 218
01/08/10 $68,450.56
01/09/10 77
01/09/10 $9,027.15

The first row is the number of accounts and the second row is the amount the
accounts are worth.

What I am trying to accomplish, on a separate worksheet, is to do a lookup
and return the following:

1/4/10 | # of Accounts | $ of Accounts
1/5/10 | # of 1/4 Accts - 1/5 Accounts | $ of 1/4 Accts - 1/5 Accounts

So, in other words, Joe gets a certain number of accounts to work on Monday.
On tuesday, the number of accounts worked on Monday was Monday - Tuesday,
etc.

Since there are 2 1/4/10 rows, I'm having trouble saying get the first row,
then grab the 2nd row for the Amount.

TIA, any help would be very appreciated,

Greg

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
a little complicated Gaurav[_2_] Excel Worksheet Functions 7 March 18th 08 01:12 AM
Too Complicated For Me mehare Excel Discussion (Misc queries) 5 August 16th 06 03:57 PM
This is more complicated than it looks. dollarbill79 Excel Worksheet Functions 11 July 14th 06 12:33 AM
Something perhaps a little complicated brodiemac Excel Discussion (Misc queries) 3 June 13th 06 04:15 PM
Complicated Brett Excel Worksheet Functions 3 January 6th 06 04:29 PM


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