Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Summary statistics for text file

Status
Not open for further replies.

yoshe

Technical User
Jan 12, 2007
36
US
Hello,
I would like to output summary stats like min, max, avg for field values after I read in a text file (I'm working in excel vba). I thought this would be simple, but I'm having trouble figuring it out - there don't seem to be any predefined functions for these procedures. Do the min and max values have to be calculated line by line comparing two adjacent values, or is there some simpler way? Thanks for any insight.
 
I'm working in excel
So, why not using worksheet functions ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV, wouldn't I have to output my data to excel cells in order to do that? This is not an option since the files are too large.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top