Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Vlookup by rows and columns

Hi All
I have workbook (Products) with sheets(January, Febr,March.........)
In row 1 I have date(C1=1,D1=2......)
In column A I have Part numbers.(part1, part2, part3,....)
In another workbook(Reports) I have sheets by weekly. I like to create
formula to find data from "Products". How many produced part1 on the
03. march or part2 on the 01. june ...
Part numbers on the columnA and date on the row20. I hope that not very
absurd question.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Vlookup by rows and columns

Hi,

assuming that in workbook Reports month (January, February,...) is in
A1, month day (1-31) is in A2 and part number is in A3, the following
formula should work:

=INDEX(INDIRECT("'[products.xls]"&A1&"!A1:AE20"),MATCH(A3,INDIRECT("'[products.xls]"&A1&"!A1:A20"),0),MATCH(A2,INDIRECT("'[products.xls]"&A1&"!A1:AE1"),0))

We are assuming also that both files are in the same folder.

Does this help?
Kostis Vezerides

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Vlookup by rows and columns

Hi,

Thanks,but this not working. After "Enter" showing "MATCH" error


vezerid wrote:
Hi,

assuming that in workbook Reports month (January, February,...) is in
A1, month day (1-31) is in A2 and part number is in A3, the following
formula should work:

=INDEX(INDIRECT("'[products.xls]"&A1&"!A1:AE20"),MATCH(A3,INDIRECT("'[products.xls]"&A1&"!A1:A20"),0),MATCH(A2,INDIRECT("'[products.xls]"&A1&"!A1:AE1"),0))

We are assuming also that both files are in the same folder.

Does this help?
Kostis Vezerides


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
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Rows & Columns in Excel seadragon69 Excel Worksheet Functions 2 December 7th 05 05:54 PM
How to swap rows and columns? [email protected] Excel Discussion (Misc queries) 5 September 21st 05 08:07 AM
inserting columns within certain rows only crimsonkng Excel Discussion (Misc queries) 4 July 14th 05 05:13 PM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM


All times are GMT +1. The time now is 12:54 PM.

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"