B
~Bigred
I have a sheet that 22 columns and contains 30 rows (records).
One of the columns is Yield Rank and has a formula =RANK(U4,$U$4:$U$33),
this ultimately ranks the Yield% from 1 to 30.
Another column is Price Rank and has a formula =RANK(H4,$H$4:$H$33),
this again ranks the Price from 1 to 30.
This prompts two questions:
(1) How can I make the rank function ascend instead of descend? (this
pertains to the price rank, I want
the cheapest stock to be ranked #1 and the highest price ranked #30
(2) How do I pull the top 4 records (or rows) into another sheet instead of
having the copy/paste. I would like to do it with some from of If statement
(so it is flexible to changing how many records to pull - by changing the
code).
TIA,
_Bigred
One of the columns is Yield Rank and has a formula =RANK(U4,$U$4:$U$33),
this ultimately ranks the Yield% from 1 to 30.
Another column is Price Rank and has a formula =RANK(H4,$H$4:$H$33),
this again ranks the Price from 1 to 30.
This prompts two questions:
(1) How can I make the rank function ascend instead of descend? (this
pertains to the price rank, I want
the cheapest stock to be ranked #1 and the highest price ranked #30
(2) How do I pull the top 4 records (or rows) into another sheet instead of
having the copy/paste. I would like to do it with some from of If statement
(so it is flexible to changing how many records to pull - by changing the
code).
TIA,
_Bigred