How can I make RANK formula work when N/A introduced?

Ironman

Well-known Member
Joined
Jan 31, 2004
Messages
1,069
Office Version
  1. 365
Platform
  1. Windows
Hi

Here's the my existing formula
Excel Formula:
IF(COUNTA('Daily Tracking'!AQ67:AQ73),SUM('Daily Tracking'!AQ67:AQ73),"")
The RANK function (in the row below) works:
Excel Formula:
RANK(AN47,$B$47:$BZ$47))
The problem is that I must replace the "" in the first formula with #N/A else the chart the formula is linked to will show zero values where there is no data yet, which I don't want. However, when I do that i.e.
Excel Formula:
IF(COUNTA('Daily Tracking'!AQ67:AQ73),SUM('Daily Tracking'!AQ67:AQ73),#N/A)
then the RANK row below it won't work.

I've tried to adapt the solutions in this old thread, but they give incorrect results and I don't understand how they work to amend them.

Hope you can help?

Many thanks!
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi, thanks for the suggestion but that made no difference.
 
Upvote 0
I've got it to work by replacing the RANK formula with this formula
Excel Formula:
IF(ISNUMBER(AN47),COUNT(IF(ISNUMBER($B$47:$BZ$47),IF($B$47:$BZ$47>AN47,1)))+1,"")

Credit, thanks and appreciation to Barry Houdini.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,998
Messages
6,122,639
Members
449,093
Latest member
Ahmad123098

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