Mac Numbers - Column Label for Same Ranking

Title
A
B
C
D
E
F
G
H
Score
17
13
10
11
16
17
10
15
Ranking
1
5
7
6
3
1
7
4
Hello all,
I have a question here. I would like to auto-sort the Score Row above into table below. But somehow because of the similar score, for table below I got the similar Title repeating twice for the respective score. How should I work around it?
Title
Score
F (should be A)
17
F
17
E
16
H
15
B
13
D
11
G (should be C)
10
G
10
These are the following formulas I used for second table:
Title column       : LOOKUP(LARGE(Student Lookup::B2:I2,ROW(cell)−1), Student Lookup::B2:I2, Student Lookup::B1:I1)
Score column     : LARGE(Student Lookup::$B$2:$I$2, ROW(cell)−1)

Hello
Common technique is to introduce small identifier factor into score or ranking values.
E.g. 1, introducing score identifier factor:
Data
A1  Title
A2  Score
A3  Ranking
A4  score.n
B1  A
B2  17
B3  =RANK(B2,2:2)
B4  =B2+1/(COLUMN()+1000)
C1  B
C2  13
C3  =RANK(C2,2:2)
C4  =C2+1/(COLUMN()+1000)
D1  C
D2  10
D3  =RANK(D2,2:2)
D4  =D2+1/(COLUMN()+1000)
E1  D
E2  11
E3  =RANK(E2,2:2)
E4  =E2+1/(COLUMN()+1000)
F1  E
F2  16
F3  =RANK(F2,2:2)
F4  =F2+1/(COLUMN()+1000)
G1  F
G2  17
G3  =RANK(G2,2:2)
G4  =G2+1/(COLUMN()+1000)
H1  G
H2  10
H3  =RANK(H2,2:2)
H4  =H2+1/(COLUMN()+1000)
I1  H
I2  15
I3  =RANK(I2,2:2)
I4  =I2+1/(COLUMN()+1000)
Sorted (excerpt)
A1  Title
A2  =INDEX(Data::$1:$1,1,C2)
A3  =INDEX(Data::$1:$1,1,C3)
B1  Score
B2  =INDEX(Data::$2:$2,1,C2)
B3  =INDEX(Data::$2:$2,1,C3)
C1  index
C2  =MATCH(LARGE(Data::$4:$4,ROW()-1),Data::$4:$4,0)
C3  =MATCH(LARGE(Data::$4:$4,ROW()-1),Data::$4:$4,0)
E.g. 2, introducing ranking identifier factor:
Data
A1  Title
A2  Score
A3  Ranking
A4  rank.n
B1  A
B2  17
B3  =RANK(B2,2:2)
B4  =B3+COUNTIF($B3:B3,B3)/10000
C1  B
C2  13
C3  =RANK(C2,2:2)
C4  =C3+COUNTIF($B3:C3,C3)/10000
D1  C
D2  10
D3  =RANK(D2,2:2)
D4  =D3+COUNTIF($B3:D3,D3)/10000
E1  D
E2  11
E3  =RANK(E2,2:2)
E4  =E3+COUNTIF($B3:E3,E3)/10000
F1  E
F2  16
F3  =RANK(F2,2:2)
F4  =F3+COUNTIF($B3:F3,F3)/10000
G1  F
G2  17
G3  =RANK(G2,2:2)
G4  =G3+COUNTIF($B3:G3,G3)/10000
H1  G
H2  10
H3  =RANK(H2,2:2)
H4  =H3+COUNTIF($B3:H3,H3)/10000
I1  H
I2  15
I3  =RANK(I2,2:2)
I4  =I3+COUNTIF($B3:I3,I3)/10000
Sorted (excerpt)
A1  Title
A2  =INDEX(Data::$1:$1,1,C2)
A3  =INDEX(Data::$1:$1,1,C3)
B1  Score
B2  =INDEX(Data::$2:$2,1,C2)
B3  =INDEX(Data::$2:$2,1,C3)
C1  index
C2  =MATCH(SMALL(Data::$4:$4,ROW()-1),Data::$4:$4,0)
C3  =MATCH(SMALL(Data::$4:$4,ROW()-1),Data::$4:$4,0)
* Tables are built in Numbers v2.
Hope this may help,
H

