Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 577
Default Help with SMALL formula.

I have a range of 144 rows. A1:A144 contain names, B1:B144 contain values.
I've successfully used the SMALL formula to sort the data 1 through 144, but
I'd like to reference the corresponding names with the values. How do I do
that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Help with SMALL formula.

Assuming you have the value generated from SMALL in C1 try the below

C1 =SMALL($B$1:$B$144,ROW())
D1 =INDEX($A$1:$A$144,MATCH(C1,$B$1:$B$144,0))

I assume you dont have any duplicate values

If this post helps click Yes
---------------
Jacob Skaria


"Scott" wrote:

I have a range of 144 rows. A1:A144 contain names, B1:B144 contain values.
I've successfully used the SMALL formula to sort the data 1 through 144, but
I'd like to reference the corresponding names with the values. How do I do
that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Help with SMALL formula.

You could also try this set-up. It includes tiebreakers to take care of the
possibilities of ties (or multiple ties) within the values in col B

Source data assumed in A1:B1 down,
names in col A, values (ie numbers) in col B
In D1: =IF(B1="","",B1+ROW()/10^10)
In E1:
=IF(ROWS($1:1)COUNT($D:$D),"",INDEX(A:A,MATCH(SMA LL($D:$D,ROWS($1:1)),$D:$D,0)))
Copy E1 to F1. Select D1:F1, copy down to cover the max expected extent of
source data. Minimize/hide col D. The automated results that you seek will be
returned in cols E and F, viz. an auto-ascending sort of the names and their
corresponding values, by values. Names with tied values (if any) will be
returned in the same relative order that they appear within the source.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Scott" wrote:
I have a range of 144 rows. A1:A144 contain names, B1:B144 contain values.
I've successfully used the SMALL formula to sort the data 1 through 144, but
I'd like to reference the corresponding names with the values. How do I do
that?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 577
Default Help with SMALL formula.

There are duplicate values in this table. To determine an exact numeric
value in sorting I used the SMALL formula plus a ranking order of 1-144. So
this formula returns a unique value despite duplicate values. I just need to
match the name with the value.

Max, I tried your formula, but got a VALUE error.



"Max" wrote:

You could also try this set-up. It includes tiebreakers to take care of the
possibilities of ties (or multiple ties) within the values in col B

Source data assumed in A1:B1 down,
names in col A, values (ie numbers) in col B
In D1: =IF(B1="","",B1+ROW()/10^10)
In E1:
=IF(ROWS($1:1)COUNT($D:$D),"",INDEX(A:A,MATCH(SMA LL($D:$D,ROWS($1:1)),$D:$D,0)))
Copy E1 to F1. Select D1:F1, copy down to cover the max expected extent of
source data. Minimize/hide col D. The automated results that you seek will be
returned in cols E and F, viz. an auto-ascending sort of the names and their
corresponding values, by values. Names with tied values (if any) will be
returned in the same relative order that they appear within the source.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Scott" wrote:
I have a range of 144 rows. A1:A144 contain names, B1:B144 contain values.
I've successfully used the SMALL formula to sort the data 1 through 144, but
I'd like to reference the corresponding names with the values. How do I do
that?

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Help with SMALL formula.

.. Max, I tried your formula, but got a VALUE error.

That means your data in col B is unfortunately mixed
with text/error values besides numbers

You could replace the earlier criteria formula in D1 with this:
=IF(ISNUMBER(B1),B1+ROW()/10^10,"")
Copy down, and it should work fine
Success? Pl click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 577
Default Help with SMALL formula.

Another problem. What happens when there is LESS than 144 rows of data? For
instance, there could be anywhere between 1 and 144 rows. With your formula,
I got it to work with 144 rows, but got an error with less than 144 rows of
data.



"Max" wrote:

.. Max, I tried your formula, but got a VALUE error.


That means your data in col B is unfortunately mixed
with text/error values besides numbers

You could replace the earlier criteria formula in D1 with this:
=IF(ISNUMBER(B1),B1+ROW()/10^10,"")
Copy down, and it should work fine
Success? Pl click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---

  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Help with SMALL formula.

That shouldn't be. The set-up I suggested was independent of the number of
rows of source data. Review it, re-check your adaptation/construct over
there. Ensure that the criteria col D and the extract formulas in cols E and
F are propagated correctly right down to cover the max expected extent of
source data.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
---
"Scott" wrote:
Another problem. What happens when there is LESS than 144 rows of data? For
instance, there could be anywhere between 1 and 144 rows. With your formula,
I got it to work with 144 rows, but got an error with less than 144 rows of
data.


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
ISERROR,SMALL,INDEX, MATCH, SMALL?? M.A.Tyler Excel Discussion (Misc queries) 1 May 2nd 07 04:08 AM
Eliminating 0 values when using the Small formula MIchel Khennafi Excel Worksheet Functions 1 January 31st 07 07:00 PM
Using Small PH NEWS Excel Worksheet Functions 2 July 27th 06 09:22 AM
Small tom Excel Discussion (Misc queries) 2 July 11th 06 05:46 PM
formula for changing CAPS to small letters Stilla Excel Worksheet Functions 2 June 26th 06 07:07 PM


All times are GMT +1. The time now is 07:21 PM.

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

About Us

"It's about Microsoft Excel"