Correction/Help with formula

MrsFrankieH

Active Member
Joined
Mar 25, 2011
Messages
323
Office Version
  1. 365
Platform
  1. Windows
Hello All,

My computer is a Dell and my operating system is Windows 10.

Can you please help me with a formula to sort numbers in descending order?

In the cells (AQ1:AU6), I used the Countif function to count the numbers. The top row (A1:AO1) are the numbers that were counted and the second row (A2:AO2) are how totals of each number.

The second row is where I need the numbers listed in descending order.



When I wrote the formula to do this on my spreadsheet, the Countif rows and descending rows were on the same row. I had to stack them to fit here.

This are the formulas I used…

=LARGE($A2:$AO2,COLUMNS(AQ2:AQ2))
=SMALL(IF($A2:$AO2=AQ2,$A1:$AO1),COUNTIF($AQ2:AQ2, AQ2)) Ctrl+Shift+Enter.

When I dragged the numbers across, it would only go as far as two cells and then the rest were errors.

Can you help please?

Thanks in advance!!
 
MrsFrankieH, are your two rows where you're placing these still running from A4 to AO4? And from A5 to AO5? Or did you move them, add or delete rows between, etc.?
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi Erik!! Sure!! Now, I'm embarrassed to say but I have never used Dropbox or Google drive. I'll figure it out. Thank you again! :)
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,598
Members
449,089
Latest member
Motoracer88

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
Back
Top