Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 76
Default Getting a value from large table.

Hi, I have a data table where column A = Make (named MAKE), B = Model (named
MODEL), Row 1 = Model Year (named MODELYR).
On a different sheet, I have a list of miscellaneous combinations. On this
sheet, column A contains the make, B the Model and C the Model Year.
How can I get the contents from the table to be populated in column D for my
list?
I have tried SUMPRODUCT, SUMIFS and INDEX (with MATCH) functions, but
continue to get the #Value error. I have also array-entered each of the
functions.
I would like the value in D1 where MAKE=A1, MODEL=B1 and MODELYR=C1.
--
TIA, Brad E.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 76
Default Getting a value from large table.

I would like to use something like
=SUMPRODUCT(MAKE=A10,MODEL=B10,MODELYR=C10,Retail! $C$2:$G$247)
but
MAKE = Retail!$A$2:$A$247
MODEL = Retail!$B$2:$B$247
MODELYR = Retail!$C$1:$G$1 (consists of Model Years 2006 - 2010)
and, therefore, the ranges aren't the correct size.
--
TIA, Brad E.


"Don Guillett" wrote:

sumproduct should work OK if you do it properly with the same length ranges,
etc. post your formula

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Brad E." wrote in message
...
Hi, I have a data table where column A = Make (named MAKE), B = Model
(named
MODEL), Row 1 = Model Year (named MODELYR).
On a different sheet, I have a list of miscellaneous combinations. On
this
sheet, column A contains the make, B the Model and C the Model Year.
How can I get the contents from the table to be populated in column D for
my
list?
I have tried SUMPRODUCT, SUMIFS and INDEX (with MATCH) functions, but
continue to get the #Value error. I have also array-entered each of the
functions.
I would like the value in D1 where MAKE=A1, MODEL=B1 and MODELYR=C1.
--
TIA, Brad E.


.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Getting a value from large table.

One way...

=SUMPRODUCT(--(Make=A10),--(Model=B10),INDEX(Retail!C2:G247,,MATCH(C10,MODELY R,0)))

--
Biff
Microsoft Excel MVP


"Brad E." wrote in message
...
I would like to use something like
=SUMPRODUCT(MAKE=A10,MODEL=B10,MODELYR=C10,Retail! $C$2:$G$247)
but
MAKE = Retail!$A$2:$A$247
MODEL = Retail!$B$2:$B$247
MODELYR = Retail!$C$1:$G$1 (consists of Model Years 2006 - 2010)
and, therefore, the ranges aren't the correct size.
--
TIA, Brad E.


"Don Guillett" wrote:

sumproduct should work OK if you do it properly with the same length
ranges,
etc. post your formula

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Brad E." wrote in message
...
Hi, I have a data table where column A = Make (named MAKE), B = Model
(named
MODEL), Row 1 = Model Year (named MODELYR).
On a different sheet, I have a list of miscellaneous combinations. On
this
sheet, column A contains the make, B the Model and C the Model Year.
How can I get the contents from the table to be populated in column D
for
my
list?
I have tried SUMPRODUCT, SUMIFS and INDEX (with MATCH) functions, but
continue to get the #Value error. I have also array-entered each of
the
functions.
I would like the value in D1 where MAKE=A1, MODEL=B1 and MODELYR=C1.
--
TIA, Brad E.


.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 76
Default Getting a value from large table.

Thanks, Biff. Skipping the ROW entry in the INDEX function works great. I
didn't know you could do that.
Brad E.

"T. Valko" wrote:
One way...

=SUMPRODUCT(--(Make=A10),--(Model=B10),INDEX(Retail!C2:G247,,MATCH(C10,MODELY R,0)))

Biff
Microsoft Excel MVP


"Brad E." wrote in message
...
I would like to use something like
=SUMPRODUCT(MAKE=A10,MODEL=B10,MODELYR=C10,Retail! $C$2:$G$247)
but
MAKE = Retail!$A$2:$A$247
MODEL = Retail!$B$2:$B$247
MODELYR = Retail!$C$1:$G$1 (consists of Model Years 2006 - 2010)
and, therefore, the ranges aren't the correct size.
--
TIA, Brad E.


"Don Guillett" wrote:

sumproduct should work OK if you do it properly with the same length
ranges, etc. post your formula

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Brad E." wrote in message
...
Hi, I have a data table where column A = Make (named MAKE), B = Model
(named MODEL), Row 1 = Model Year (named MODELYR).
On a different sheet, I have a list of miscellaneous combinations. On this
sheet, column A contains the make, B the Model and C the Model Year.
How can I get the contents from the table to be populated in column D
for my list?
I have tried SUMPRODUCT, SUMIFS and INDEX (with MATCH) functions, but
continue to get the #Value error. I have also array-entered each of the functions.
I would like the value in D1 where MAKE=A1, MODEL=B1 and MODELYR=C1.
--
TIA, Brad E.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Getting a value from large table.

When you index a 2D range you have to specify both the row and column
argument otherwise, you'll get an error.

In this application:

INDEX(Retail!C2:G247,,MATCH(C10,MODELYR,0))

The row argument has been omitted so it defaults to 0. Since there isn't a
relative row 0 in the range it includes *all* rows within the range.

You can either omit the row argument as I did or you can define it as 0:

INDEX(Retail!C2:G247,0,MATCH(C10,MODELYR,0))

--
Biff
Microsoft Excel MVP


"Brad E." wrote in message
...
Thanks, Biff. Skipping the ROW entry in the INDEX function works great.
I
didn't know you could do that.
Brad E.

"T. Valko" wrote:
One way...

=SUMPRODUCT(--(Make=A10),--(Model=B10),INDEX(Retail!C2:G247,,MATCH(C10,MODELY R,0)))

Biff
Microsoft Excel MVP


"Brad E." wrote in message
...
I would like to use something like
=SUMPRODUCT(MAKE=A10,MODEL=B10,MODELYR=C10,Retail! $C$2:$G$247)
but
MAKE = Retail!$A$2:$A$247
MODEL = Retail!$B$2:$B$247
MODELYR = Retail!$C$1:$G$1 (consists of Model Years 2006 - 2010)
and, therefore, the ranges aren't the correct size.
--
TIA, Brad E.


"Don Guillett" wrote:

sumproduct should work OK if you do it properly with the same length
ranges, etc. post your formula

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Brad E." wrote in message
...
Hi, I have a data table where column A = Make (named MAKE), B = Model
(named MODEL), Row 1 = Model Year (named MODELYR).
On a different sheet, I have a list of miscellaneous combinations. On
this
sheet, column A contains the make, B the Model and C the Model Year.
How can I get the contents from the table to be populated in column D
for my list?
I have tried SUMPRODUCT, SUMIFS and INDEX (with MATCH) functions, but
continue to get the #Value error. I have also array-entered each of
the functions.
I would like the value in D1 where MAKE=A1, MODEL=B1 and MODELYR=C1.
--
TIA, Brad E.



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
Inserting a table within a large worksheet TonyH[_2_] Excel Discussion (Misc queries) 2 September 7th 09 08:16 PM
Comments at End of Large Table Stefani Excel Discussion (Misc queries) 3 December 28th 07 11:54 PM
pivot table using very large dataset Peter Excel Discussion (Misc queries) 0 November 18th 06 04:05 AM
How do I link information from a large table into new table Sarah - Sydney Excel Worksheet Functions 2 September 22nd 06 03:34 AM
Pivot Table Too Large? JenL Excel Discussion (Misc queries) 1 February 28th 06 04:00 PM


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