Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ginger
 
Posts: n/a
Default Automatically filling in cells based on another cell's content

I am currently to add the ability for Excel to automatically fill in cells on
the spreadsheet I am creating based upon the information held within one cell.

My specific problem is that I have about 10 part numbers that I would like
to recall additional data for automatically wherever it appears. For example,
where a box with a particular part number appears I would like Excel to
recall data regarding that box, such as dimensions and weight, and place this
information on the cells to the right of that of the part number for the box.
The detailed information for the parts are already in Excel on another sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find a way
of doing it without using IF statements and even then I am limited to only
being able to have 7 levels to it.

Any help would be greatly appreciated!
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

The part list must have part number column as leftmost.

Into cell where you want some sort of detailed info to appear, enter the
formula like this:
=VLOOKUP(PartNumber, PartsTable, ColumnNumber, 0)

where
PartNumber is the reference to cell in same sheet (row), where you
entered part number;
PartsTable is the reference to table, where all parts detailed info is
stored (NB! Remember - the leftmost column contains part numbers. And use
absolute reference, or dynamic named range for this);
ColumnNumber is the relative number of column in table PartsTable, where
searched info is stored.

For cases the part number you are looking for is missing in PartsTable, or
is mistyped, you can wrap all this into error checking - like
=ID(ISERROR(VLOOKUP(...)),"",VLOOKUP())


Arvi Laanemets


"Ginger" wrote in message
...
I am currently to add the ability for Excel to automatically fill in cells

on
the spreadsheet I am creating based upon the information held within one

cell.

My specific problem is that I have about 10 part numbers that I would like
to recall additional data for automatically wherever it appears. For

example,
where a box with a particular part number appears I would like Excel to
recall data regarding that box, such as dimensions and weight, and place

this
information on the cells to the right of that of the part number for the

box.
The detailed information for the parts are already in Excel on another

sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find a

way
of doing it without using IF statements and even then I am limited to only
being able to have 7 levels to it.

Any help would be greatly appreciated!



  #3   Report Post  
David Billigmeier
 
Posts: n/a
Default

Ginger -
Take a looke at VLOOKUP() and HLOOKUP() in the help menu.

--
Regards,
Dave


"Ginger" wrote:

I am currently to add the ability for Excel to automatically fill in cells on
the spreadsheet I am creating based upon the information held within one cell.

My specific problem is that I have about 10 part numbers that I would like
to recall additional data for automatically wherever it appears. For example,
where a box with a particular part number appears I would like Excel to
recall data regarding that box, such as dimensions and weight, and place this
information on the cells to the right of that of the part number for the box.
The detailed information for the parts are already in Excel on another sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find a way
of doing it without using IF statements and even then I am limited to only
being able to have 7 levels to it.

Any help would be greatly appreciated!

  #4   Report Post  
RagDyeR
 
Posts: n/a
Default

Say that you enter the part number in A1 of Sheet1, and you wish to display
all the information about this part along Row1, from B1 to G1.

Sheet2 contains your data list, from H1 to N11
Say the list has the P/N in Column H, from H2 to H11,
And the rest of the list is in I2 to N11, with labels in Row1.

Enter this formula in B1 of Sheet1:

=IF(ISNA(MATCH($A$1,Sheet2!$H$2:$H$11,0)),"No
Match",VLOOKUP($A$1,Sheet2!$H$2:$N$11,COLUMN(B:B), 0))

Click the "fill handle" and drag this formula to G1 to copy.


--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Ginger" wrote in message
...
I am currently to add the ability for Excel to automatically fill in cells
on
the spreadsheet I am creating based upon the information held within one
cell.

My specific problem is that I have about 10 part numbers that I would like
to recall additional data for automatically wherever it appears. For
example,
where a box with a particular part number appears I would like Excel to
recall data regarding that box, such as dimensions and weight, and place
this
information on the cells to the right of that of the part number for the
box.
The detailed information for the parts are already in Excel on another sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find a way
of doing it without using IF statements and even then I am limited to only
being able to have 7 levels to it.

Any help would be greatly appreciated!


  #5   Report Post  
Paul Sheppard
 
Posts: n/a
Default


Ginger Wrote:
I am currently to add the ability for Excel to automatically fill in
cells on
the spreadsheet I am creating based upon the information held within
one cell.

My specific problem is that I have about 10 part numbers that I would
like
to recall additional data for automatically wherever it appears. For
example,
where a box with a particular part number appears I would like Excel
to
recall data regarding that box, such as dimensions and weight, and
place this
information on the cells to the right of that of the part number for
the box.
The detailed information for the parts are already in Excel on another
sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find
a way
of doing it without using IF statements and even then I am limited to
only
being able to have 7 levels to it.

Any help would be greatly appreciated!


Hi Ginger

Try VLOOKUP or HLOOKUP functions dependant on the layout of your data

eg =VLOOKUP(PartNumber,A1:B1,2)

PartNumber - can be a cell reference or the actual number

A1:B1 - Range where additional Info is held, ie the other workbook

2 - Column No counting from left, where the data you want returned is
within the previous range

Ypu need to change this to suit your data


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=401159



  #6   Report Post  
Ginger
 
Posts: n/a
Default

Thanks everyone for your helpful responses, I will have a play with VLOOKUP
and HLOOKUP and see how it goes.

Thanks again,

Ginger.

"Ginger" wrote:

I am currently to add the ability for Excel to automatically fill in cells on
the spreadsheet I am creating based upon the information held within one cell.

My specific problem is that I have about 10 part numbers that I would like
to recall additional data for automatically wherever it appears. For example,
where a box with a particular part number appears I would like Excel to
recall data regarding that box, such as dimensions and weight, and place this
information on the cells to the right of that of the part number for the box.
The detailed information for the parts are already in Excel on another sheet
within the same file.

I was hoping that it would be fairly straightforward but I cannot find a way
of doing it without using IF statements and even then I am limited to only
being able to have 7 levels to it.

Any help would be greatly appreciated!

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
Add cells from a range based on 2 conditions from 2 other ranges Kelly Excel Worksheet Functions 3 July 7th 05 07:40 PM
locking cells based on results at runtime aken Excel Worksheet Functions 3 June 22nd 05 02:01 PM
Subtract a group of cells from a total based on ending date Nicholas Scarpinato Excel Discussion (Misc queries) 0 May 17th 05 03:25 PM
automatically fill in a range of cells Maarten Excel Discussion (Misc queries) 1 April 29th 05 11:14 AM
Automatically save file based on cell value Craig Excel Discussion (Misc queries) 0 February 27th 05 10:01 PM


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