Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula needed - automatically calculate session time totals for each user


Hi, new to the forum, hope you peeps can help me!?

I have a CSV file of user data relating to session times on a server.
The columns are as follows: username, uniqueID, loginTime, logoutTime.

What I want to be able to do is calculate for each user:

a) their individual session length of time
b) their total sessions length of time

OK simple enough and I have done this manually thus far by sorting the
data by username and then creating a new column for 'sessionTime' and
another for 'totalSessionTime' with loginTime subtracted from
logoutTime (with the IF to allow for 24Hr time calculations)

I have been able to automate it slightly with

=SUMIF(A1:A50000,"username",G1:G10000)

where "username" represents an actual username that exists.

What I really would like to be able to do is automate the process so
that when the file is updated with the latest data, and therefore
probably new usernames that were not present before, all individual
usernames are calculated automatically without me having to manually
set usernames in each cell formula...

Does this make sense?


--
optimusprym8
------------------------------------------------------------------------
optimusprym8's Profile: http://www.excelforum.com/member.php...o&userid=35665
View this thread: http://www.excelforum.com/showthread...hreadid=554473

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically calculate totals within a Y-N-N/A column Bill638 Excel Worksheet Functions 6 June 2nd 09 09:41 PM
RUNNING TOTALS...FORMULA NEEDED Liz Excel Worksheet Functions 2 July 31st 07 07:43 PM
Formula needed to create grand totals Daniel LEYVA Excel Worksheet Functions 1 October 14th 06 09:18 AM
Formula needed - automatically calculate session time totals for each user optimusprym8 Excel Worksheet Functions 2 June 22nd 06 02:01 PM
Help needed Writing formula that totals data at end of column sid[_3_] Excel Programming 0 May 12th 06 02:39 PM


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"