Hello,
I am working on a script for a liquid handler to prepare a sample plate.
I know for each sample (i.e. a well in a plate) how much volume (i.e. 100 µL) I need to add for each component (i.e. W, X, Y, Z).
Also, each component has a fixed position in the liquid handler, as follows:
Component Position
W 1,1
X 1,2
Y 1,3
Z 1,4
I have the following table, listing for each sample how much of each component I need to add:
Component
Sample W X Y Z
1 100 0 0 0
2 0 0 0 100
3 0 0 50 0
4 50 0 0 0
5 0 100 0 0
I need to have the following output, where the rows with "0" value are skipped, and the "sample" column is ordered based on the component.
Basically, the formula has to go through the "W" column, check if there is a value >0, and if true return the position corresponding to the "W" component (i.e. 1,1).
Position Sample Volume
1,1 1 100
1,1 4 50
1,2 5 100
1,3 3 50
1,4 2 100
Can anyone help me please, finding the right formula to use? Hope it makes sense.
Thank you in advance