Here's what I'm trying to do. I have a log file of execution times on a program. Normally, if I want a quick find on how many entries that the function of a program has been executed, average/max execution is to use a combination of grep, gawk, wc, sort and uniq.
i.e. Max execution time:
grep "Execution time " console.log | gawk "{print "$8", "$11"}" | grep "[FUNC NAME]" | gawk "{print "$1"}" | gawk "max==0 || $1 > max{max=$1}END{print max}"
What I want to do know is to extract all the function max/average execution time and occurrence found in the logfile and put the data in an excel file. I'd like the format to be like these: https://docs.google.com/spreadsheets/d/1xS5PrXFdBQD75_jIIcA6IHKX0xLOfi2Enh2nVOsYmhc/edit?usp=sharing
(I'm doing it manually in command prompt to get those values atm)
How do I do these in Excel's VBA?