aperkinsptx
New Member
- Joined
- Dec 2, 2014
- Messages
- 2
Hi, I'm new to posting on forums like this so bare with me as I try to explain what I'm attempting to accomplish.
My company has a lab and we run different tests for different samples. I'm trying to find the total time the sample will take to run based on the tests selected. We currently have lists of tests to run listed in a single cell as comma separated values. I have a separate sheet where I have listed each of those tests and the average time for each test to be run. I'd like to return the sum.
Below is how I would do it manually. The formula would be in the "Total Sample Time" column.
[TABLE="class: grid, width: 288"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Tests to Run
[/TD]
[TD]Total Sample Time
[/TD]
[/TR]
[TR]
[TD]Test 1, Test 2, Test 3[/TD]
[TD] = 5+10+12=27
[/TD]
[/TR]
[TR]
[TD]Test 3, Test 4
[/TD]
[TD] =12+1=13
[/TD]
[/TR]
[TR]
[TD]Test 1, Test 3, Test 4 , Test 5[/TD]
[TD] =5+12+1+15=33[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 288"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Test Type
[/TD]
[TD]Time (min)
[/TD]
[/TR]
[TR]
[TD]Test 1[/TD]
[TD="align: right"]5
[/TD]
[/TR]
[TR]
[TD]Test 2[/TD]
[TD="align: right"]10
[/TD]
[/TR]
[TR]
[TD]Test 3[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD]Test 4[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Test 5[/TD]
[TD="align: right"]15[/TD]
[/TR]
</tbody>[/TABLE]
I'm just not sure what type of formula needs to be in the cell to be able to sum up the values from a table based on the comma separated values.
Thanks in advance for your help!
My company has a lab and we run different tests for different samples. I'm trying to find the total time the sample will take to run based on the tests selected. We currently have lists of tests to run listed in a single cell as comma separated values. I have a separate sheet where I have listed each of those tests and the average time for each test to be run. I'd like to return the sum.
Below is how I would do it manually. The formula would be in the "Total Sample Time" column.
[TABLE="class: grid, width: 288"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Tests to Run
[/TD]
[TD]Total Sample Time
[/TD]
[/TR]
[TR]
[TD]Test 1, Test 2, Test 3[/TD]
[TD] = 5+10+12=27
[/TD]
[/TR]
[TR]
[TD]Test 3, Test 4
[/TD]
[TD] =12+1=13
[/TD]
[/TR]
[TR]
[TD]Test 1, Test 3, Test 4 , Test 5[/TD]
[TD] =5+12+1+15=33[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 288"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Test Type
[/TD]
[TD]Time (min)
[/TD]
[/TR]
[TR]
[TD]Test 1[/TD]
[TD="align: right"]5
[/TD]
[/TR]
[TR]
[TD]Test 2[/TD]
[TD="align: right"]10
[/TD]
[/TR]
[TR]
[TD]Test 3[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD]Test 4[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Test 5[/TD]
[TD="align: right"]15[/TD]
[/TR]
</tbody>[/TABLE]
I'm just not sure what type of formula needs to be in the cell to be able to sum up the values from a table based on the comma separated values.
Thanks in advance for your help!