Solved

Data sorting to the correct rows

Posted on 2013-12-01
10
218 Views
Last Modified: 2013-12-05
Hi All,

I have a situation where I am getting data downloaded into a spreadsheet and it is randomly downloaded but at least accurate data.

I want to be able to "sort" the data so that the data corresponds to the correct rows where I assign the tag for that specific row.  

I have attached the spreadsheet to illustrate this.  The downloaded data goes into the input tab.  The Output tab is where i want the data to go into.  So essentially when ever data appears in the input tab and/or adjusts I would like the same data to appear in the output tab but in the proper row.  The sheet should make it clear.

Any help would be great.

thanks!
SortData.xlsx
0
Comment
Question by:BostonBob
  • 3
  • 3
  • 3
10 Comments
 
LVL 4

Expert Comment

by:andrew_man
ID: 39689169
Please select all the data with header before sorting!
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39689182
Enter this formula in A10 and copy down and across

=IF(AND(A$9<>"",$K10<>""),INDEX(Input!$A$10:$I$1106,MATCH(Output!$K10,Input!$A$10:$A$1106,0),MATCH(Output!A$9,Input!$A$9:$I$9,0)),"")
0
 

Author Comment

by:BostonBob
ID: 39689252
Thanks ssaqibh....almost there.

In the input section of the sheet the data is downloaded but then sometimes the data becomes old and is deleted....automatically.  I guess this would be part of the "adjust" portion of my question.  Adjust could mean more, less or none....

When I try this on your sheet I get an N/A answer in the cell when the input data is deleted away.  Any quick fix on this?

Otherwise, super top marks for an elegant solution.  I would have NEVER thought of doing it THAT way.

Thanks!
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 4

Expert Comment

by:andrew_man
ID: 39689254
=IFERROR(IF(AND(A$9<>"",$K10<>""),INDEX(Input!$A$10:$I$1106,MATCH(Output!$K10,Input!$A$10:$A$1106,0),MATCH(Output!A$9,Input!$A$9:$I$9,0)),""),"")
0
 

Author Comment

by:BostonBob
ID: 39689297
SWEET.  I wish I could give you 500,000 points!  You saved me about 20 hours of groping in the darkness.   So very, very awesome!!!!
0
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39689311
Thanks but you gave them to somebody else, not to me.
0
 

Author Comment

by:BostonBob
ID: 39689367
Yeah, you're right.  i didn't even notice in my joy.  

How can I reverse this and give YOU the points?
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39689391
You have to click on the yellow triangle below the bottom right corner of the question where it says "Request Attention".
0
 
LVL 4

Expert Comment

by:andrew_man
ID: 39697556
I think I have not contribute nothing!

Andrew
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question