Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ariel in LA
 
Posts: n/a
Default How do I make formula in Excel from other worksheet?

Hi,
I wanted to know if it is possible in Excel that if I typed a text in a cell
(A1), it will automatically look that text in another worksheet's column and
transfer the whole data in the row? for example: in worksheet A, the data in
column A1=ML120B, B1=BATTERY CHARGER, A2=XT6940, B2=CELLPHONE, A3=0058BLK,
B3=WIRELESS
Then if I go to worksheet B and type in A1=XT6940 the column B1 will
automatically have CELLPHONE in it. means that if I typed XT6940 it will find
the text in worksheet A column A and automatically search the corresponding
column B
Please anybody tell me.
Thanks,
Ariel in LA
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

On worksheet ResultTable
=VLOOKUP(A1,SourceTable!$A$1:$X$1000,2,0)
returns the value from column B on worksheet SourceTable, where in column A
first occurrence of same value as in ResultTable!A1 is found on same row.

The value you search (1st parameter in formula) for must always be in the
leftmost column of lookup range (2nd parameter, SourceTable!$A$1:$X$1000 in
example above)
The 3rd parameter determines the number of column in lookup range, from
where the result value is returned. NB! this is relative column number, i.e.
when the lookup range is p.e. Sheet1!$M$2:$T$100, and 3rd parameter is 3,
then the value from column O in Sheet1 is returned.
4th parameter set to 0 or False forces the formula to search for exact
match. When the exact match for search value in left column of lookup range
is not fount, an error is returned. So when you foresee that such occassions
can occur, you have to think about error trapping in your formula, like:
=IF(ISERROR(VLOOKUP(A1,SourceTable!$A$1:$X$1000,2, 0)),"",VLOOKUP(A1,SourceTa
ble!$A$1:$X$1000,2,0))


--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Ariel in LA" <Ariel in wrote in message
...
Hi,
I wanted to know if it is possible in Excel that if I typed a text in a

cell
(A1), it will automatically look that text in another worksheet's column

and
transfer the whole data in the row? for example: in worksheet A, the data

in
column A1=ML120B, B1=BATTERY CHARGER, A2=XT6940, B2=CELLPHONE, A3=0058BLK,
B3=WIRELESS
Then if I go to worksheet B and type in A1=XT6940 the column B1 will
automatically have CELLPHONE in it. means that if I typed XT6940 it will

find
the text in worksheet A column A and automatically search the

corresponding
column B
Please anybody tell me.
Thanks,
Ariel in LA



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
How do I view the actual numeric value of a formula in Excel 2002. Excel Function Help Excel Worksheet Functions 0 January 13th 05 10:07 PM
excel formula BONNY Excel Discussion (Misc queries) 1 January 13th 05 05:03 PM
How to make empty cells as zero in excel add-ins for SQL Server an Microlong Excel Worksheet Functions 0 January 12th 05 06:31 AM
Need excel formula to display 28.50hrs in HRS & MINS? rbc Excel Worksheet Functions 4 January 6th 05 12:21 PM
How do i make journal entry in excel? Natali Excel Worksheet Functions 2 January 5th 05 06:09 PM


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