+ Reply to Thread
Results 1 to 2 of 2

Transpose wont work with Small(IF) formula

  1. #1
    Registered User
    Join Date
    04-19-2011
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    30

    Transpose wont work with Small(IF) formula

    Hi,

    I have a huge matrix (500*500) with value differences of 500 companies between eachother.
    I now want to find the 10 companies with the closests/smallest value difference for each company.

    I have therefor made and formula {=SMALL(IF(C3:SH3>0;C3:SH3);{1,2,3,4,5,6,7,8,9,10})} to find the 10 smallest value differences for company A (row C3:SH3), but at the same time ignore blanks or zeroes.

    However this formula wont transpose for the following reasons:

    1) The I transpose it to cower 10x500 rows the cell reference to C3:SH3 wont change to C4:SH4 and so on... Why?
    2) The k-value (to find the 10 closest values) changes from {1,2,3,4,5,6,7,8,9,10} to {1,234567891}. Why?

    Can someone help?

    Thansk in advance!

    Fred

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Transpose wont work with Small(IF) formula

    I think the row separator for your regional settings is a / rather than a comma?

    i.e. {1/2/3/4/5/6/7/8/9/10}

    I am not sure though exactly what you are trying to accomplish... can you post a small sample workbook, emulating what you need done?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1