How do I rank numbers and skip cells that contain just formula but not the calculated value

shizu

New Member
Joined
Mar 22, 2018
Messages
7
I want to rank numbers in a range that contains the following formula "=SUM(E2,F2,G2,H2)" using the RANK function "=Rank(I2,$I$2:$i$200)" but I want to skip cells that contain just the formula and no calculated value, until the calculated value is in the cell then that cell can be ranked. Can someone help?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I do not understand the part "I want to skip cells that contain just the formula and no calculated value, until the calculated value is in the cell then that cell can be ranked"

maybe an example?
 
Upvote 0
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]1[/TD]
[TD]1c (E)[/TD]
[TD]2c (F)[/TD]
[TD]3c (G)[/TD]
[TD]Ex (H)[/TD]
[TD]Total (I)[/TD]
[TD]Ranking[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]8[/TD]
[TD]40[/TD]
[TD]64[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]7[/TD]
[TD]7[/TD]
[TD]7[/TD]
[TD]30[/TD]
[TD]51[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]60[/TD]
[TD]72[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]

All cells under column heading Total contains the formula "=SUM(E2F2G2H2) to =SUM(Enth,Fnth,Gnth,Hnth)", All cells under column heading Ranking contains the formula "=Rank(I2,$I$2:$i$200) to =RANK(Inth,$I$2:$i$200)". Now I don't want cells under the column heading Ranking to be showing the next rank position for cells under the column heading Total with no calculated value
 
Upvote 0
Like this?

(Note the simpler SUM formula too)

Excel Workbook
EFGHIJ
288840642
377730513
444460721
50
60
70
Rank
 
Upvote 0
That you very much Peter_SSs, that worked. I have tried "=IF(I2="","",RANK(I2,I$2:I$200))" and could not figure out why it wouldn't solve the issue, now I know why thank you.
 
Upvote 0
I have tried "=IF(I2="","",RANK(I2,I$2:I$200))"
That might be a neater solution if you do that and change your SUM formula as shown.

Excel Workbook
EFGHIJ
288840642
377730513
444460721
5
6
7
Rank (2)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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