Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Enter a value in wks1-Find that value on wks2-Auto fill cells in w

I don't know if I can clearly explain what I want to accomplish because I am
not well versed in Excel terminology. But here is what I'm trying to do using
Excel 2000.

When I enter a data value into a cell (i.e a product code #) on my "active"
worksheet; I want Excel to look for that data value on any one of three other
worksheets (i.e products1, products2, products3) and have multiple cells on
the active worksheet automatically populated with product data from the
products worksheet that holds the data associated with the product code
entered.

My active worksheet is dynamic, in that it will receive a data entry value
of "product code" in any row but always within the same column.

The product worksheets from which I wish to retrieve data from are set up
with product code in column A and data related to the product are contained
on the same row as the product code but within multiple columns. (i.e price
in column B, description in column C, weight in column D, etc.)

If you understand what I have described God bless you and if you can show me
and easy way to do this in Excel God bless me.

I have a limited technical knowledge of both Access and Excel but I'm
inclined to believe that what I'm describing is something that should be done
using Access. I know more about Excel than I do about Access so I'm hoping
there is an easy way to do it in Excel.

Thank you for your indulgence, understanding and any help you can provide.

Thanks,
Dan
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Enter a value in wks1-Find that value on wks2-Auto fill cells inw

Hi Dan,

try something like this:

=IF(ISNA(MATCH($A1,products1!$A:$A,0)),IF(ISNA(MAT CH($A1,products2!$A:
$A,0)),IF(ISNA(MATCH($A1,products3!$A:$A,0)),"not
found",VLOOKUP($A1,products3!$A:$G,COLUMN(B1),
0)),VLOOKUP($A1,products2!$A:$G,COLUMN(B1),0)),VLO OKUP($A1,products1!
$A:$G,COLUMN(B1),0))

I have assumed that the product code you are looking for is entered in
A1 of your active sheet, so that this formula would be put into B1. If
it is not in A1, then you will need to change all references to $A1 (6
of them) to suit your set up. I've also assumed that you have data in
columns A to G of your products sheet - if more then you will need to
adjust $A:$G (3 times).

Once you have it set up correctly to suit your data, copy it across
from B1 into C1:G1, and then you can copy B1:G1 down for as many rows
as you are using.

Note that the formula is all one long formula - be wary of spurious
line breaks that the newsgroup reader might insert.

Hope this helps.

Pete


On Jul 25, 8:17*am, danno-c wrote:
I don't know if I can clearly explain what I want to accomplish because I am
not well versed in Excel terminology. But here is what I'm trying to do using
Excel 2000.

When I enter a data value into a cell (i.e a product code #) on my "active"
worksheet; I want Excel to look for that data value on any one of three other
worksheets (i.e *products1, products2, products3) and have multiple cells on
the active worksheet automatically populated with product data from the
products worksheet that holds the data associated with the product code
entered. *

My active worksheet is dynamic, in that it will receive a data entry value
of "product code" in any row but always within the same column. *

The product worksheets from which I wish to retrieve data from are set up
with product code in column A and data related to the product are contained
on the same row as the product code but within multiple columns. (i.e price
in column B, description in column C, weight in column D, etc.) *

If you understand what I have described God bless you and if you can show me
and easy way to do this in Excel God bless me.

I have a limited technical knowledge of both Access and Excel but I'm
inclined to believe that what I'm describing is something that should be done
using Access. *I know more about Excel than I do about Access so I'm hoping
there is an easy way to do it in Excel.

Thank you for your indulgence, understanding and any help you can provide..

Thanks,
Dan


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Enter a value in wks1-Find that value on wks2-Auto fill cells


Pete,
Thanks for your response, it was very timely and very helpful. You have
given me enough information to be even more dangerous than I have been.
thanks, Dan


"Pete_UK" wrote:

Hi Dan,

try something like this:

=IF(ISNA(MATCH($A1,products1!$A:$A,0)),IF(ISNA(MAT CH($A1,products2!$A:
$A,0)),IF(ISNA(MATCH($A1,products3!$A:$A,0)),"not
found",VLOOKUP($A1,products3!$A:$G,COLUMN(B1),
0)),VLOOKUP($A1,products2!$A:$G,COLUMN(B1),0)),VLO OKUP($A1,products1!
$A:$G,COLUMN(B1),0))

I have assumed that the product code you are looking for is entered in
A1 of your active sheet, so that this formula would be put into B1. If
it is not in A1, then you will need to change all references to $A1 (6
of them) to suit your set up. I've also assumed that you have data in
columns A to G of your products sheet - if more then you will need to
adjust $A:$G (3 times).

Once you have it set up correctly to suit your data, copy it across
from B1 into C1:G1, and then you can copy B1:G1 down for as many rows
as you are using.

Note that the formula is all one long formula - be wary of spurious
line breaks that the newsgroup reader might insert.

Hope this helps.

Pete


On Jul 25, 8:17 am, danno-c wrote:
I don't know if I can clearly explain what I want to accomplish because I am
not well versed in Excel terminology. But here is what I'm trying to do using
Excel 2000.

When I enter a data value into a cell (i.e a product code #) on my "active"
worksheet; I want Excel to look for that data value on any one of three other
worksheets (i.e products1, products2, products3) and have multiple cells on
the active worksheet automatically populated with product data from the
products worksheet that holds the data associated with the product code
entered.

My active worksheet is dynamic, in that it will receive a data entry value
of "product code" in any row but always within the same column.

The product worksheets from which I wish to retrieve data from are set up
with product code in column A and data related to the product are contained
on the same row as the product code but within multiple columns. (i.e price
in column B, description in column C, weight in column D, etc.)

If you understand what I have described God bless you and if you can show me
and easy way to do this in Excel God bless me.

I have a limited technical knowledge of both Access and Excel but I'm
inclined to believe that what I'm describing is something that should be done
using Access. I know more about Excel than I do about Access so I'm hoping
there is an easy way to do it in Excel.

Thank you for your indulgence, understanding and any help you can provide..

Thanks,
Dan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Enter a value in wks1-Find that value on wks2-Auto fill cells

You're welcome, Dan - thanks for feeding back.

Pete

On Jul 26, 11:39*pm, danno-c wrote:
Pete,
Thanks for your response, it was very timely and very helpful. *You have
given me enough information to be even more dangerous than I have been.
thanks, Dan

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
Format cells to Auto Enter Dave New Users to Excel 1 June 26th 08 01:06 AM
where can i find the auto fill options? Ed Excel Discussion (Misc queries) 1 September 27th 06 02:43 AM
Where do I find 'auto fill options' in the Excel Menus? Willem Excel Discussion (Misc queries) 1 June 12th 06 10:50 AM
i want cells to auto fill with colour when i enter a number zoe Excel Discussion (Misc queries) 1 April 26th 06 11:01 AM
Enter last name, auto fill full name & address--HOW? ana maria Excel Discussion (Misc queries) 3 February 25th 05 08:28 PM


All times are GMT +1. The time now is 11:14 AM.

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"