Hi Gurus,
Can you please help me with the following problem.
I am new to VBA and do not know how to use variables. I have a sheet (Rawdata) with fingerprints (generated by an assay) for each sample. Each sample has a parent ID linked to it and the fingerprint should match the parent fingerprint which is stored in another sheet (Master Database). I would like to calculate the correlation % of each sample with its parent. Right now I am doing this by using formulas. Can you please help me with a VBA code for this analysis?
The code needs to
1) Assign variables x and y
2) Find Sample Row # (x)
3) Find parent row# (y) for each sample on the Master Database
3) Find correlation for each sample by comparing the sample fingerprint (RawData Columns Dx:Hx) and Parent fingerprint (Master Database Columns Cy:Gy)
Eg. Formula = Correl(Dx:Hx, 'Master Database'!Cy:Gy)
Please find link to sample file below. I hope this is clear, if not please me let know. Thanks in advance for any help.
https://www.dropbox.com/s/sit0x7vg4dseukp/Correlation.xlsx
Can you please help me with the following problem.
I am new to VBA and do not know how to use variables. I have a sheet (Rawdata) with fingerprints (generated by an assay) for each sample. Each sample has a parent ID linked to it and the fingerprint should match the parent fingerprint which is stored in another sheet (Master Database). I would like to calculate the correlation % of each sample with its parent. Right now I am doing this by using formulas. Can you please help me with a VBA code for this analysis?
The code needs to
1) Assign variables x and y
2) Find Sample Row # (x)
3) Find parent row# (y) for each sample on the Master Database
3) Find correlation for each sample by comparing the sample fingerprint (RawData Columns Dx:Hx) and Parent fingerprint (Master Database Columns Cy:Gy)
Eg. Formula = Correl(Dx:Hx, 'Master Database'!Cy:Gy)
Please find link to sample file below. I hope this is clear, if not please me let know. Thanks in advance for any help.
https://www.dropbox.com/s/sit0x7vg4dseukp/Correlation.xlsx