Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Pulling Data from other excel workbooks?

I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i do
not want to pull the data to workbook (B). Can this be done?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Pulling Data from other excel workbooks?

Do you mean

=IF([A.XLS]Sheet1!F1="YES",[A.XLS]Sheet1!A1,"")

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i do
not want to pull the data to workbook (B). Can this be done?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Pulling Data from other excel workbooks?

That worked but can this formula work for a range of cells in Column F? I
have not been able to get it to work for a range of cells. So say i have 7
employee's that answer yes and 8 employees that answer no i only want to pull
the employee's that answer yes. Can this be done?

"Jacob Skaria" wrote:

Do you mean

=IF([A.XLS]Sheet1!F1="YES",[A.XLS]Sheet1!A1,"")

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i do
not want to pull the data to workbook (B). Can this be done?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Pulling Data from other excel workbooks?

=IF('[My Workbook A.xlsx]Sheet1'!F1="Yes",'[My Workbook
A.xlsx]Sheet1'!G1,"")
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Frustrated" wrote in message
...
I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i
do
not want to pull the data to workbook (B). Can this be done?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Pulling Data from other excel workbooks?

Try the below array formula and copy down as required...which will return the
employee names in Sheet1 ColA which have and 'Yes' in Col F

=IF(COUNTIF([A.XLS]Sheet1!$F$1:$F$100,"Yes")<ROW(A1),"",
INDEX([A.XLS]Sheet1!A$1:A$100,SMALL(IF([A.XLS]Sheet1!$F$1:$F$100="Yes",
ROW([A.XLS]Sheet1!$F$1:$F$100)),ROW(A1))))

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

That worked but can this formula work for a range of cells in Column F? I
have not been able to get it to work for a range of cells. So say i have 7
employee's that answer yes and 8 employees that answer no i only want to pull
the employee's that answer yes. Can this be done?

"Jacob Skaria" wrote:

Do you mean

=IF([A.XLS]Sheet1!F1="YES",[A.XLS]Sheet1!A1,"")

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i do
not want to pull the data to workbook (B). Can this be done?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Pulling Data from other excel workbooks?

I was able to get that to work perfectly. But my question is why when i pull
up file B will it ask to update the file but it will not pull the data. It
changes everything to #VALUE. But if i have both opened it pulls the data.

"Jacob Skaria" wrote:

Try the below array formula and copy down as required...which will return the
employee names in Sheet1 ColA which have and 'Yes' in Col F

=IF(COUNTIF([A.XLS]Sheet1!$F$1:$F$100,"Yes")<ROW(A1),"",
INDEX([A.XLS]Sheet1!A$1:A$100,SMALL(IF([A.XLS]Sheet1!$F$1:$F$100="Yes",
ROW([A.XLS]Sheet1!$F$1:$F$100)),ROW(A1))))

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

That worked but can this formula work for a range of cells in Column F? I
have not been able to get it to work for a range of cells. So say i have 7
employee's that answer yes and 8 employees that answer no i only want to pull
the employee's that answer yes. Can this be done?

"Jacob Skaria" wrote:

Do you mean

=IF([A.XLS]Sheet1!F1="YES",[A.XLS]Sheet1!A1,"")

If this post helps click Yes
---------------
Jacob Skaria


"Frustrated" wrote:

I need a little help. I need to pull data from one excel workbook (A) and
display the data on another excel workbook (B) but i only want to pull the
date if in workbook (A) cell F is yes. If document (A) cell F is no then i do
not want to pull the data to workbook (B). Can this be done?

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
pulling data from multiple workbooks James Excel Discussion (Misc queries) 3 September 18th 08 05:29 PM
Pulling data from other Excel sheets RWilson130 Excel Discussion (Misc queries) 1 June 8th 08 01:24 AM
Tying to extract all data from a pivot pulling from external data Ted Urban Excel Discussion (Misc queries) 3 September 14th 07 10:50 AM
Pulling Data from One Excel File into Another Chris Hofer Excel Worksheet Functions 1 May 1st 07 04:22 PM
Pulling Data in Excel kitkatq Excel Worksheet Functions 3 September 26th 06 07:45 PM


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