AVForums

Our philosophy in our forums, reviews, podcasts and feature videos is to promote audio and visual excellence by gathering and sharing the best information and resources available.

Help

To begin please visit our help section »

Not a Member Yet?

It only takes a minute to start enjoying the benefits of AVForums membership, and it's free!

Member Log in

Sorting Data

Post Reply
Old 30-06-2010, 6:43 PM   #1
New Member
Join Date: Jan 2009
Experience Points:
2,110, Level: 10
Points: 2,110, Level: 10 Points: 2,110, Level: 10 Points: 2,110, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Thanks: Gave 0, Got 0
Posts: 21
Sorting Data

Is it possible to sort data and put the lowest number to the top of the list. For example i have in column A, lots of numbers. Some of these numbers are the same, what i am trying to do is to sort column A and sort the column so the lowest unique number is at the top. Just to explain a bit more, for arguments sake say i have in cell A1 23-A2 23-A3 32, is it possible to disreguard the 23 and put 32 to the top of the sort. I am Using excel 2003. Hope this makes sense. Cheers in advance.
  Quote
Old 30-06-2010, 7:18 PM   #2
Senior Member
 
hyperfish's Avatar
Join Date: Nov 2009
Experience Points:
2,862, Level: 12
Points: 2,862, Level: 12 Points: 2,862, Level: 12 Points: 2,862, Level: 12
Activity: 2.4%
Activity: 2.4% Activity: 2.4% Activity: 2.4%
Thanks: Gave 210, Got 286
Posts: 1,569
This related to you other post?

You want to sort all the bids in descending order?
  Quote
Old 30-06-2010, 7:48 PM   #3
New Member
Join Date: Jan 2009
Experience Points:
2,110, Level: 10
Points: 2,110, Level: 10 Points: 2,110, Level: 10 Points: 2,110, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Thanks: Gave 0, Got 0
Posts: 21
sorting

In a way yes. But i would like to know the lowest bid all the way through the bidding. So if say 23 was bid twice i could have the screen say sorry your bid is not unique. Thanks again for trying to help.
  Quote
Old 30-06-2010, 9:46 PM   #4
Senior Member
 
hyperfish's Avatar
Join Date: Nov 2009
Experience Points:
2,862, Level: 12
Points: 2,862, Level: 12 Points: 2,862, Level: 12 Points: 2,862, Level: 12
Activity: 2.4%
Activity: 2.4% Activity: 2.4% Activity: 2.4%
Thanks: Gave 210, Got 286
Posts: 1,569
I see.

For the duplicate part use conditional formatting. Select the column where the bids will be input. Go format/conditional format/highlight cell rules/duplicates. Set the cell to a contrasting colour. This will activate if a duplicate non unique entry occurs.

To keep a check on the lowest bid. Enter each bid within the same column. Click on that column and hit the sort button (Z-A). Look here.

Or, you could use conditional formatting again. Select the column where the bids will be input. Go format/conditional format/top,bottom rules/bottom 10 items/adjust to one. Set the cell to a contrasting colour.

Sorry, it's difficult to get this over clearly. If I loose you, feel free to ask and I will knock you up a sheet.
  Quote
Old 30-06-2010, 10:36 PM   #5
Assured Advertiser
 
graham.myers's Avatar
Join Date: Mar 2003
Location: Leeds
Experience Points:
15,590, Level: 30
Points: 15,590, Level: 30 Points: 15,590, Level: 30 Points: 15,590, Level: 30
Activity: 25.0%
Activity: 25.0% Activity: 25.0% Activity: 25.0%
Thanks: Gave 162, Got 559
Posts: 4,469
to actualy remove the rows and leave just the unique rows - I assume you are doing some kind of reverse auction where the lowest unique bidder wins - then you're probably better using a subroutine

Code:
Sub DelDups()
    Dim Rng As Range
    Columns("A:A").Insert Shift:=xlToRight
    Set Rng = Range("A1:A" & Range("B65536").End(xlUp).Row)
    With Rng
        .FormulaR1C1 = "=COUNTIF(R1C2:R100C2,RC[1])"
        .Resize(, 2).AutoFilter Field:=1, Criteria1:=">1", Operator:=xlAnd
        .SpecialCells(xlCellTypeVisible).EntireRow.Delete
    End With
    Columns("A:A").Delete Shift:=xlToLeft
End Sub
I'd work on a copy of the original data though! so you have a compete list of bids
  Quote
Old 31-07-2010, 10:51 AM   #6
New Member
 
Tembo11's Avatar
Join Date: Jul 2010
Experience Points:
534, Level: 4
Points: 534, Level: 4 Points: 534, Level: 4 Points: 534, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Thanks: Gave 1, Got 1
Posts: 15
why not use conditional formatting and set the formula to use the MIN value of the range. You could use OFFSET to give you a range that allows for extra lines being added
  Quote
Post Reply

Powered by  
 Latest popular product prices
Sun Microsystems StarOffice 5.2 
1 price
 £3.30 Click to show/hide the offers

Dell Microsoft Access 2002 XP Be... 
1 price
 £10.12 Click to show/hide the offers

Dell Microsoft Access 2003 Begin... 
1 price
 £10.12 Click to show/hide the offers

Dell Microsoft Windows XP Beginn... 
1 price
 £10.12 Click to show/hide the offers

Dell Home Networking (90-day lic... 
1 price
 £10.12 Click to show/hide the offers

Dell Microsoft Word 2002 XP Begi... 
1 price
 £10.12 Click to show/hide the offers

Dell Microsoft Word 2000 Beginne... 
1 price
 £10.12 Click to show/hide the offers

Dell Time Management (60-day lic... 
1 price
 £10.12 Click to show/hide the offers

 Updated February 12th at 2:30pm. Prices include delivery.


Thread information and display options
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off