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

Hi Helpppp!

Sheet 1 is something like this
Colum A6 to A51 is a customer name
Column B6 to B51 is a industry region
in Column H6 to H51 I need a result based on the first two criteria Customer
name and industry region from Sheet 2

Sheet 2 is something like this
Colum A6 to A51 is a customer name
Column B6 to B51 is a industry region
in column I6 to I51 I have the budget figure than needs to go back into
sheet 1.

I can not join the two criteria because of an interactive report i need to
generate later. Thanks for any help.

Monica
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Lookup help

Is that budget figure always numeric?

If yes, you can use:

=sumproduct(--(sheet2!$a$6:$a$51=a6),
--(sheet2!$b$6:$b$51=b6),
(sheet2!$i$6:$i$51))

Adjust the ranges to match--but you can't use whole columns (except in xl2007).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

This actually returns the sum all the rows of column I where column A and column
B match the criteria (a6 and b6).

Cinny wrote:

Hi Helpppp!

Sheet 1 is something like this
Colum A6 to A51 is a customer name
Column B6 to B51 is a industry region
in Column H6 to H51 I need a result based on the first two criteria Customer
name and industry region from Sheet 2

Sheet 2 is something like this
Colum A6 to A51 is a customer name
Column B6 to B51 is a industry region
in column I6 to I51 I have the budget figure than needs to go back into
sheet 1.

I can not join the two criteria because of an interactive report i need to
generate later. Thanks for any help.

Monica


--

Dave Peterson
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
Variable Lookup/Double Lookup Ryan[_2_] Excel Worksheet Functions 8 May 14th 07 09:44 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
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM


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