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

I'm trying to create something like a cross-table, I need a lookup
function for the grid.

I have a list of data pairings on a worksheet ("FILTERED DATA")
ASSY is in column D
SKU is in Column H
(each of these pairs will be unique)

I have a grid on a worksheet ("MEDIA GRID")
Column D is ASSY
Row 2 is SKU
Row 1 is the qty of each sku required (this data is a vlookup from
another worksheet)

For each space in the grid I want to check to see if there is an
instance of the pair in "FILTERED DATA". If there is then I want the
space to return the value in row 1 of MEDIA GRID. There are going to
be about 45000 grid spaces.

Thanks,
Jason Lepack

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Complex Lookup

Assuming your media table appears as below. Assy is in D1:D100 and sku's are
in H1:H100 on the Filtered Data worksheet.

D E F
1 Qty Qty
2 sku# sku#
3 Assy
4 Assy
5 Assy

try this in E3 (change the false argument for the if statement if you want
to return something other than 0):

=If(Sumproduct(--('Filtered Data'!$D$1:$D$100=$D3), --('Filtered
Data'!$H$1:$H$100=E$2)), E$1, 0)

and copy down and across.


"Jason Lepack" wrote:

I'm trying to create something like a cross-table, I need a lookup
function for the grid.

I have a list of data pairings on a worksheet ("FILTERED DATA")
ASSY is in column D
SKU is in Column H
(each of these pairs will be unique)

I have a grid on a worksheet ("MEDIA GRID")
Column D is ASSY
Row 2 is SKU
Row 1 is the qty of each sku required (this data is a vlookup from
another worksheet)

For each space in the grid I want to check to see if there is an
instance of the pair in "FILTERED DATA". If there is then I want the
space to return the value in row 1 of MEDIA GRID. There are going to
be about 45000 grid spaces.

Thanks,
Jason Lepack


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 120
Default Complex Lookup

There were too many calculations, I decided to programmatically create
the data from my list (less comparisons) and placec the value in Row 1
from Media Grid and put it in at the intersection of the assy and the
sku.

Thanks for your help.

Cheers,
Jason Lepack

On Feb 2, 5:14 pm, JMB wrote:
Assuming your media table appears as below. Assy is in D1:D100 and sku's are
in H1:H100 on the Filtered Data worksheet.

D E F
1 Qty Qty
2 sku# sku#
3 Assy
4 Assy
5 Assy

try this in E3 (change the false argument for the if statement if you want
to return something other than 0):

=If(Sumproduct(--('Filtered Data'!$D$1:$D$100=$D3), --('Filtered
Data'!$H$1:$H$100=E$2)), E$1, 0)

and copy down and across.

"Jason Lepack" wrote:
I'm trying to create something like a cross-table, I need a lookup
function for the grid.


I have a list of data pairings on a worksheet ("FILTERED DATA")
ASSY is in column D
SKU is in Column H
(each of these pairs will be unique)


I have a grid on a worksheet ("MEDIA GRID")
Column D is ASSY
Row 2 is SKU
Row 1 is the qty of each sku required (this data is a vlookup from
another worksheet)


For each space in the grid I want to check to see if there is an
instance of the pair in "FILTERED DATA". If there is then I want the
space to return the value in row 1 of MEDIA GRID. There are going to
be about 45000 grid spaces.


Thanks,
Jason Lepack



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
Complex lookup bobb Excel Worksheet Functions 0 October 14th 06 08:33 PM
Complex LookUp / Match Problem ?? carl Excel Worksheet Functions 2 May 2nd 05 08:53 PM
complex lookup [email protected] Excel Discussion (Misc queries) 1 December 17th 04 02:01 PM
Complex lookup task for a newbies nhwong Excel Worksheet Functions 5 November 9th 04 04:05 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 03:34 PM.

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"