Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
68magnolia71
 
Posts: n/a
Default Addition base on condition

Hello you all,

I have the following problem with a production sheet:
A B, C, etc =the names of thr products
next column = production time
next column = addition of production times. Each time the production changes
the cumulative time should restart. Have tried a couple of function like
SUMIF but never succeeded.
I 'll be gratefull for any suggestion

68magnolia71


A 05:15 5:15
A 06:15 11:30
B 07:15 7:15
C 08:15 8:15
C 09:15 17:30
C 04:15 21:45

  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi what do you mean exactly by
" Each time the production changes the cumulative time should restart."
with the first line of your example
A 05:15 5:15

do you want to see this ....
A 07:30 0

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"68magnolia71" wrote in message
...
Hello you all,

I have the following problem with a production sheet:
A B, C, etc =the names of thr products
next column = production time
next column = addition of production times. Each time the production
changes
the cumulative time should restart. Have tried a couple of function like
SUMIF but never succeeded.
I 'll be gratefull for any suggestion

68magnolia71


A 05:15 5:15
A 06:15 11:30
B 07:15 7:15
C 08:15 8:15
C 09:15 17:30
C 04:15 21:45



  #3   Report Post  
68magnolia71
 
Posts: n/a
Default

Hello Julie,

For example: I did two batches of product "A" thus I sum the time spent =
5:15 + 6:15 total = 11:30 hours. Then I did 1 bach of product B time spent =
7:15 hours. Then I did 3 batches of product C, time spent: 8:15 + 9:15 4:15,
total time = 21:45 hours.

So what I meant is that each time the name of the product changes I will
have to restart the spent time so that I can calculate the capacity of the
workshop: so many tons in so many hours.
I might have empty rows between the operations. For example the first batch
of product A could be on row 1, the next one on row 10, with intermediate
steps for batch 1 in the rows 2 through 9 but no calculations.

Hopefully this will help you to built a formula.
Thank you anyway.

68magnolia71.

"JulieD" wrote:

Hi what do you mean exactly by
" Each time the production changes the cumulative time should restart."
with the first line of your example
A 05:15 5:15

do you want to see this ....
A 07:30 0

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"68magnolia71" wrote in message
...
Hello you all,

I have the following problem with a production sheet:
A B, C, etc =the names of thr products
next column = production time
next column = addition of production times. Each time the production
changes
the cumulative time should restart. Have tried a couple of function like
SUMIF but never succeeded.
I 'll be gratefull for any suggestion

68magnolia71


A 05:15 5:15
A 06:15 11:30
B 07:15 7:15
C 08:15 8:15
C 09:15 17:30
C 04:15 21:45




  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If I understand you correctly:

C1: =SUMIF($A$1:$A1,A1,$B$1:$B1)

Format as a time, and copy down as far as necessary.



In article ,
68magnolia71 wrote:

Hello Julie,

For example: I did two batches of product "A" thus I sum the time spent =
5:15 + 6:15 total = 11:30 hours. Then I did 1 bach of product B time spent =
7:15 hours. Then I did 3 batches of product C, time spent: 8:15 + 9:15 4:15,
total time = 21:45 hours.

So what I meant is that each time the name of the product changes I will
have to restart the spent time so that I can calculate the capacity of the
workshop: so many tons in so many hours.
I might have empty rows between the operations. For example the first batch
of product A could be on row 1, the next one on row 10, with intermediate
steps for batch 1 in the rows 2 through 9 but no calculations.

Hopefully this will help you to built a formula.
Thank you anyway.

  #5   Report Post  
68magnolia71
 
Posts: n/a
Default

Hello JE,

The formula works fine. Thank you very much indeed.
Nevertheless it remains a dark world for me. Cannot understand why it is
like it is.Never mind.

68magnolia71.



"JE McGimpsey" wrote:

If I understand you correctly:

C1: =SUMIF($A$1:$A1,A1,$B$1:$B1)

Format as a time, and copy down as far as necessary.



In article ,
68magnolia71 wrote:

Hello Julie,

For example: I did two batches of product "A" thus I sum the time spent =
5:15 + 6:15 total = 11:30 hours. Then I did 1 bach of product B time spent =
7:15 hours. Then I did 3 batches of product C, time spent: 8:15 + 9:15 4:15,
total time = 21:45 hours.

So what I meant is that each time the name of the product changes I will
have to restart the spent time so that I can calculate the capacity of the
workshop: so many tons in so many hours.
I might have empty rows between the operations. For example the first batch
of product A could be on row 1, the next one on row 10, with intermediate
steps for batch 1 in the rows 2 through 9 but no calculations.

Hopefully this will help you to built a formula.
Thank you anyway.




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
Amend formula to include addition condition Pat Excel Worksheet Functions 1 March 16th 05 03:36 PM
count duplicate (or, inversely, unique) entries, but based on a condition markx Excel Worksheet Functions 3 March 8th 05 06:57 PM
Condition IF Jeff Excel Discussion (Misc queries) 3 February 15th 05 10:19 PM
Data Base Link Trying Hard Excel Discussion (Misc queries) 1 January 16th 05 11:35 AM
Add condition to formula Pat Excel Worksheet Functions 0 November 16th 04 12:23 PM


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