Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to rank the "% of inc" column but I get an error message (#N/A) on the
ones that have 0%. This is the formula I'm using: =IF(H6=0,"",RANK(H6,$H$5:$H$15)). I've also tried =IF(G21=0,"0%",(C21-G21)/G21). What would you suggest? % of inc Rank -100% 6 0% #N/A 300% 1 -33% 3 -100% 6 0% #N/A -100% 6 0% #N/A -50% 5 50% 2 -33% 3 |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Bsmile wrote: I need to rank the "% of inc" column but I get an error message (#N/A) on the ones that have 0%. This is the formula I'm using: =IF(H6=0,"",RANK(H6,$H$5:$H$15)). I've also tried =IF(G21=0,"0%",(C21-G21)/G21). What would you suggest? try nesting another If statement to place a 0 instead of a #NA. =IF(ISERROR((C21-G21)/G21),0,(C21-G21)/G21) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Disregard the last one, this is what I meant to send: try this: =IF(G21=0,"0"%,IF(ISERROR((C21-G21)/G21),0,(C21-G21)/G21)) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you. That worked!
"Mark" wrote: Disregard the last one, this is what I meant to send: try this: =IF(G21=0,"0"%,IF(ISERROR((C21-G21)/G21),0,(C21-G21)/G21)) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Display ranked data in order from a range | Excel Worksheet Functions | |||
summing previously ranked values | Excel Worksheet Functions | |||
summing previously ranked values | Excel Worksheet Functions | |||
Ranked list | Excel Worksheet Functions | |||
Automatic updates of a ranked table | Excel Discussion (Misc queries) |