PC Review


Reply
Thread Tools Rate Thread

How do I use a formula on wk sheet 2 to pull data from wk sheet 1

 
 
WFG3000
Guest
Posts: n/a
 
      13th Dec 2007
How would I use a formula on work sheet 2 to automatically pull data from
worksheet 1 if a word in column 5 is ..............?
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      13th Dec 2007
"WFG3000" wrote:
> How would I use a formula on work sheet 2 to automatically pull data from
> worksheet 1 if a word in column 5 is ..............?


Index/Match would be one good way to use

Eg: Assume you want to extract corresponding stuff from col C in Sheet1
where the word in col E (in Sheet1) matches with the word that is listed in
Sheet2's col A
(I read column 5 as == col E)

In Sheet2,
you could place in B2, and copy down:
=INDEX(Sheet1!C:C,MATCH(A2,Sheet1!E:E,0))

The part: INDEX(Sheet1!C:C .. is what you want extracted
based on matching in the part: MATCH(A2,Sheet1!E:E,0)
(ie matching A2 with col E in Sheet1)

And if you need an error trap to return neat looking blanks: "" for any
unmatched cases, you could use this instead in B2:
=IF(ISNA(MATCH(A2,Sheet1!E:E,0)),"",INDEX(Sheet1!C:C,MATCH(A2,Sheet1!E:E,0)))

Adapt to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
write formula that icludes data from sheet 1 to sheet 2 of my spr =?Utf-8?B?am9obg==?= Microsoft Excel Worksheet Functions 1 14th Sep 2007 03:22 AM
Formula to pull data from one sheet to another if X = Yellow =?Utf-8?B?TmVhbGw=?= Microsoft Excel Worksheet Functions 3 21st Jun 2007 03:33 PM
create a formula in one sheet that would read data from separate sheet automatically QD Microsoft Excel Misc 0 8th Dec 2006 04:17 AM
how to copy a cell with formula from sheet 1 (data is all vertical) into sheet 2 parag Microsoft Excel Worksheet Functions 3 15th Jun 2006 10:29 PM
pull data from sheet two, then fill in the data to sheet one (part =?Utf-8?B?Smlt?= Microsoft Excel Worksheet Functions 3 11th Dec 2004 04:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.