Wednesday, July 6, 2016

Troubleshoot:Automatic sorting formula Error

Automatic sorting formula

I have two columns.  Column A has various numeric values.  Column B, has the position of the numbers in Column A.  I want to use a formula to sort the numeric values in column A, (largest to smallest) and have the corresponding position of those numbers,
in column B.  Example:
 


START
END RESULT

VALUE
POSITION
VALUE
POSITION

4
1
6
4

1
2
5
12

3
3
4
1

6
4
4
6

3
5
4
8

4
6
4
10

3
7
4
15

4
8
3
3

3
9
3
5

4
10
3
7

3
11
3
9

5
12
3
11

3
13
3
13

3
14
3
14

4
15
3
16

3
16
1
2

 
I know I could use the simple sort function in Excel 2007, but I have over a hundred of these sets of columns.  Takes way to long to sort each individually.
Any help would be greatly appreciated.

Keys to the Problem Automatic sorting formula

Download SmartPCFixer for Free Now

Try this (first make a backup copy of the workbook):
 
Sub SortPairs()
  Dim c As Long
  Dim m As Long
  Dim n As Long
  Application.ScreenUpdating = False
  m = Cells.Find(What:="*", SearchOrder:=xlByRows, _
    SearchDirection:=xlPrevious).Row
  n = Cells.Find(What:="*", SearchOrder:=xlByColumns, _
    SearchDirection:=xlPrevious).Column
  For c = 1 To n Step 2
    Range(Cells(1, c), Cells(m, c + 1)).Sort Key1:=Cells(1, c), _
      Order1:=xlDescending, Header:=xlYes
  Next c
  Application.ScreenUpdating = True
End Sub

Tweak IE Options
  • Open Internet Explorer.
  • Go to "Tools > Internet Options > Advanced Tab".
  • Uncheck "Enable third-party browser extensions".
  • Click "Apply".
  • Reboot your computer.

Recommended Method to Fix the Problem: Automatic sorting formula:

How to Fix Automatic sorting formula with SmartPCFixer?

1. Download SmartPCFixer. Install it on your system.

2. After the scan is done, you can see the errors and problems need to be fixed. Click Fix All.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: Fast Solution to Error: Autoplay stopped working suddenly in my computer for USB devices.,Troubleshooter of Error: art and craft software wont run on windows 7, 64 bit,Automatically create new Tabs from List in sheet 1,How to Fix Problem - auto arrange missing from menu?,Fast Solution to Error: Attaching a PDF to an Email from My Documents,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?

No comments:

Post a Comment