Eugene Hirdes
New Member
- Joined
- Jan 14, 2014
- Messages
- 3
Hi,
I have an excel spreadsheet with over 70k lines in it for all the different countries(sheet1), it lists various costings for all the countries and the telecom providers which are within those countries. As shown below:
[TABLE="width: 517"]
<tbody>[TR]
[TD]Prefix[/TD]
[TD]Named Route Name[/TD]
[TD]Sell Rate[/TD]
[/TR]
[TR]
[TD="align: right"]7840[/TD]
[TD]Abkhazia Fixed[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
[TR]
[TD="align: right"]7940[/TD]
[TD]Abkhazia Mobile[/TD]
[TD="align: right"]£0.08[/TD]
[/TR]
[TR]
[TD="align: right"]79407[/TD]
[TD]Abkhazia Mobile - A-Mobile[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
[TR]
[TD="align: right"]79409[/TD]
[TD]Abkhazia Mobile - Aquafon[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
[TR]
[TD="align: right"]93[/TD]
[TD]Afghanistan Fixed[/TD]
[TD="align: right"]£0.16[/TD]
[/TR]
[TR]
[TD="align: right"]9375[/TD]
[TD]Afghanistan Mobile - At[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
[TR]
[TD="align: right"]9370[/TD]
[TD]Afghanistan Mobile - AWCC[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]9378[/TD]
[TD]Afghanistan Mobile - Etisalat[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]9377[/TD]
[TD]Afghanistan Mobile - MTN[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]9372[/TD]
[TD]Afghanistan Mobile - Roshan[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]9379[/TD]
[TD]Afghanistan Mobile - Roshan[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]355[/TD]
[TD]Albania Fixed[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554249[/TD]
[TD]Albania Fixed - AlbTel[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554250[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554251[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554252[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554[/TD]
[TD]Albania Fixed - Tirana[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]35568[/TD]
[TD]Albania Mobile - AMC[/TD]
[TD="align: right"]£0.22[/TD]
[/TR]
[TR]
[TD="align: right"]35567[/TD]
[TD]Albania Mobile - Eagle[/TD]
[TD="align: right"]£0.18[/TD]
[/TR]
[TR]
[TD="align: right"]35566[/TD]
[TD]Albania Mobile - Plus[/TD]
[TD="align: right"]£0.23[/TD]
[/TR]
[TR]
[TD="align: right"]35569[/TD]
[TD]Albania Mobile - Vodafone[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
</tbody>[/TABLE]
Column A is the prefix(dialing code) Column b is the Country and the various suppliers and Column c is the cost - Now what I require is a formula to work out the Max value for both fixed and mobile rates, per country and this is to be done on sheet2. Below is an example of what it should look like:
Prefix is done away with and will only have 2 columns Named Route and Selling rate
Col A Col B
Named Route Selling Rate
[TABLE="width: 517"]
<tbody>[TR]
[TD]Abkhazia Fixed[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
</tbody>[/TABLE]
Abkhazia Mobile £0.15
Afghanistan Fixed £0.16
Afghanistan Mobile £0.14
Albania Fixed £0.12
Albania Mobile £0.23
etc etc till Zimbabwe
So if there is a formula or anything that could do this Automatically it would be greatly appreciated.
NOTE: I receive updated spreadsheets form my suppliers fortnightly and they sometime add new lines for countries or remove - so was thinking that the easiest would be to use the full range from row1 to 70K+, search for Abkhazia fixed and determine the cost then the same for the rest.....at this point I am about to pull out what little hair I have left- so any assistance or advice is welcome.
I have an excel spreadsheet with over 70k lines in it for all the different countries(sheet1), it lists various costings for all the countries and the telecom providers which are within those countries. As shown below:
[TABLE="width: 517"]
<tbody>[TR]
[TD]Prefix[/TD]
[TD]Named Route Name[/TD]
[TD]Sell Rate[/TD]
[/TR]
[TR]
[TD="align: right"]7840[/TD]
[TD]Abkhazia Fixed[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
[TR]
[TD="align: right"]7940[/TD]
[TD]Abkhazia Mobile[/TD]
[TD="align: right"]£0.08[/TD]
[/TR]
[TR]
[TD="align: right"]79407[/TD]
[TD]Abkhazia Mobile - A-Mobile[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
[TR]
[TD="align: right"]79409[/TD]
[TD]Abkhazia Mobile - Aquafon[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
[TR]
[TD="align: right"]93[/TD]
[TD]Afghanistan Fixed[/TD]
[TD="align: right"]£0.16[/TD]
[/TR]
[TR]
[TD="align: right"]9375[/TD]
[TD]Afghanistan Mobile - At[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
[TR]
[TD="align: right"]9370[/TD]
[TD]Afghanistan Mobile - AWCC[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]9378[/TD]
[TD]Afghanistan Mobile - Etisalat[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]9377[/TD]
[TD]Afghanistan Mobile - MTN[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]9372[/TD]
[TD]Afghanistan Mobile - Roshan[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]9379[/TD]
[TD]Afghanistan Mobile - Roshan[/TD]
[TD="align: right"]£0.14[/TD]
[/TR]
[TR]
[TD="align: right"]355[/TD]
[TD]Albania Fixed[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554249[/TD]
[TD]Albania Fixed - AlbTel[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554250[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554251[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554252[/TD]
[TD]Albania Fixed - OLO[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]3554[/TD]
[TD]Albania Fixed - Tirana[/TD]
[TD="align: right"]£0.12[/TD]
[/TR]
[TR]
[TD="align: right"]35568[/TD]
[TD]Albania Mobile - AMC[/TD]
[TD="align: right"]£0.22[/TD]
[/TR]
[TR]
[TD="align: right"]35567[/TD]
[TD]Albania Mobile - Eagle[/TD]
[TD="align: right"]£0.18[/TD]
[/TR]
[TR]
[TD="align: right"]35566[/TD]
[TD]Albania Mobile - Plus[/TD]
[TD="align: right"]£0.23[/TD]
[/TR]
[TR]
[TD="align: right"]35569[/TD]
[TD]Albania Mobile - Vodafone[/TD]
[TD="align: right"]£0.15[/TD]
[/TR]
</tbody>[/TABLE]
Column A is the prefix(dialing code) Column b is the Country and the various suppliers and Column c is the cost - Now what I require is a formula to work out the Max value for both fixed and mobile rates, per country and this is to be done on sheet2. Below is an example of what it should look like:
Prefix is done away with and will only have 2 columns Named Route and Selling rate
Col A Col B
Named Route Selling Rate
[TABLE="width: 517"]
<tbody>[TR]
[TD]Abkhazia Fixed[/TD]
[TD="align: right"]£0.13[/TD]
[/TR]
</tbody>[/TABLE]
Abkhazia Mobile £0.15
Afghanistan Fixed £0.16
Afghanistan Mobile £0.14
Albania Fixed £0.12
Albania Mobile £0.23
etc etc till Zimbabwe
So if there is a formula or anything that could do this Automatically it would be greatly appreciated.
NOTE: I receive updated spreadsheets form my suppliers fortnightly and they sometime add new lines for countries or remove - so was thinking that the easiest would be to use the full range from row1 to 70K+, search for Abkhazia fixed and determine the cost then the same for the rest.....at this point I am about to pull out what little hair I have left- so any assistance or advice is welcome.