I have this data in an Excel spreadsheet. I want to sort the data in ascending order using Column 1 and want to keep the respective columns in order. The first 6 data is to be sorted first and then the next 11 data. I have similar kind of huge set of data with different sizes which i want to sort in Excel.
Can anyone guide me on the efficient method to do this?
2 1101 TATE'S CAIRN TUNNEL
3 12406 WATER SPORTS CENTRE
4 12407 HONG KONG INSTITUTE OF BIOTECHNOLOGY
5 12408 HONG KONG SCIENCE PARK
6 13183 HONG KONG SCIENCE PARK PHASE III
1 1146 DIAMOND HILL RAILWAY STATION BUS TERMINUS
6 6588 FANLING RAILWAY STATION
7 6582 PAK FUK TIN SUM PLAYGROUND
8 6579 DAWNING VIEWS
9 6575 WO HING TSUEN
10 6585 WAH MING BUS TERMINUS
11 6586 WAH MING BUS TERMINUS
1 6586 WAH MING BUS TERMINUS
2 6584 YAN SHING COURT
3 6589 FUNG YING SIN KOON
4 6591 KEI SAN SECONDARY SCHOOL
5 6590 KEI SAN SECONDARY SCHOOL
Highlight/Select the range to be sorted.
Click on Data tab.
Click on Sort and follow the Wizard's instructions. Which includes choosing what columns to sort on etc.
Related
Am looking to create a multi layer dropdown solution for selecting addresses, where the dropdowns options change based on prior selections.
E.g - Selection options are Region, Country, City, Address Line 1
The ask is that if someone selects Region EMEA, the country list should show only countries in EMEA. They then select a country and the city lists only those pertaining to that country.
The issue I think may be how the source data is structured, but hoping there may be a solution without have to alter the source information. If that's not possible, then any solution that works is great.
Preferably this will not use VBA. It can be used initially to structure the data, but not for the dropdowns to operate in use as the file will uploaded to Excel Online.
The structure of the address data is as follows as an example:
REGION
COUNTRY
CITY
ADDRESS LINE 1
APAC
Australia
Adelaide
12 Fairview Road
APAC
New Zealand
Auckland
1313 Cambridge Drive
EMEA
UK
London
24 Sycamore Street
EMEA
UK
London
25 Madison Avenue
EMEA
Spain
Madrid
567 Mulberry Street
APAC
New Zealand
Auckland
2345 George Street
APAC
India
Dehli
322 Locust Street
APAC
India
Dehli
12 Beech Street
APAC
India
Punjab
55 Route 7
LATAM
Brazil
Sao Paulo
7 Arch Street
I'm not really sure of the proper terms here so I didn't know how to search for an answer.
I have a csv file with information presented in the following way:
Carrier
State
Aetna Health and Life Insurance Company (AHLIC)
IOWA
Aetna Health and Life Insurance Company (AHLIC)
ARIZONA
Aetna Health and Life Insurance Company (AHLIC)
UTAH
Aetna
CALIFORNIA
Aetna
TEXAS
Aetna
IDAHO
Humana
UTAH
Humana
FLORIDA
Humana
GEOLRGIA
I need the information to be presented like so:
Carrier
State
Aetna Health and Life Insurance Company (AHLIC)
IOWA, ARIZONA, UTAH
Aetna
CALIFORNIA, TEXAS, IDAHO
Humana
UTAH, FLORIDA, GEORGIA
My table has about 2000 rows so I'd prefer to not do it completely manually. What would the best way to accomplish this be?
If you have access to the new array formulas
To get your list of unique values in the first column
=UNIQUE(A2:A10)
And to join the values associated with each unique value
=TEXTJOIN(", ",TRUE,FILTER(B:B,A:A=D2,""))
Every week, I randomly pair together two users for a peer review. Sometimes users have the week off. Each user is assigned an ID # to make the pairing chart simple.
ID # Name Week 1 Pair Week 2 Pair Week n Pair...
1 Bob 2 3
2 Doug 1 -
3 Brian 4 1
4 Joe 3 -
5 Mary 6 7
6 Jane 5 10
7 Ron 10 5
8 Mark - -
9 Steve - -
10 Anna 7 6
I want to take this pairing chart and send out a weekly reminder email with the pairing. Emails should look like this.
Example 1:
Week 1 Pairings:
Bob
Doug
Brian
Joe
Mary
Jane
Ron
Anna
Example 2:
Week 2 Pairings:
Bob
Brian
Mary
Ron
Jane
Anna
Just each pair in one column, one after the other, no separators. I do the grouping with formatting. There should be no duplicates (for example, in Week 1 - Bob (1) is paired with Doug (2), but Doug (2) is also paired with Bob (1). Only one of these pairs should appear in the weekly reminder email).
How can I use Excel to get this information based on the original pairing chart?
F2=IFERROR(INDIRECT("B"&MOD(SMALL(IF(C$2:C$11="-","X",IF(C$2:C$11<$A$2:$A$11,C$2:C$11,$A$2:$A$11)*1000+ROW($B$2:$B$11)),ROW(A1)),1000)),"")
It is an array formula, click ctrl+shift+enter to complete.
I will try and explain as best I can what i am trying to do but I am no Excel genius :-)
I have 1 Excel Sheet which we will call Template this is going to be pre-populated with data and then used offline, I am going to import a Data Set in to a tab called RawData from SQL Server, data set will be something similar to this
Description Rate Hours SellValue Item
APU 2.50 3 7.50 1
APU 2.50 4 10.00 2
APU 2.50 5 12.50 3
INS 2.50 3 7.50 1
INS 2.50 4 10.00 2
INS 2.50 5 12.50 3
There could be more or less records but no more than 7 distinct descriptions.
There is now another Tab called Report
At Position A1 will be the Title APU then underneath that I want the records with the Description APU to appear and this block will shrink and expand depending on the number of records. Then wherever the last record appears will be the next heading INS and the records associated with that description. There is one final tab called Rate and at position A1 will be a rate value, when this is changed, it will take the new rate value and re-calculate the SaleValue in RawData thus amending the figures in the Report. I am sure there are better ways to explain this but I hope someone has got the gist before I loose what hair I have left.
Thanks in advance
The easiest and powerful approach to such problems would be to use Pivot-Tables in excel. You can customize your data view better.
Im learning how to use Rapidminer for a project. Im stuck at some point. I have a dataset as follows: There are countries. For each country Im keeping track of some values (medals lets say) for years 1990-2012. As an example:
Country Year Gold Silver Bronze
USA 1990 10 5 7
.....
USA 2012 12 3 8
Spain 1990 8 12 9
...
Spain 1992 7 ? 8
....
Spain 2012 4 11 12
...GOES ON...
What I want to do is to replace the missing values. For example Spain has a missing value in 1992 for Silver Medals. I want to find the average for Silver data available for Spain and replace the missing value with that. How can I do this? If the present modules in Rapidminer not able to do this, is there some kind of macro etc? I can also use Excel to preprocess the data (but how)???.
Use the Replace Missing Values operator. Its default settings fill any missing data with the average of that column - exactly what you want.