Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Else 0?

=IF(ISERROR(VLOOKUP(RANK(C5,C$1:C$8),G$1:H$5,2,FAL SE)),0,VLOOKUP(RANK(C5,C$1:C$8),G$1:H$5,2,FALSE))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Saxman" wrote in message
...
I have the following figures in columns C,D,G and H with the following
function in
C1.

=IF(ISERROR(VLOOKUP(RANK(C1,C$1:C$8),G$1:H$5,2,FAL SE)),"",VLOOKUP(RANK(C1,C$1:C$8),G$
1:H$5,2,FALSE))

C D G H
82 25 1 25
72 20 2 20
71 15 3 15
68 10 4 10
63 5 5 5
53
52
45

Column D awards points according to rank in column C (top 5).
How can I alter the function so that anything that does not score in the
top 5 gets
awarded a zero?

TIA
--



 
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



All times are GMT +1. The time now is 04:38 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"