Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Using Rank function, how to show value as 'N/A' IF O

I have put an rank function in place which works as follows (column A in my
worksheet)

=RANK(AC3,AC$3:AC$134,0)

This works fine, except I want it to come up with a value of N?A if the
number in Column AC equals 0. So I tried the following (Column A on my
worksheet)

=IF(AC3="0","N/A",(RANK(AC3,AC$3:AC$134,0)))

This made absolutely no difference, all the 0 values still appear with a
number appearing instead of N/A.

Is there something glaringly obvious I am doing wrong?




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Using Rank function, how to show value as 'N/A' IF O

You need to remove the "" from around the 0. If you have "" it wants text not
a number.

=IF(AC3=0,"N/A",(RANK(AC3,AC$3:AC$134,0)))
--
Hope this helps


"Alex" wrote:

I have put an rank function in place which works as follows (column A in my
worksheet)

=RANK(AC3,AC$3:AC$134,0)

This works fine, except I want it to come up with a value of N?A if the
number in Column AC equals 0. So I tried the following (Column A on my
worksheet)

=IF(AC3="0","N/A",(RANK(AC3,AC$3:AC$134,0)))

This made absolutely no difference, all the 0 values still appear with a
number appearing instead of N/A.

Is there something glaringly obvious I am doing wrong?




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Using Rank function, how to show value as 'N/A' IF O

I ended up sorting it out, thanks anyway!

"JudithJubilee" wrote:

You need to remove the "" from around the 0. If you have "" it wants text not
a number.

=IF(AC3=0,"N/A",(RANK(AC3,AC$3:AC$134,0)))
--
Hope this helps


"Alex" wrote:

I have put an rank function in place which works as follows (column A in my
worksheet)

=RANK(AC3,AC$3:AC$134,0)

This works fine, except I want it to come up with a value of N?A if the
number in Column AC equals 0. So I tried the following (Column A on my
worksheet)

=IF(AC3="0","N/A",(RANK(AC3,AC$3:AC$134,0)))

This made absolutely no difference, all the 0 values still appear with a
number appearing instead of N/A.

Is there something glaringly obvious I am doing wrong?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rank Function azlan Setting up and Configuration of Excel 1 July 10th 07 09:14 AM
RANK Function mightyeskimo New Users to Excel 3 March 5th 07 05:50 PM
Rank Function Andrew C Excel Worksheet Functions 1 August 15th 06 07:09 AM
Need help with RANK function butters14 Excel Worksheet Functions 2 June 21st 05 01:44 PM
Rank Function carl Excel Worksheet Functions 2 November 15th 04 07:23 PM


All times are GMT +1. The time now is 02:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"