Dear Khalid,
Many… thanks for answering, but, when, applied the VLOOKUP formula the result come in, figure (-2) not like the Condition Formatting ICON, as a condition set. Can be possible that also?
Dear Khalid,Thanks for the clarification,
Try this in A27:
=SMALL($A$2:$A$23,ROW(A1))
And this in B27:
=VLOOKUP(A27,$A$2:$B$23,2)
Copy down both.
Regards,
Hi Sachar -
Just change the bold and underlined part of your formula i.e. SMALL($F$1:$W$1,COLUMNS(F$1)) to SMALL($F$1:$W$1,COLUMN(A$1))
then drag it...you will get the result..
Usage of Columns Function: If you use columns function in a scenario like yours..you need to select the range and not just the column...Columns(F$1) is giving 6 i.e. the 6th column..so your function is pulling up the 6th Smallest value in the range F1 : W1. But that is not what you are aiming at...
Had your formula been something like...SMALL($F$1:$W$1,COLUMNS($A$1:A$1))..it would yield you the right result...so what does this do..
COLUMNS($A$1:A$1) results into 1 as it counts all the columns between the range $A$1:A$1 and that is only 1 column..
Now your formula evaluates to SMALL($F$1:$W$1,COLUMNS($A$1:A$1)) results into SMALL($F$1:$W$1,1) = 8 and gives the first smallest number in the range..
Now once you drag it to the next column the formula looks like: =SMALL($F$1:$W$1,COLUMNS($A$1:B$1)) where COLUMNS($A$1:B$1) results into 2 as there are 2 columns in this range..the formula will look SMALL($F$1:$W$1,2) = 12..
So on and so forth..
Usage of Column Function: As per the solution suggested: i.e. SMALL($F$1:$W$1,COLUMN(A$1))
The above solution evalutes to SMALL($F$1:$W$1,1), where column(A$1) results into 1
So the formula looks up for the first smallest value in the range $F$1:$W$1 and give 8
Now if you drag the formula towards right, the formula looks like
SMALL($F$1:$W$1,COLUMN(B$1)), where Column(B$1) results into 2..
And finally formula looks like SMALL($F$1:$W$1,2) and pulls up the second smallest number within the range..
Hi Sachar -
Just change the bold and underlined part of your formula i.e. SMALL($F$1:$W$1,COLUMNS(F$1)) to SMALL($F$1:$W$1,COLUMN(A$1))
then drag it...you will get the result..
Usage of Columns Function: If you use columns function in a scenario like yours..you need to select the range and not just the column...Columns(F$1) is giving 6 i.e. the 6th column..so your function is pulling up the 6th Smallest value in the range F1 : W1. But that is not what you are aiming at...
Had your formula been something like...SMALL($F$1:$W$1,COLUMNS($A$1:A$1))..it would yield you the right result...so what does this do..
COLUMNS($A$1:A$1) results into 1 as it counts all the columns between the range $A$1:A$1 and that is only 1 column..
Now your formula evaluates to SMALL($F$1:$W$1,COLUMNS($A$1:A$1)) results into SMALL($F$1:$W$1,1) = 8 and gives the first smallest number in the range..
Now once you drag it to the next column the formula looks like: =SMALL($F$1:$W$1,COLUMNS($A$1:B$1)) where COLUMNS($A$1:B$1) results into 2 as there are 2 columns in this range..the formula will look SMALL($F$1:$W$1,2) = 12..
So on and so forth..
Usage of Column Function: As per the solution suggested: i.e. SMALL($F$1:$W$1,COLUMN(A$1))
The above solution evalutes to SMALL($F$1:$W$1,1), where column(A$1) results into 1
So the formula looks up for the first smallest value in the range $F$1:$W$1 and give 8
Now if you drag the formula towards right, the formula looks like
SMALL($F$1:$W$1,COLUMN(B$1)), where Column(B$1) results into 2..
And finally formula looks like SMALL($F$1:$W$1,2) and pulls up the second smallest number within the range..
Dear Asheesh,Dear Khalid,
I am Forwarding my previous mail with the same problem but, in column. May I know the mistake in column formula?