Similar Messages

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • I am frustrated with MAC BOOK PRO, I have 7 cases opened for same issue where System Shutdown does not happen.

    Have my MAcbook Pro, since September '11 and started experiencing recurring issue where the system won't shutdown.
    I have opend 7 cases since then with Apple Support performed, re-install, remove certain apps but the issue wont go away..
    I would request Apple to take this product back, replace it with something new or refund..
    Its not acceptable to reach out to Apple for same issue and you cannot pin point to what is going wrong with this machine.

    I can't imagine why you have seven cases open for the same issue, and I imagine that that will greatly complicate getting it resolved to your satisfaction. I would contact AppleCare, provide all seven case numbers, and ask to have all of them consolidated into one unified case record -- IF that can be done without losing all the details.
    You may think you are contacting Apple by posting here, but that isn't true. We are all volunteers here -- other Mac users like yourself. If another call to AppleCare with the request I've recommended above doesn't lead quickly to a satisfactory outcome, call Customer Relations at 1-800-676-2775. Be calm and polite, no matter how annoyed you are.

  • Not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    not able to open mail from my mac, gmail repeatedly asking for password. but using same password able to open gmail on safari

    okay well they got me to take out some .plist files to see if that would help it didn't. I'm not sure what ones that they deleted for my self maybe someone here would be abel to tell you what ones to take out but didn't work the one that came close to working was this going into keychain and deleting the account(s) then reading them again.
    if you are to do this please back up first with Time Machine. You can do this with a usb drive.
    Okay so go back to where you had internet accounts and make sure mail is shut. click the - on the account your having problems with then quit system preferences.
    Okay so then press cmd and space bar at the same time then type 'keychain access' into the search then click on 'keychain access'
    once it is open go to the top of the window and put your email address that you are having problems with.
    once you have put in your full email, have a look at what comes up i deleted things in the kind colome with 'internet password' and anything with under name that had smtp.gmail.com or imap.gmail.com so it would look like this, map.gmail.com - internet password.
    right click and delete them. make sure not to touch any other files that dont say them things on them.
    Once you have done this quit keychain access and then restart the computer, once the computer is restarted go back to system preferences and internet accounts and re-add the account.
    Hope this helps. if something is not clear just ask.

  • Downloaded mavericks for one mac can i use the same download to install on another mac

    I have downloaded for 12 hours initial installation on one mac for mavericks, and all installed successfully. Rather than download again for another mac, can I use the same download and copy on to the other mac..and if yes, where will I find it?

    All you need to do is go to System Preferences > App Store and uncheck the automatic install of updates box, then download the Mavericks installer, and copy to a flash drive.  You will need a flash drive of 8 G B or more since the installer is around 5.3 GB.  The installer will be in Finder > Applications.  You can then copy that flash drive installer to the Applications folders in all the Macs you have that are capable of running Mavericks, http://support.apple.com/kb/HT5842.
    When the installer runs, the last step in the installtion is for the installer to erase itself.  So makng a copy before the installer runs is essential if you want to avoid redownloading.
    Installing from the same installer does not cause problems for Macs on the same network.

  • Need to concatonate multiple values for same key columns into one string

    Hi...I'm attempting to use PL/SQL to read through a table containing more than one column value for a set of keys, and concatonate those values together into one string. For example, in the STUDENT table, for a STUDENT_ID there are multiple MAJORS_ACCOMPLISHED such as History, Biology and Mathematics. Each of the majors is stored in a different row with the same STUDENT_ID due to different faculty DEPARTMENT values.
    I want to read through the table and write out a single row for the STUDENT_ID and
    concatonate the values for MAJORS_ACCOMPLISHED. The next row should be another STUDENT_ID and the MAJORS ACCOMPLISHED for that student..etc.
    I've hit a wall trying to use cursors and WHILE loops to get the results I want. I'm hoping someone may have run across this before and have a suggestion. Tks!!

    I think you are looking for string aggregation.
    The following are the replies posted by me in the forum recently on the same case.
    they might help you.
    Re: Concatenating multiple rows in a table - Very urgent - pls help
    Re: Doubt in a query ( Urgent )
    Re: How to remove words which consist of max 2 letters?
    Re: output like Name1,Name2,Name3...

  • Using  the current version of photoshop CC with Mac OS 10.9 for the next 5 or so years on same mac?

    I am intending to upgrade to photoshop CC from photoshop CS6, my concern is is my computer is 6 years old and probably I will not be able to upgrade to a later mac operating system as I have mac os 10.9, and I may not be able to upgrade to a future version of photoshop, will I be able to use the current version of photoshop CC with Mac OS 10.9 for the next 5 or so years on same mac?, I know I can do this with Photoshop CS6.

    There's no reason why you can't do both.  You will always have CS6 to fall back on if the need should ever arise, the same as most of the regular posters here.  But you could enjoy CC for as long as it suited you, and it has some very features and more are coming all the time.
    We've seen two nice updates to Photoshop CC in the eight months since the subscription model went live.  (Have I got that right?)  So we can expect three a year or more, and there were some killer new features in 14.2.  Heck, it would already break my heart if I had to go back to CS6.  In another four years...   It ain't gonna happen.

  • I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining. so i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password.

    I upgraded to lion, now that I am restarting my mac, it is asking for a password. mind you i never set a password in the begining.
    So i used my start up cd and re set the password and restarted my mac only to be faced with the same delima. user password please.
    I am currently in safe mode, otherwise I can't log on to mymac
    Please help, anyone

    thank you to all who responded. the final line was that I had to reboot and loss all of my info.
    this was per apple store intelligence.

  • Using addresses, can you print duplicate mailing labels for the same address

    using my address book, can I print duplicate mailing labels for the same name and address. 

    I checked the Address Book Print Dialog and I did not see the option to duplicate a single label.
    The only thing you could try is to select the name in your list. Then do Command-P to print which should get you to this dialog box:
    Try changing the # of copies and see if that does what you want. Otherwise I'm not sure and your answer may best be found in the Address Book forum on here.
    You may not want to incue the expense but Microsoft Word will do what you want.

  • HT2518 When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  Please help!!!

    When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  I'm not getting anywhere!  Please help!!!

    Simple...
    http://www.apple.com/uk/support/mac/app-store/contact/

  • How to provide dynamic labels for calculated columns in HANA calc views

    Hi all,
    we have the requirement to provide dynamic labels for some calculated columns in our calculation view - how to do that?
    Thanks and kind regards,
    Alexander

    Calculated Columns can only generate a value from fields of the current item. And only some types of fields (for example, it can't use a lookup column).
    Consider using a workflow to accomplish your goal.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • I bought a mac air yesterday and i was trying to download maverick but i could not do it, i try to download the old version of numbers because i needed for work, but i could not neither, but now when i check to download numbers is asking for to pay?

    i bought a mac air yesterday and i was trying to download maverick but i could not do it, i try to download the old version of numbers because i needed for work, but i could not neither, but now when i check to download numbers is asking for to pay?

    You are mixing different issues. I will address Numbers.
    Has Numbers ever been installed on this new Mac? Did you have the Mac App Store version of Numbers or did you have the DVD version of Numbers?
    You should be able to redownload a previous purchase of the Mac App Store version of Numbers from the Purchases pane after signing into your account.
    If you had the DVD version, then you will need to install that from the DVD media.

  • I have license for photoshop CS5 extended for windows , I have switched to mac , can  I install the same license copy on mac ?

    I have license for photoshop CS5 extended for windows , I have switched to mac , can  I install the same license copy on mac ?

    Unfortunately, no. the CS programs are platform specific. You have three options. Upgrade to CS6 and request a platform swap, in which case you will give up the Windows serial number. Second, you could buy a second serial number for Mac outright. Third, you can buy the subscription to Photoshop CC, which can be used on both Windows and Macintosh..
    Benjamin

  • Clicked on Mac when ordering, paid for it but it says "Windows " on the download page. Is this still the same for mac?

    Clicked on Mac when ordering, paid for it but it says "Windows " on the download page. Is this still the same for mac?

    Hi Richard,
    We are sorry for the trouble,
    I have sent you an email with the correct serial number.
    Please reply once you get it.
    Thanks
    Sandeep

  • I'd like to use Turbo Lister Program for eBay. But it's PC Program. Which program same this program for mac? Please suggest for me. ll^_^ll

    I'd like to use Turbo Lister Program for eBay. But it's PC Program. Which program same this program for mac? Please suggest for me. Thank you. ll^_^ll

    set the wake-on lan on the main computer
    The laptop's too far away from the router to be connected by ethernet. It's all wifi.
    No separate server app on the laptop, it's all samba
    The files are on a windows laptop and a hard drive hooked up to the windows laptop. The windows share server is pants, so I'd need some sort of third party server running. Maybe you weren't suggesting to use Samba to connect to the windows share though?
    I'm glad that you've all understood my ramblings and taken and interest, thanks The way I see it, I can't be the only netbook user these days looking for this kind of convenience, and I certainly won't be once chrome and moblin hit the market.
    Last edited by saft (2010-03-18 20:38:08)

Maybe you are looking for

  • The iCloud id on my iPhone does not change to the new one set up with iCloud on my MacBook Pro Maverick

    I have recently upgraded to Mavericks and bought an iPhone 5s. Initially I used the id already registered with Apple but changed it after a few days having used it on both my phone and MacBook Pro. Once I changed my id on the website, my MacBook Pro

  • Network: limit printing access ( hp officejet pro 8000 )

    Hello! I have a HP Officejet Pro 8000 A809 connected to a LAN with approx. 100 PC's. It's not possible to attach it to my PC, because I want to share it and my PC is not running all the time. Is there a possibility to restrict the access to the pri

  • Aperture to iPhone Sync

    I am trying to sync a few photos from Aperture to my iPhone. However, only 2,800 of the 85,000 photos are available in iTunes during the sync set-up. Any suggestions to make iTunes see all of my photos in Aperture?

  • Analytic Workspace Manager 10.2.0.1.0A available

    Analytic Workspace Manager 10.2.0.1.0A is now available. You can find it on MetaLink as PS# 4656244 or OTN at http://www.oracle.com/technology/products/bi/olap/index.html. What is AWM 10.2.0.1.0A? It is a patched, stand-alone client that supercedes t

  • Prerequisite to change Account group for a Vendor

    Hi,     I want to change the Accout group for the particular vendor. What are the things, i need to modify before changing the account group for the same.