Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I use a formula on wk sheet 2 to pull data from wk sheet 1

How would I use a formula on work sheet 2 to automatically pull data from
worksheet 1 if a word in column 5 is ..............?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I use a formula on wk sheet 2 to pull data from wk sheet 1

"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
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
Formula to pull data from one sheet to another if X = Yellow Neall Excel Worksheet Functions 3 June 21st 07 03:33 PM
VLookup / pull data from 1 sheet to another nastech Excel Discussion (Misc queries) 1 June 20th 07 08:30 PM
How do I pull certain data from several worksheets in one sheet? Deler Excel Worksheet Functions 0 July 28th 05 06:45 PM
I need a daily sales sheet to pull from monthly figures sheet Draegen Excel Worksheet Functions 0 April 24th 05 05:58 AM
pull data from sheet two, then fill in the data to sheet one (part Jim Excel Worksheet Functions 3 December 11th 04 05:51 AM


All times are GMT +1. The time now is 09:17 AM.

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"