Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to come up with a formula that sets a range based on whether the
rows of potential data is a Y (User can enter Y or N in Column A). There are only 10 data rows at the moment, but it could grow a few more. This is what I have in J2, which doesn't show anything, but it does not change the range, it just omits that number in the range, i.e., 4: =IF(A2="Y",RANK(I2,$I$2:$I$9,-1),"") Column I contains the data I want to rank, but only if the value in the corresponding cell in the same row in column A is "Y". I'd not like to use a macro if possible. Cam anyone help? Thanks! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi!
Try this: =IF(A2="Y",SUMPRODUCT(--(A$2:A$9="Y"),--(I2I$2:I$9))+1,"") Biff "David" wrote in message ... I'm trying to come up with a formula that sets a range based on whether the rows of potential data is a Y (User can enter Y or N in Column A). There are only 10 data rows at the moment, but it could grow a few more. This is what I have in J2, which doesn't show anything, but it does not change the range, it just omits that number in the range, i.e., 4: =IF(A2="Y",RANK(I2,$I$2:$I$9,-1),"") Column I contains the data I want to rank, but only if the value in the corresponding cell in the same row in column A is "Y". I'd not like to use a macro if possible. Cam anyone help? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell Reference with Range Name | Excel Worksheet Functions | |||
Urgent date/scheduling calc needed | Excel Worksheet Functions | |||
need to Copy or Move to active cell from specified range | Excel Discussion (Misc queries) | |||
Match function...random search? | Excel Worksheet Functions | |||
Reveal cell formats and extendable range in tool/statusbar/icon. | Excel Worksheet Functions |