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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,216,885
Messages
6,133,268
Members
449,793
Latest member
Patricija

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