LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default frequency/sort/sumproduct

actually, i figured that out- now i just need to solve Part 2 of my question
below!!


"mass" wrote:

Thank you Ron, i've just tried that and it works!
how do i now choose the most called destination?- if i use Max, it takes
totals and it takes amounts rather than the destination related to the amount.
Thanks!

"Ron Coderre" wrote:

A Pivot Table could build your table automatically.

First, put column titles above your list.
I'll assume: DEST, TYPE, COST

From the Excel Main Menu: <Data<Pivot Table
Use: Excel..Click [Next]
Select your data..Click [Next]
Click the [Layout] button

ROW:
Drag the DEST field here......Dbl-Click...Subtotals: None
Drag the TYPE field here......Dbl-Click...Subtotals: None

COLUMN: (leave this area empty)

DATA: Drag the COST field here

If it doesn't list as Sum of COST...dbl-click it and set it to Sum
Click [OK]

Select where you want the Pivot Table.Click [Finish].

That will list the Sum of COST for each combination of DEST and TYPE.

To refresh the Pivot Table, just right click it and select Refresh Data

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"mass" wrote in message
...
Hi there, I have 2 problems to solve:
1-
I want to sort a table of calls which includes calling destinations, type
of
phone called and sum the cost of each call.
eg: here are the three columns
UK mobile 0.5c
US fixed 0.5c
UK mobile 0.4c
US mobile 0.3c
US fixed 0.1c
UK mobile 0.5c
France mobile 10c
Germany mobile 25c

I would like to return a separate table of rows for each destination and
call type with totals for the cost of the calls and sorted by most
costliest:
Germany mobile 25c
France mobile 10c
UK mobile 1.4c
US fixed 0.6
US mobile 0.3

2-
some of the destinations have a special rate, but you can use only for one
destination. I would like to take the costliest destination used that has
a
special rate and apply that rate as an alternative to the standard rate in
a
separate column.
So, if we say that most money spent on destination is Germany but it
doesn't
have a special rate, second most money spent on destination is France
mobile
and it does have a special rate, then in a separate alternative price
column,
use that special rate instead of standard rate. For all other
destinations,
default to the standard rate.
Thanks!!





 
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 - sort of Saintsman Excel Worksheet Functions 5 July 13th 07 06:26 PM
Is there a way to sort text by frequency within Excel? jellis1919 Excel Discussion (Misc queries) 1 August 12th 05 01:40 AM
Need To Complete Formular To Sort And Show Frequency travelersway Excel Discussion (Misc queries) 2 July 28th 05 07:53 PM
Need A Formular To Sort And Show Frequency travelersway Excel Discussion (Misc queries) 6 July 27th 05 04:07 PM
Sort Data by Frequency Susan Smith Excel Worksheet Functions 1 March 25th 05 04:55 AM


All times are GMT +1. The time now is 06:07 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"