Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Manipulating ranges in a different excel file

Hello,
My excel file collects information from another excel file, where I
have three columns: start_time, end_time, and another cell that is
suppose to contain a name of the person. Within one range (3-250) I
need to subtract end_time from start_time and see if it's less than
16
minutes, if so, if the third cell, does not contain the name, I need
to count all the occurances and record the number into the cell of
the
correct file.
I cannot quite figure out how to perform subtraction within the range
(in this case: column G - column F):
=SUMPRODUCT(--(('path[FileA.xls]Tab1'!G3:G250 [...???...]
TIME(0,15,59))*(LEN('path[FileA.xls]Tab1'!Q3:Q250)=0)))


Thanks a ton for your advice!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Manipulating ranges in a different excel file

See my reply in microsoft.public.excel

In the future, please don't multi-post: you can address one message to
multiple groups, and that will prevent confusion like this.

Bernie


"Lenchik" wrote in message
...
Hello,
My excel file collects information from another excel file, where I
have three columns: start_time, end_time, and another cell that is
suppose to contain a name of the person. Within one range (3-250) I
need to subtract end_time from start_time and see if it's less than
16
minutes, if so, if the third cell, does not contain the name, I need
to count all the occurances and record the number into the cell of
the
correct file.
I cannot quite figure out how to perform subtraction within the range
(in this case: column G - column F):
=SUMPRODUCT(--(('path[FileA.xls]Tab1'!G3:G250 [...???...]
TIME(0,15,59))*(LEN('path[FileA.xls]Tab1'!Q3:Q250)=0)))


Thanks a ton for your advice!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Manipulating ranges in a different excel file

Try it like this:

I'm assuming "path" is a placeholder.

=SUMPRODUCT(--('path[FileA.xls]Tab1'!G3:G250-'path[FileA.xls]Tab1'!F3:F250TIME(0,15,59)),--('path[FileA.xls]Tab1'!Q3:Q250=""))

--
Biff
Microsoft Excel MVP


"Lenchik" wrote in message
...
Hello,
My excel file collects information from another excel file, where I
have three columns: start_time, end_time, and another cell that is
suppose to contain a name of the person. Within one range (3-250) I
need to subtract end_time from start_time and see if it's less than
16
minutes, if so, if the third cell, does not contain the name, I need
to count all the occurances and record the number into the cell of
the
correct file.
I cannot quite figure out how to perform subtraction within the range
(in this case: column G - column F):
=SUMPRODUCT(--(('path[FileA.xls]Tab1'!G3:G250 [...???...]
TIME(0,15,59))*(LEN('path[FileA.xls]Tab1'!Q3:Q250)=0)))


Thanks a ton for your advice!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Manipulating ranges in a different excel file

Assuming your times are in Col A&B and Names in Col D
then in C1 enter
=B1-A1 and copy down...

then in the other file enter this in, say, A1
=SUMPRODUCT(--(('PATH[FileName.xls]TABNAME'!$C$1:$C100)<TIME(0,16,00)),
--(('PATH[FileName.xls]TABNAME'!$D$1:$D$6)<"D1"))
and copy down
To get my email id paste my address in an Excel cell and press Enter...
Adjust 100 to your range

"Lenchik" wrote:

Hello,
My excel file collects information from another excel file, where I
have three columns: start_time, end_time, and another cell that is
suppose to contain a name of the person. Within one range (3-250) I
need to subtract end_time from start_time and see if it's less than
16
minutes, if so, if the third cell, does not contain the name, I need
to count all the occurances and record the number into the cell of
the
correct file.
I cannot quite figure out how to perform subtraction within the range
(in this case: column G - column F):
=SUMPRODUCT(--(('path[FileA.xls]Tab1'!G3:G250 [...???...]
TIME(0,15,59))*(LEN('path[FileA.xls]Tab1'!Q3:Q250)=0)))


Thanks a ton for your advice!

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
Help with manipulating data in excel? jock Excel Discussion (Misc queries) 3 July 29th 08 03:24 PM
Help with manipulating text in Excel 2003 Big UT Fan Excel Discussion (Misc queries) 4 April 9th 08 07:33 PM
Linking to ranges in another file HBj Excel Worksheet Functions 0 September 6th 07 03:07 PM
import Excel 2003 file into Outlook 2003 - NO NAMED RANGES?? lewisma9 Excel Discussion (Misc queries) 0 February 27th 07 12:23 AM
Training on Manipulating Data in Excel Rufus Excel Discussion (Misc queries) 1 October 18th 05 05:07 AM


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