I have a .csv file with the following data from eBay auctions:
auctionid – unique identifier of an auction
bidtime – the time (in days) that the bid was placed, from the start of the auction
bidder – eBay username of the bidder
I am trying to create new variables for how long any given bidder participated in a particular auction (time of last bid – time of first bid) and for how many bids the bidder placed in that auction. In other words, I need help creating a VBA script that will loop through each of the auctions based on “auctionid” and then calculate these two variables if there are bidders in the auction who placed multiple bids.
I am so confused on how I could go about doing this, but I know that there has to be a way for it to be done. Any help would be greatly appreciated!
Cant you open it in Excel and make a pivot table with auction id as Row label and add bidtime three times in the Values? Just drag bidtime three times into your pivot and define min for one, max for one and count for the last one.