Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default How to solve a complex problem using Excel 2003

Hi,

I need the help of an expert he

I have a table of data that shows the routings of documents assigned to
different departments in a company, as each document proceeds through the
approval process from person to person. The table displays the information
about each document in the following order: department name (Dept), document
number (Doc), routing number (Routing), the date the document was routed to a
location (Date), the location it was routed to (Location), and the number of
days it spent at that particular location (# of Days). The table looks like
this:

Dept. Doc. Routing Date Location # of Days
D1 123 1 20/04/07 M 6
D1 123 2 30/04/07 W 0
D1 123 3 30/04/07 M 2
D1 123 4 02/05/07 A 2
D1 123 5 04/05/07 M 0
D1 123 6 04/05/07 W 0
D1 123 7 04/05/07 W 0
D1 123 8 04/05/07 C 1
D1 123 9 07/05/07 X 21
D1 123 10 06/06/07 W 0
D1 123 11 06/06/07 M 1
D1 123 12 07/06/07 W 0
D1 123 13 07/06/07 C 0
D1 123 14 07/06/07 M 13
D1 123 15 26/06/07 A 0
D1 123 16 26/06/07 M 1
D1 123 17 27/06/07 W 2
D1 123 18 29/06/07 C 0
D1 123 19 29/06/07 X 5
D1 123 20 09/07/07 C 0
D1 123 21 09/07/07 M 0
....etc.

In my company, Documents are only supposed to be routed once to location X,
which is the CEO's office, but sometimes they get sent back for revision.

What I would like to do is get Excel to calculate how many extra days
documents spend in the various locations AFTER they been sent back to
location X for revision, so that I can factor this out of the overall
turnaround times for company documents at each location in the approval
process.

Basically, I need Excel to identify the range of cells associated with each
particular document, then determine if the range contains two or more entries
of X in the Location field, then display the number of days each document has
spent in each location IN BETWEEN routings to location X. This may have to
iterate within the range for situations where a document was routed to X more
than two times.

So far, I have been unsuccessful at creating a formula that captures this
information. I have tried using a combination of IF statements and LOOKUP
functions, but can't get them to work.

Any suggestions?

Thanks,

Marcolino
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default How to solve a complex problem using Excel 2003

one or two helper columns might do what you need
if your current data is in A:F
in G3 enter
=if(e2="X","X","")&G2

sumif(G:G,"X",F:F) will give the number of days between the first ans second
visit to X
and
sumif(G:G,"XX",F:F) will give the number of days between the second and
third visit

"Marcolino" wrote:

Hi,

I need the help of an expert he

I have a table of data that shows the routings of documents assigned to
different departments in a company, as each document proceeds through the
approval process from person to person. The table displays the information
about each document in the following order: department name (Dept), document
number (Doc), routing number (Routing), the date the document was routed to a
location (Date), the location it was routed to (Location), and the number of
days it spent at that particular location (# of Days). The table looks like
this:

Dept. Doc. Routing Date Location # of Days
D1 123 1 20/04/07 M 6
D1 123 2 30/04/07 W 0
D1 123 3 30/04/07 M 2
D1 123 4 02/05/07 A 2
D1 123 5 04/05/07 M 0
D1 123 6 04/05/07 W 0
D1 123 7 04/05/07 W 0
D1 123 8 04/05/07 C 1
D1 123 9 07/05/07 X 21
D1 123 10 06/06/07 W 0
D1 123 11 06/06/07 M 1
D1 123 12 07/06/07 W 0
D1 123 13 07/06/07 C 0
D1 123 14 07/06/07 M 13
D1 123 15 26/06/07 A 0
D1 123 16 26/06/07 M 1
D1 123 17 27/06/07 W 2
D1 123 18 29/06/07 C 0
D1 123 19 29/06/07 X 5
D1 123 20 09/07/07 C 0
D1 123 21 09/07/07 M 0
...etc.

In my company, Documents are only supposed to be routed once to location X,
which is the CEO's office, but sometimes they get sent back for revision.

What I would like to do is get Excel to calculate how many extra days
documents spend in the various locations AFTER they been sent back to
location X for revision, so that I can factor this out of the overall
turnaround times for company documents at each location in the approval
process.

Basically, I need Excel to identify the range of cells associated with each
particular document, then determine if the range contains two or more entries
of X in the Location field, then display the number of days each document has
spent in each location IN BETWEEN routings to location X. This may have to
iterate within the range for situations where a document was routed to X more
than two times.

So far, I have been unsuccessful at creating a formula that captures this
information. I have tried using a combination of IF statements and LOOKUP
functions, but can't get them to work.

Any suggestions?

Thanks,

Marcolino

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default How to solve a complex problem using Excel 2003

Thanks for getting back to me so quickly.

The problem is, the full table includes data from over 100 documents, each
with different numbers of routings and different locations (there are some
commonalities, such as that every document must be routed to location X at
some point in time).

How do I get Excel to start from zero at the first routing of each new
document and then re-perform the calculations you've suggested?

Thanks again,

Marcolino


"bj" wrote:

one or two helper columns might do what you need
if your current data is in A:F
in G3 enter
=if(e2="X","X","")&G2

sumif(G:G,"X",F:F) will give the number of days between the first ans second
visit to X
and
sumif(G:G,"XX",F:F) will give the number of days between the second and
third visit

"Marcolino" wrote:

Hi,

I need the help of an expert he

I have a table of data that shows the routings of documents assigned to
different departments in a company, as each document proceeds through the
approval process from person to person. The table displays the information
about each document in the following order: department name (Dept), document
number (Doc), routing number (Routing), the date the document was routed to a
location (Date), the location it was routed to (Location), and the number of
days it spent at that particular location (# of Days). The table looks like
this:

Dept. Doc. Routing Date Location # of Days
D1 123 1 20/04/07 M 6
D1 123 2 30/04/07 W 0
D1 123 3 30/04/07 M 2
D1 123 4 02/05/07 A 2
D1 123 5 04/05/07 M 0
D1 123 6 04/05/07 W 0
D1 123 7 04/05/07 W 0
D1 123 8 04/05/07 C 1
D1 123 9 07/05/07 X 21
D1 123 10 06/06/07 W 0
D1 123 11 06/06/07 M 1
D1 123 12 07/06/07 W 0
D1 123 13 07/06/07 C 0
D1 123 14 07/06/07 M 13
D1 123 15 26/06/07 A 0
D1 123 16 26/06/07 M 1
D1 123 17 27/06/07 W 2
D1 123 18 29/06/07 C 0
D1 123 19 29/06/07 X 5
D1 123 20 09/07/07 C 0
D1 123 21 09/07/07 M 0
...etc.

In my company, Documents are only supposed to be routed once to location X,
which is the CEO's office, but sometimes they get sent back for revision.

What I would like to do is get Excel to calculate how many extra days
documents spend in the various locations AFTER they been sent back to
location X for revision, so that I can factor this out of the overall
turnaround times for company documents at each location in the approval
process.

Basically, I need Excel to identify the range of cells associated with each
particular document, then determine if the range contains two or more entries
of X in the Location field, then display the number of days each document has
spent in each location IN BETWEEN routings to location X. This may have to
iterate within the range for situations where a document was routed to X more
than two times.

So far, I have been unsuccessful at creating a formula that captures this
information. I have tried using a combination of IF statements and LOOKUP
functions, but can't get them to work.

Any suggestions?

Thanks,

Marcolino

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
Please solve this problem. ramulu Excel Worksheet Functions 1 February 15th 07 07:43 AM
Where to find complex matrix math add-ins for Excel 2003? frustrated Excel Worksheet Functions 1 April 28th 06 11:37 PM
Complex Excel Problem involving Step Costs jcc Excel Worksheet Functions 3 March 15th 06 10:15 PM
please solve the problem somaraju Excel Discussion (Misc queries) 1 February 23rd 06 11:17 AM
Can someone solve a problem for me? Jon Parker Excel Discussion (Misc queries) 1 April 25th 05 11:14 PM


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