Hi all,
I use this site often but I'm usually able to find a solution to my problem through your threads, but not this time so it's my first post.
Essentially I have huge amounts of lab data and have been automatically generating a testing schedule from it using a small macro but most calculations come from the formula bar. My problem is for a certain test a criteria must be met for it to be performed. i.e
Column A Column B Column C Column D
[TABLE="width: 500"]
<tbody>[TR]
[TD]P1[/TD]
[TD]0[/TD]
[TD]0.78[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1B1[/TD]
[TD]0[/TD]
[TD]0.2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1Q1[/TD]
[TD]0.2[/TD]
[TD]0.4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1U1[/TD]
[TD]0.4[/TD]
[TD]0.6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1B2[/TD]
[TD]0.6[/TD]
[TD]0.78[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2[/TD]
[TD]1[/TD]
[TD]1.64[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2B1[/TD]
[TD]1[/TD]
[TD]1.2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2B2[/TD]
[TD]1.2[/TD]
[TD]1.4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2Q1[/TD]
[TD]1.4[/TD]
[TD]1.64[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P3[/TD]
[TD]2[/TD]
[TD]2.64[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For every 1.5 increase (column B and C is just a start and end) I want excel in column D to write an X next to it so in the example above the "X" would appear at row "P2Q1". Normally this would be quite easy but the P1, P2, P3 show the start and end of the whole sample so whatever solution is found needs to only include subsamples P1B1,P1Q1 etc and ignore full samples P1, P2, P3.
My explanation is awful I know but hopefully you can see what I'm tying to do!! Any help would be much appreciated!
I use this site often but I'm usually able to find a solution to my problem through your threads, but not this time so it's my first post.
Essentially I have huge amounts of lab data and have been automatically generating a testing schedule from it using a small macro but most calculations come from the formula bar. My problem is for a certain test a criteria must be met for it to be performed. i.e
Column A Column B Column C Column D
[TABLE="width: 500"]
<tbody>[TR]
[TD]P1[/TD]
[TD]0[/TD]
[TD]0.78[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1B1[/TD]
[TD]0[/TD]
[TD]0.2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1Q1[/TD]
[TD]0.2[/TD]
[TD]0.4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1U1[/TD]
[TD]0.4[/TD]
[TD]0.6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P1B2[/TD]
[TD]0.6[/TD]
[TD]0.78[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2[/TD]
[TD]1[/TD]
[TD]1.64[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2B1[/TD]
[TD]1[/TD]
[TD]1.2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2B2[/TD]
[TD]1.2[/TD]
[TD]1.4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P2Q1[/TD]
[TD]1.4[/TD]
[TD]1.64[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]P3[/TD]
[TD]2[/TD]
[TD]2.64[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
For every 1.5 increase (column B and C is just a start and end) I want excel in column D to write an X next to it so in the example above the "X" would appear at row "P2Q1". Normally this would be quite easy but the P1, P2, P3 show the start and end of the whole sample so whatever solution is found needs to only include subsamples P1B1,P1Q1 etc and ignore full samples P1, P2, P3.
My explanation is awful I know but hopefully you can see what I'm tying to do!! Any help would be much appreciated!