If you search the forums for peak detect, you will find a number of hits. Also, here is a recent
thread discussin peak detection without setting a pulse width.
Basically, you want to use the peak detection.vi located in Signal Processing > Signal Operation. That will find your peaks and valleys.
In order to put all of this into Excel/Spreadsheet (do you have / want to use the Excel Toolkit or just the Write to Spreadsheet.vi?), you will need to feed all of your points into a build array and a shift register and then when you are done aquiring data, feed that into the Write to spreadsheet.vi or to a vi for excel.
The formating will depend on how you feed the data into your array, ie wave 1, location 1 or wave 1 , wave 2, etc
Kenny
Kenny