+ Reply to Thread
Results 1 to 9 of 9

find two large numbers!

Hybrid View

  1. #1
    stewart08
    Guest

    find two large numbers!

    Dear excelers,

    how can I create a function that can find two large/small numbers from a list of numbers i.e.

    numbers
    125101845107

    need result: 87

    below is my nearest function, but still does not work! please how is this do...thankx

    =IF((LARGE(I101:AV101,1))*OR(LARGE(I101:AV101,2))=AI101,6,"")

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    I take it from the range you have below that all your numbers are in different cells. If so, use =Large(I101:AV101,1) in one cell and =Large(I101:AV101,2) in the next. Or, to combine them into one cell, =Large(I101:AV101,1)&Large(I101:AV101,2)

  3. #3
    stewart08
    Guest
    darkyam thankx for the quick reply.

    I just tested this function:

    =IF(LARGE(I101:AV101,1)&LARGE(I101:AV101,2)=AI101,0,"")

    seem to still not work

    it needs to find the large1 or large2 in a cell array...please help.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Enter Darkyam's equation just as he wrote it. Why are you changing it into an IF statement?

    ChemistB

  5. #5
    stewart08
    Guest
    may be I donot make it clear, once again:

    row1: 0123456789 (refer nums)
    row2: 1281006372 (sample nums)
    row3: 2 8 (function per cell)

    need finally result: 2,8

    row3 function per cell needs to:
    1) find largest or second largest digits in row2 = 87
    2) then 87 is refers to row1 = 28

    i hope it is clear now

  6. #6
    stewart08
    Guest
    at the simplest level this is what I am trying to do:

    seach a value via two other values i.e.

    if 2 = 2 or 3! then use value "8"

    or

    need to use two function criteria (largest or second largest) in one function argument!

    is this possible...any help would be greatful

+ 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