Converting Excel formulas in Numbers

I am new to Numbers and have an Excel Spreadsheet that I've used previously that calculates the best 4 scores from golfers over a 10 week period. In Excel I used =sum(LARGE[e2:n2,{1,2,3,4}]) but when I use it in Numbers I get a Syntax Error message. Is there anyone who can help me convert the Excel formula so that it works in Numbers.

Numbers does not use excels array functions so this will probably work:
=SUM(LARGE(E2:N2, 1), LARGE(E2:N2, 2), LARGE(E2:N2, 3), LARGE(E2:N2, 4))

Similar Messages

  • Converting excel formulas to javascripts

    Hello, I am not experience in Excel formulas and creating "if" statements in Adobe Acrobat, so I'm hoping someone can help me with this. I have two problems.
    1.  Here is an excel formula that I need to convert over to javascripts. Can someone help with this?
    =IF(Q13>0,Q13+0,"")
    2.  Here is the second one,
    =IF(N16*Q16>0,((N16*Q16)+U16),"")
    In addition to these two formulas I need help with, the owner of the forms does not want the numbers to round up. Is there a way to get the exact answer and not rounding the numbers up in javascript?
    Thanks for your assistance.
    I have Adobe Acrobat X.

    Hi George, on the first script
    var Q13 = +getField("Q13").value;
      event.value = Q13 > 0 ? Q13, "";
    It comes up with a SyntaxError: missing : in conditional express 2: at line 3
    Do you know what that means and how to correct?
    Thanks
    Connie

  • Converting Excel formulas to use in Numbers

    I want to use an Excel 2010 spreadsheet in Numbers on my iPad.
    When added and opened with Numbers, some formulas are not copied, only the values... How can I keep / convert all the the formulas ?

    Hello pjl123, and thanks for helping
    Only some formulas are not converted. It's a bit long to find all of them, because there seem to be a lot of small triangles with exclamation points in the converted Numbers file.
    I'm not sure about the way I should save the file, since I presently use Excel 2010 normally (.xls format)
    The reason I'm asking for help on this, is that I want to get rid of my M/S windows laptop in favour of an Apple, and I have a lot of excel files that would require a lot of work to redo in numbers....
    If anyone knows how to save an excel file in a format more compatible with numbers, I would be very grateful.

  • I want to convert this excel formula into a formula that works in Numbers =INDEX(Codes!$B$1:$B$9998;MATCH(TRUE;ISNUMBER(SEARCH(Codes!$A$1:$A$9998;'Curren t Account'!E4358));0))

    I want to convert this excel formula into Numbers formula =INDEX(Codes!$B$1:$B$9998;MATCH(TRUE;ISNUMBER(SEARCH(Codes!$A$1:$A$9998;'Curren t Account'!E4358));0))

    Without knowing the structure of the spreadsheet, or what e3xactly you are trying to do, it would be hard to advise. however, have a look here: http://help.apple.com/numbers/ipad/2.0/

  • How do you display excel formulas?

    How do you display EXCEL formulas in Numbers once imported?

    select the cell and look at the bottom of the window or doubel click the cell:
    after double clicking cell:

  • Numbers Equivalent of Excel Formula for Converting HH:MM:SS to DD:HH:MM:SS

    I am not sure if this has been asked before.
    What would be the Numbers formula for converting HH:MM:SS to DD:HH:MM:SS?  The Excel formula is entering 396:59:45 into a cell and then in another cell is the following =TEXT(A2,"dd:hh:mm:ss").  The A2 is the example cell.

    There is no formula to actually do the conversion. It is a matter setting the cell format. After that all you need to do is add a simple =<cell> formula to get the value in (i.e. - see my previous post), or a formula to add the two values (=A2+A5). Use Duration rather then Time for the cell formats.
    A duration in Numbers for iOS will not appear 10:16:25:03, it will display as 10d 16h 25m 03s. If it is the actual display punctuation you are trying to change, it may be possible using a combination of a Duration and TEXT functions but would be quite lengthy, convoluted, and more trouble than it is worth.

  • Can I open an excel spreadsheet in NUMBERS complete with formulas?

    Can I open an excel spreadsheet in NUMBERS complete with formulas?

    Problem solved.  I find that the excel file I was trying to convert was an .xlsx version and when I resaved it as an .xls file, I was then able to open it in NUMBERS complete with formulas.

  • How to convert an Excel Formula to a Custom Calculation Script in a Adobe Acrobat 9 Form?

    Hello,
    I am not familiar whatsoever with Javascript and need some help in converting the following Excel Formula so that I can enter it into a Custom Calculation Script in a Adobe PDF Form. Here is the formula:
    =IF(E15<25.01,9.95,IF(E15<50.01,11.95,IF(E15<75.01,13.95,IF(E15<100.01,16.95,IF(E15<150.01 ,19.95,IF(E15<200.01,24.95,IF(E15>200.00,E15*0.125)))))))
    Where "E15" will be the text field named "Subtotal" on my Adobe PDF Form.
    Thank you for any help you can provide!

    Fortunately JavaScript has the 'switch' statement so nested if statements can be avoided.
    var E15 = this.getField("Subtotal").value;
    switch(true) {
    case (E15 < 25.01) :
    event.value = 9.95;
    break;
    case (E15 < 50.01) :
    event.value = 11.95;
    break;
    case (E15 < 75.01) :
    event.value = 13.95;13
    break;
    case (E15 < 100.01) :
    event.value = 16.95;
    break;
    case (E15 < 150.01) :
    event.value = 19.95;
    break;
    case (E15 < 200.01) :
    event.value = 24.95;
    break;
    case (E15 > 200) :
    event.value = E15 * 0.125;
    break;
    default:
    event.value = "";
    break;
    } // end switch;

  • How do i convert an existing excel file to numbers?

    Just got a mac and need to convert an excel file to numbers, how do i do that?

    You can try File > Open, navigate to the .xlsx or .xls Excel file and choose it. Depending on how complicated the worksheet is, you may have to make adjustments to it in Numbers.
    SG

  • After saving a pdf as Excel workbook the numbers remain text and cannot be used in calculations. Is there a better way to convert into real digital numbers?

    After saving a pdf as Excel workbook the numbers remain text and cannot be used in calculations. Is there a better way to convert into real digital numbers?
    I have tried to convert the pdf to Word instead but same difficulty with numbers: look like numbers but not usable for calculations

    Excel has a 'text to numbers' function, I would use that.
    Convert text to numbers. Microsoft Excel.

  • Batch Convert From Excel Files To Numbers?

    Is there any way to batch convert all my excel files into numbers files without individually opening each document and saving it out?
    Thanks,
    -Reuben

    Hello
    Here is a script which does the job for one document.
    I leave as an exercise [ ] it's insertion in a loop treating the docs stored in a given folder.
    --[SCRIPT]
    property theApp : "Numbers"
    set docAW6 to (path to desktop as Unicode text) & "Chèques_bidon.cwk"
    set nw to my getNbWindows()
    tell application "Numbers" to open file docAW6
    repeat (* wait until the file is really open *)
    if my getNbWindows() > nw then exit repeat
    end repeat
    (* click the button "drop advertisements" *)
    tell application "System Events" to tell process theApp to click button 2 of sheet 1 of window 1
    delay 0.2
    (* Opens the Save dialog *)
    tell application theApp to activate
    tell application "System Events" to tell process theApp to keystroke "s" using {command down}
    delay 0.2
    (* click the button Save *)
    tell application theApp to activate
    tell application "System Events" to tell process theApp to click button 1 of sheet 1 of window 1
    delay 0.2
    (* close the doc's window *)
    tell application theApp to activate
    tell application "System Events" to tell process theApp to keystroke "w" using {command down}
    on getNbWindows()
    tell application "System Events"
    tell process theApp to set _ to count of windows
    end tell -- application System Events
    return _
    end getNbWindows
    --[/SCRIPT]
    I don't put checks so it's your responsability to activate the GUI scripting.
    Yvan KOENIG (from FRANCE mercredi 26 septembre 2007 21:00:14)

  • Convert mathematical formulat to excel formula

    I have a formula that was generated by excel when using a trendline on a graph. I need to convert this formula into an excel formula I can use again.
    the formula is below. Assume that the value for X will be in Cell A1. Any help converting this to an excel formula would be awesome. FYI = for a X value of 20,000, the formula should output something close enough to 20,000 ( +- 5 or 10k).
    y = 1.8932x6
    - 116.85x5 + 2669.5x4
    - 27947x3 + 140531x2
    - 298100x + 199955

    Test the result according to the formular that you provide initially and get the result 16993.54 (B2=1) which it is should be.
    =1.8932*B2^6 -116.85*B2^5 +2669.5*B2^4-27947*B2^3+140531*B2^2-298100*B2+199955
    (The fomular you provide last time is different from your initial request.)
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Newbie trying to convert this to use numbers from excel

    I am fairly new at this and have not worked with numbers at all but the problem I have is that I do not have Excel on all my Mac's and this needs to work with Numbers.
    it is a basic copy and paste based on a particular tab in Safari and another in numbers
    ie.. i want to copy content from a specific safaritab()  to a specific tab in numbers by name.. this works perfectly with using excel (took forever for me to piece together) but I am struggling to convert to use in numbers instead.  any help would be most appreciated.
    this is the working code for using excel that i wish to convert to use numbers instead.
    #Code begin
    tell application "Safari" to launch
    tell application "Safari" to activate
    useSafariTab(3)
    copyDataB()
    tell application "Microsoft Excel"
    activate
    activate object workbook "SpreadSheetA"
    activate object sheet "DesiredTabName"
    clear range range "A:Z"
    select cell "a2"
    end tell
    pasteDataA()
    on useSafariTab(a)
    tell application "Safari"
    set thisTab to tab a of window 1
    set current tab of window 1 to thisTab
    delay 1
    end tell
    end useSafariTab
    on copyDataB()
    tell application "System Events"
    delay 1
    keystroke "a" using {command down}
    delay 3
    keystroke "c" using {command down}
    delay 5
    end tell
    end copyDataB
    on pasteDataA()
    tell application "Microsoft Excel"
    activate
    activate object workbook "SpreadSheetA"
    delay 2
    end tell
    tell application "System Events"
    keystroke "v" using {command down}
    delay 5
    end tell
    end pasteDataA
    #Code end

    In Numbers the hierarchy is document, sheet, table, range whereas in Excel the table isn't required.  So for pasteDataA() try this:
    on pasteDataA()
      tell application "Numbers"
      tell document "SpreadSheetA.numbers"
      tell sheet "DesiredTabName"
      tell table 1 -- or table name if you have one
      set selection range to cell 2 of column 1
      delay 2
      end tell
      end tell
      end tell
      end tell
      tell application "Numbers"
      activate
      tell application "System Events"
      keystroke "v" using {command down}
      delay 2
      end tell
      end tell
    end pasteDataA
    I didn't clear the range first but assume you will be able to work that out. Remember you need to specify the table when you do that.
    SG
    P.S. Note use of the .numbers suffix when specifying the document, if named.  Otherwise you can use document 1 or front document.

  • How change this excel formula IF(ISNUMBER(P4);IF(P4 R4;3;IF(P4=R4;1;0));0) in a numbers formula

    I use this formula -
    IF(ISNUMBER(P4);IF(P4>R4;3;IF(P4=R4;1;0));0)
    in mac excel 2008, but it isn't works in numbers, may you help me plz?

    Barry wrote:
    ivanfromrio de janeiro wrote:
    I Tried (Jiri's formula), but numbers returns "syntax error".
    Works fine here. I suspect you need to use semi colons for the argument separators:
    =IF(LEN(B2)>0;"NOTEMPTY";"#0")
    Regards,
    Barry
    PS: Same change will be needed in my formulas above. Commas are used to separate arguments where the period ( . ) is the decimal separator, semi colons ( ; ) where the comma ( , ) is the decimal separator.
    B
    You are right, Barry!
    Sorry, I work in Excel over 10 hours a day. Any syntax-related comma in Excel will be a semicolon in Numbers. Power of a habit. :-)

  • I need help converting an excel formula to javascript for a fillable form.

    Here is the scenario,
    If a person travels for 1 or 2 days we pay out a mealsrate of 75% per day. If 3 or more days we pay # days less 2 days * 25%. I hope that makes sense.
    V7 = Days, F14 = Mealsrate
    Formula in Excel
    =IF($V$7 = 1,$F$14*0.75,($V$7*$F$14)-(($F$14*0.25)*2))  and it works.
    I am VERY NEW to javascript (like yesterday) so don't laugh. I really have no idea what I am doing, but I was trying. Here is what i got. (by the way, It doesn't work)
    if(this.getField( ("Days").value=="1")){
    var f =this.getField("Mealsrate");
    event.value= f.value * .75;
    }else event.value = (Days * f.value)- (f.value *.25)*2;
    I appreciate all the help i can get.
    Tracie
    I'll be back on Monday, I hope I can find my post.

    OK, that Excel formula can be reduced a bit. The following custom Calculate scipt will do what the formula does:
    // Custom Calculate script
    (function () {
        // Get the inputs
        var days = getField("Days").value;
        var rate = getField("Mealsrate").value;
        // Set this field value
        if (days == 1) {
            event.value = 0.75 * rate;
        } else {
            event.value = (days - 0.5) * rate;
    It would make sense to add additional code to deal with negative numbers in either of the input fields.
    Edit: corrected a typo

Maybe you are looking for

  • Can I combine two iTunes user id's/accounts into one?

    I have 2 different user id's/usernames (the log in credential used when signing into iTunes) and one of them is an email address that I no longer have. How can I combine both accounts into the one that is still valid, or is this even possible? If not

  • How to Refresh a Page once saved to database in ADF.

    Hi, I created a JSF page using project template as "JSF,ADF,business components". There is a List of values displayed in a dropdown list, User can create new value and once it is saved to the database it should reflect in the list of values.But it is

  • How to reorder columns in af:query??

    I have certain search fields in af query and I want to reorder them.I tried changing the order of the attributes in the view object but that dint help.Creating the VO all over again is the only solution??? Any suggestions pls? Thanks, Swathi

  • How to pull out the file in IDOC to File scenario

    Hi All, I have a scenario where, we are splitting an IDoc into 4 different files thru BPM. Those files are being sent to 3rd party file server. Now, is there any way in which i can see those files from my XI box? I am able to see only the xml's of th

  • Worklist API TaskSelector Sort?

    Hello, I'm looking at the TaskSelector in the WorklistAPI. There are a bunch of sort methods in there, but I'm trying to understand how the sort functionality works. The only documentation I see is: "This selector also allows to specify the number of