Sorting Citynames from an Entire Column

JaccoP

New Member
Joined
Oct 20, 2010
Messages
2
Dear Excel expert,

I have a whole column filled with information like the following example:

G1:0
G2:0
G3:0
G4:Amsterdam
G5:0
G6:0
G7:0
G8:Groningen
... etc.

The whole column is filled with zero's and citynames in fixed sequential order. I want to filter the Zero's out in a different column but there has to take into account that information in colum H and J is linked to column G.

Example:
G4: Amsterdam & H4: info@amsterdam.nl & J4: www.amsterdam.nl

This linked information must hold.


What can I do in this case?


Greetz,

Jacco
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Ody

Board Regular
Joined
Oct 14, 2010
Messages
215
In a separate column add this function with what ever header you want:

=if(G1=0, "delete","keep")

Apply an auto filter to the row with your headers (highlight the row then select Data>Filter>Auto filter). Sort by "delete". Once that's done delete all the rows marked "delete" and you should be good to go.



Alternately, you can use a pivot table to sort all info but the first solution should be pretty easy to do.
 

JaccoP

New Member
Joined
Oct 20, 2010
Messages
2
In a separate column add this function with what ever header you want:

=if(G1=0, "delete","keep")

Apply an auto filter to the row with your headers (highlight the row then select Data>Filter>Auto filter). Sort by "delete". Once that's done delete all the rows marked "delete" and you should be good to go.



Alternately, you can use a pivot table to sort all info but the first solution should be pretty easy to do.
I couldn't fix it to what I had in mind. Is it possible to send you the document together with the "specs" by mail? I'm sure somebody else than me can fix it in a couple of seconds.

Greetings, Jacco Peene
 

Forum statistics

Threads
1,171,026
Messages
5,873,358
Members
432,975
Latest member
GG78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top