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  

lookop or index?



 
 
Thread Tools Display Modes
  #1  
Old March 12th, 2004, 03:30 PM
external usenet poster
 
Posts: n/a
Default lookop or index?

I'm looking for a way to look up/return a value based on 2
nubers like below:

I need the balance for Account 57500, & Cost Center 125
from a trial balance table on a separate tab. I've used
vlookup before w/ a named range but that won't work in
this situation.

Thanks & let me know if you need more details,
Dan
  #2  
Old March 12th, 2004, 03:37 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default lookop or index?

Hi Dan
if your account numbers are in column A and your cost centers in column
B and you want to get the value form column C
try the following (assumption A1, B1 contain the lookup values) array
formula (entered with CTRL+sHIFT+eNTER)
=INDEX('balance_sheet'!$C$1:$C$100,MATCH(A1&B1,'ba lance_sheet'!$A$1:$A$
100&'balance_sheet'!$B$1:$B$100,0))

--
Regards
Frank Kabel
Frankfurt, Germany

wrote:
I'm looking for a way to look up/return a value based on 2
nubers like below:

I need the balance for Account 57500, & Cost Center 125
from a trial balance table on a separate tab. I've used
vlookup before w/ a named range but that won't work in
this situation.

Thanks & let me know if you need more details,
Dan


  #3  
Old March 12th, 2004, 03:50 PM
Dave R.
external usenet poster
 
Posts: n/a
Default lookop or index?

Frank, I came up with a similar formula (array entered)

=INDEX(F$8:F$11,MATCH(G8&H8,D$8$11&E$8:E$11),0)

but it doesn't return the value it should, at least on my machine. I'd think
yours would act similarly, the sheet references shouldn't affect it.

Does it work right for you?


"Frank Kabel" wrote in message
...
Hi Dan
if your account numbers are in column A and your cost centers in column
B and you want to get the value form column C
try the following (assumption A1, B1 contain the lookup values) array
formula (entered with CTRL+sHIFT+eNTER)
=INDEX('balance_sheet'!$C$1:$C$100,MATCH(A1&B1,'ba lance_sheet'!$A$1:$A$
100&'balance_sheet'!$B$1:$B$100,0))

--
Regards
Frank Kabel
Frankfurt, Germany

wrote:
I'm looking for a way to look up/return a value based on 2
nubers like below:

I need the balance for Account 57500, & Cost Center 125
from a trial balance table on a separate tab. I've used
vlookup before w/ a named range but that won't work in
this situation.

Thanks & let me know if you need more details,
Dan




  #4  
Old March 12th, 2004, 04:04 PM
Frank Kabel
external usenet poster
 
Posts: n/a
Default lookop or index?

Hi Dave
I think you messed with placing the zero :-)
Try
=INDEX(F$8:F$11,MATCH(G8&H8,D$8$11&E$8:E$11,0))

--
Regards
Frank Kabel
Frankfurt, Germany

Dave R. wrote:
Frank, I came up with a similar formula (array entered)

=INDEX(F$8:F$11,MATCH(G8&H8,D$8$11&E$8:E$11),0)

but it doesn't return the value it should, at least on my machine.
I'd think yours would act similarly, the sheet references shouldn't
affect it.

Does it work right for you?


"Frank Kabel" wrote in message
...
Hi Dan
if your account numbers are in column A and your cost centers in
column B and you want to get the value form column C
try the following (assumption A1, B1 contain the lookup values)

array
formula (entered with CTRL+sHIFT+eNTER)

=INDEX('balance_sheet'!$C$1:$C$100,MATCH(A1&B1,'ba lance_sheet'!$A$1:$A$
100&'balance_sheet'!$B$1:$B$100,0))

--
Regards
Frank Kabel
Frankfurt, Germany

wrote:
I'm looking for a way to look up/return a value based on 2
nubers like below:

I need the balance for Account 57500, & Cost Center 125
from a trial balance table on a separate tab. I've used
vlookup before w/ a named range but that won't work in
this situation.

Thanks & let me know if you need more details,
Dan


  #5  
Old March 12th, 2004, 05:19 PM
Dave R.
external usenet poster
 
Posts: n/a
Default lookop or index?

Darn, should have seen that, thanks!


"Frank Kabel" wrote in message
...
Hi Dave
I think you messed with placing the zero :-)
Try
=INDEX(F$8:F$11,MATCH(G8&H8,D$8$11&E$8:E$11,0))

--
Regards
Frank Kabel
Frankfurt, Germany

Dave R. wrote:
Frank, I came up with a similar formula (array entered)

=INDEX(F$8:F$11,MATCH(G8&H8,D$8$11&E$8:E$11),0)

but it doesn't return the value it should, at least on my machine.
I'd think yours would act similarly, the sheet references shouldn't
affect it.

Does it work right for you?


"Frank Kabel" wrote in message
...
Hi Dan
if your account numbers are in column A and your cost centers in
column B and you want to get the value form column C
try the following (assumption A1, B1 contain the lookup values)

array
formula (entered with CTRL+sHIFT+eNTER)

=INDEX('balance_sheet'!$C$1:$C$100,MATCH(A1&B1,'ba lance_sheet'!$A$1:$A$
100&'balance_sheet'!$B$1:$B$100,0))

--
Regards
Frank Kabel
Frankfurt, Germany

wrote:
I'm looking for a way to look up/return a value based on 2
nubers like below:

I need the balance for Account 57500, & Cost Center 125
from a trial balance table on a separate tab. I've used
vlookup before w/ a named range but that won't work in
this situation.

Thanks & let me know if you need more details,
Dan




 




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 06:51 AM.


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