#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lookup Issue

I have a problem that I require help on.

I am working on a big spreadsheet. I have to pull information from one sheet
into another. However I have 2 lookups to do. Is this possible.

example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34



Example - Working Sheet

A B C
1 Store Name ABC Total DEF Total
2 Manchester

I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a cell.

Any Ideas if this is possible, or another solution!!

Thanks in advance

Jayz
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Lookup Issue

I find it easier with something like this to insert a new column C in
the Info sheet and to concatenate column A and B together to give a
unique reference, i.e.:

=A1&B1

copied down.

Now you can use columns C and D as your lookup table. A typical
formula for the layout you show would be something like this in B2 of
the Working sheet:

=VLOOKUP($A2&B$1,Info!$C:$D,2,0)

Copy into C2, then down if required.

Hope this helps.

Pete

On May 8, 1:16*am, Jayz wrote:
I have a problem that I require help on.

I am working on a big spreadsheet. I have to pull information from one sheet
into another. However I have 2 lookups to do. Is this possible.

example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34

Example - Working Sheet

A B C
1 Store Name ABC Total DEF Total
2 Manchester

I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a cell.

Any Ideas if this is possible, or another solution!!

Thanks in advance

Jayz


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,549
Default Lookup Issue


You could join the two columns together in a third column and do the look up in that column...
=B1 & C1 would give you "ManchesterABC Total" to lookup.
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Jayz"
wrote in message
I have a problem that I require help on.

I am working on a big spreadsheet. I have to pull information from one sheet
into another. However I have 2 lookups to do. Is this possible.

example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34



Example - Working Sheet

A B C
1 Store Name ABC Total DEF Total
2 Manchester

I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a cell.

Any Ideas if this is possible, or another solution!!

Thanks in advance

Jayz
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Lookup Issue

Thanks for your prompt responce.

Unfortunately, the suggestion doesn't help me as the spread sheet is also
feeding other information utilitising the "Branch" names.

I wish I'd never started this project!! Ha Ha

Regards

Jayz

"Pete_UK" wrote:

I find it easier with something like this to insert a new column C in
the Info sheet and to concatenate column A and B together to give a
unique reference, i.e.:

=A1&B1

copied down.

Now you can use columns C and D as your lookup table. A typical
formula for the layout you show would be something like this in B2 of
the Working sheet:

=VLOOKUP($A2&B$1,Info!$C:$D,2,0)

Copy into C2, then down if required.

Hope this helps.

Pete

On May 8, 1:16 am, Jayz wrote:
I have a problem that I require help on.

I am working on a big spreadsheet. I have to pull information from one sheet
into another. However I have 2 lookups to do. Is this possible.

example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34

Example - Working Sheet

A B C
1 Store Name ABC Total DEF Total
2 Manchester

I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a cell.

Any Ideas if this is possible, or another solution!!

Thanks in advance

Jayz



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup Issue

*Maybe* this...

Entered on the Working sheet in cell B2:

=SUMPRODUCT(--(Info!$A$1:$A$5=$A2),--(Info!$B$1:$B$5=B$1),Info!$C$1:$C$5)

Copy across then down as needed.

--
Biff
Microsoft Excel MVP


"Jayz" wrote in message
...
I have a problem that I require help on.

I am working on a big spreadsheet. I have to pull information from one
sheet
into another. However I have 2 lookups to do. Is this possible.

example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34



Example - Working Sheet

A B C
1 Store Name ABC Total DEF Total
2 Manchester

I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a
cell.

Any Ideas if this is possible, or another solution!!

Thanks in advance

Jayz





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Lookup Issue

You will still have the branch information in columns A and B, so you
can still do that.

Pete

On May 8, 1:52*am, Jayz wrote:
Thanks for your prompt responce.

Unfortunately, the suggestion doesn't help me as the spread sheet is also
feeding other information utilitising the "Branch" names.

I wish I'd never started this project!! Ha Ha

Regards

Jayz



"Pete_UK" wrote:
I find it easier with something like this to insert a new column C in
the Info sheet and to concatenate column A and B together to give a
unique reference, i.e.:


=A1&B1


copied down.


Now you can use columns C and D as your lookup table. A typical
formula for the layout you show would be something like this in B2 of
the Working sheet:


=VLOOKUP($A2&B$1,Info!$C:$D,2,0)


Copy into C2, then down if required.


Hope this helps.


Pete


On May 8, 1:16 am, Jayz wrote:
I have a problem that I require help on.


I am working on a big spreadsheet. I have to pull information from one sheet
into another. However I have 2 lookups to do. Is this possible.


example - Info Sheet
A B C
1 Manchester ABC Total -230.30
2 Manchester DEF Total +123.34


Example - Working Sheet


A B C
1 Store Name ABC Total DEF Total
2 Manchester


I need to lookup "Manchester" and "ABC Total" to give me "-230.30" in a cell.


Any Ideas if this is possible, or another solution!!


Thanks in advance


Jayz- Hide quoted text -


- Show quoted text -


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
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
LOOKUP Command Issue VegasBurger Excel Worksheet Functions 1 August 2nd 06 07:35 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM


All times are GMT +1. The time now is 02:16 AM.

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"