Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Does anyone know how to create a lookup that will do this?

I have a table that looks like the following example.

Date LOC ACCT Beg Bal Activity Ending
May-06 M101 1001 10.00 210.00 310.00
May-06 M101 1002 20.00 220.00 320.00
May-06 M101 1003 30.00 230.00 330.00
May-06 M101 1004 40.00 240.00 340.00
May-06 M101 1005 50.00 250.00 350.00
Jun-06 M101 1001 60.00 260.00 360.00
Jun-06 M101 1002 70.00 270.00 370.00
Jun-06 M101 1003 80.00 280.00 380.00
Jun-06 M101 1004 90.00 290.00 390.00
Jun-06 M101 1005 100.00 300.00 400.00
May-06 M102 1001 110.00 310.00 410.00
May-06 M102 1002 120.00 320.00 420.00
May-06 M102 1003 130.00 330.00 430.00
May-06 M102 1004 140.00 340.00 440.00
May-06 M102 1005 150.00 350.00 450.00
Jun-06 M102 1001 160.00 360.00 460.00
Jun-06 M102 1002 170.00 370.00 470.00
Jun-06 M102 1003 180.00 380.00 480.00
Jun-06 M102 1004 190.00 390.00 490.00
Jun-06 M102 1005 200.00 400.00 500.00

I have a spreadsheet that I need to fill out every month in a specific
format so I need to have something that will pull info from this table so I
dont have to type it in by hand every month. For example I may need to
have a specific DATE, LOC, ACCT and then the amount in one of the three
columns (Beg Bal, Activity, Ending Balance). Oh also the DATE may be because
it will change every month so I should probably link it to a date4 cell. Let
me know if any of you have any ideas.

Thanks
Mascot

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 138
Default Does anyone know how to create a lookup that will do this?

Concatinate the date, loc and acct into another cell on each row and
use this new (unique) string to interrogate your table.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Does anyone know how to create a lookup that will do this?

Assumes data in columns A to F

H2=Date
H3=LOC
H4=ACCT

=INDEX($D$2:$F$21,MATCH(1,($A$2:$A$21=H2)*($B$2:$B $21=H3)*($C$2:$C$21=H4),0),2)

Enter this as an array formula (Ctrl+Shift+Enter)

This will select "Activity".

Change 2 at end of formula to 1 or 3 to select "Beg Bal" or "Ending"


HTH

"Mascot" wrote:

I have a table that looks like the following example.

Date LOC ACCT Beg Bal Activity Ending
May-06 M101 1001 10.00 210.00 310.00
May-06 M101 1002 20.00 220.00 320.00
May-06 M101 1003 30.00 230.00 330.00
May-06 M101 1004 40.00 240.00 340.00
May-06 M101 1005 50.00 250.00 350.00
Jun-06 M101 1001 60.00 260.00 360.00
Jun-06 M101 1002 70.00 270.00 370.00
Jun-06 M101 1003 80.00 280.00 380.00
Jun-06 M101 1004 90.00 290.00 390.00
Jun-06 M101 1005 100.00 300.00 400.00
May-06 M102 1001 110.00 310.00 410.00
May-06 M102 1002 120.00 320.00 420.00
May-06 M102 1003 130.00 330.00 430.00
May-06 M102 1004 140.00 340.00 440.00
May-06 M102 1005 150.00 350.00 450.00
Jun-06 M102 1001 160.00 360.00 460.00
Jun-06 M102 1002 170.00 370.00 470.00
Jun-06 M102 1003 180.00 380.00 480.00
Jun-06 M102 1004 190.00 390.00 490.00
Jun-06 M102 1005 200.00 400.00 500.00

I have a spreadsheet that I need to fill out every month in a specific
format so I need to have something that will pull info from this table so I
dont have to type it in by hand every month. For example I may need to
have a specific DATE, LOC, ACCT and then the amount in one of the three
columns (Beg Bal, Activity, Ending Balance). Oh also the DATE may be because
it will change every month so I should probably link it to a date4 cell. Let
me know if any of you have any ideas.

Thanks
Mascot

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
Create Lookup Table Matt Excel Worksheet Functions 3 February 28th 06 04:02 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do I use 3 cells to create the string for a lookup function? Bencomo Excel Worksheet Functions 1 May 15th 05 07:17 AM
how do i create a lookup RaPiDfIrE Excel Discussion (Misc queries) 1 May 10th 05 08:31 PM


All times are GMT +1. The time now is 01:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"