Mass Spectrum for successful drawing in excel

[Closed]
Report
Posts
2
Registration date
Friday March 2, 2012
Status
Member
Last seen
March 3, 2012
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Dear friends. Please, does someone can help me concerning this issue resolving?
I need a macro for solve a mass spectroscopy problem (mass spectrum). I have columns A and B (m/z numbers and abudances). How to fill column C with numbers from (by example) 25 to maximum obtained from A (=7) which is realy 450 and copy appropriate values from B in D? In separate sheet I have rows C and D, how to delete rows with zeroes (0) in D?


A B C D
1 a1 1 a1
2 a2 2 a2
4 a3 3 0
5 a4 4 a3
7 a5 5 a4
6 0
7 a5

Grateful Djura

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Could you re-explain your issue. I was unable to get your example. Where is this "25" that you referred in question ?