Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default tracking cell phone usage

my workbook has two worksheets. sheet 1 column A is a list of phone
numbers, column B is a category (work/personal), column C is a name
(mom, boss). sheet 2 is a list of my cell phone usage with column A
having the number called and column B is the length of call.

how can i calculate the total minutes for each category (work/personal)?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 84
Default tracking cell phone usage

The best answer would be to import the two sheets into Access and build a
query. Assuming you don't have Access or you just have to have this in
Excel, here's probably the easiest (and most flexible) answer:

1. Add a column to Sheet 2 titled "Category".
2. For in the first row, enter the following formula (update as needed):

=VLOOKUP(Sheet 2 phone number to look up, Sheet 1 table of numbers and names
and categories, 1 or 2 or 3 whichever corresponds to the phone number column
on sheet 1, FALSE [false tells it to make an exact match])

So it would look something like:

=VLOOKUP(B3,Sheet1!$B$3:$D$4,2,FALSE)

This will bring the category to your data sheet (sheet 2).

NOTE: Make sure you put in the dollar signs ($) on the row numbers to make
them absolute.

3. Copy the formula down the sheet for every record of data.

4. Select any cell of the data records and choose DATA | PIVOT TABLE AND...
and create a pivot table of your results. Put the categories as your
columns, the phone number as the rows and the duration in the data area. It
will by default sum the durations.

" wrote:

my workbook has two worksheets. sheet 1 column A is a list of phone
numbers, column B is a category (work/personal), column C is a name
(mom, boss). sheet 2 is a list of my cell phone usage with column A
having the number called and column B is the length of call.

how can i calculate the total minutes for each category (work/personal)?


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
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 02:50 PM.

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

About Us

"It's about Microsoft Excel"