+ Reply to Thread
Results 1 to 8 of 8

Formula is too long

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Formula is too long

    I'm creating a formula to calculate manhours multiplied by the hourly rate for multiple employees per day. The employees have different rates, calculating regular time, overtime and double time. Once I have that total for all employees for the day, then I can apply the taxes, etc. The formula below is just to get the total amount paid that day. How can I shorten it - kinduv new at this. Thank you

    =(NZ3*$OB3)+(NZ4*$OB4)+(NZ5*$OB5)+(NZ6*$OB6)+(NZ7*$OB7)+(NZ8*$OB8)+(NZ9*$OB9)+(NZ10*$OB10)+(NZ11*$OB11)+(NZ12*$OB12)+(NZ13*$OB13)+(NZ14*$OB14)+(NZ15*$OB15)+(NZ16*$OB16)+(NZ17*$OB17)+(NZ18*$OB18)+(NZ19*$OB19)+(NZ20*$OB20)+(NZ21*$OB21)+(NZ22*$OB22)+(NZ23*$OB23)+(NZ24*$OB24)+(NZ25*$OB25)+(NZ26*$OB26)+(NZ27*$OB27)+(NZ28*$OB28)+(NZ29*$OB29)+(NZ30*$OB30)+(NZ31*$OB31)+(NZ32*$OB32)+(NZ33*$OB33)+(NZ34*$OB34)+(NZ35*$OB35)+(NZ36*$OB36)+(NZ37*$OB37)+(NZ38*$OB38)+(NZ39*$OB39)+(NZ40*$OB40)+(NZ41*$OB41)+(NZ42*$OB42)+(NZ43*$OB43)+(NZ44*$OB44)+(NZ45*$OB45)+(NZ46*$OB46)+(NZ47*$OB47)+(NZ48*$OB48)+(NZ49*$OB49)+(NZ50*$OB50)+(NZ51*$OB51)+(NZ52*$OB52)+(NZ53*$OB53)+(NZ54*$OB54)+(NZ55*$OB55)+(NZ56*$OB56)+(NZ57*$OB57)+(NZ58*$OB58)+(NZ59*$OB59)+(NZ60*$OB60)+(NZ61*$OB61)+(NZ62*$OB62)+(NZ63*$OB63)+(NZ64*$OB64)+(NZ65*$OB65)+(NZ66*$OB66)+(NZ67*$OB67)+(NZ68*$OB68)+(NZ69*$OB69)+(NZ70*$OB70)+(NZ71*$OB71)+(NZ72*$OB72)+(NZ73*$OB73)+(NZ74*$OB74)+(NZ75*$OB75)+(NZ76*$OB76)+(NZ77*$OB77)+(NZ78*$OB78)+(NZ79*$OB79)+(NZ80*$OB80)+(NZ91*$OB91)+(NZ92*$OB92)+(NZ93*$OB93)+(NZ94*$OB94)+(NZ95*$OB95)+(NZ96*$OB96)+(NZ97*$OB97)+(NZ98*$OB98)+(NZ99*$OB99)+(NZ100*$OB100)+(NZ101*$OB101)+(NZ102*$OB102)+(NZ103*$OB103)+(NZ104*$OB104)+(NZ105*$OB105)+(NZ106*$OB106)+(NZ107*$OB107)+(NZ108*$OB108)+(NZ109*$OB109)+(NZ110*$OB110)+(NZ111*$OB111)+(NZ112*$OB112)+(NZ113*$OB113)+(NZ114*$OB114)+(NZ115*$OB115)+(NZ116*$OB116)+(NZ117*$OB117)+(NZ118*$OB118)+(NZ119*$OB119)+(NZ120*$OB120)+(NZ121*$OB121)+(NZ122*$OB122)+(NZ123*$OB123)+(NZ124*$OB124)+(NZ125*$OB125)+(NZ126*$OB126)+(NZ127*$OB127)+(NZ128*$OB128)+(NZ129*$OB129)+(NZ130*$OB130)+(NZ131*$OB131)+(NZ132*$OB132)+(NZ133*$OB133)+(NZ134*$OB134)+(NZ135*$OB135)+(NZ136*$OB136)+(NZ137*$OB137)+(NZ138*$OB138)+(NZ139*$OB139)+(NZ140*$OB140)+(NZ141*$OB141)+(NZ142*$OB142)+(NZ143*$OB143)+(NZ144*$OB144)+(NZ145*$OB145)+(NZ146*$OB146)+(NZ147*$OB147)+(NZ148*$OB148)+(NZ149*$OB149)+(NZ150*$OB150)+(NZ151*$OB151)+(NZ152*$OB152)+(NZ153*$OB153)+(NZ154*$OB154)+(NZ155*$OB155)+(NZ156*$OB156)+(NZ157*$OB157)+(NZ158*$OB158)+(NZ159*$OB159)+(NZ160*$OB160)+(NZ171*$OB171)+(NZ172*$OB172)+(NZ173*$OB173)+(NZ174*$OB174)+(NZ175*$OB175)+(NZ176*$OB176)+(NZ177*$OB177)+(NZ178*$OB178)+(NZ179*$OB179)+(NZ180*$OB180)+(NZ191*$OB191)+(NZ192*$OB192)+(NZ193*$OB193)+(NZ194*$OB194)+(NZ195*$OB195)+(NZ196*$OB196)+(NZ197*$OB197)+(NZ198*$OB198)+(NZ199*$OB199)+(NZ200*$OB200)+(NZ201*$OB201)+(NZ202*$OB202)+(NZ203*$OB203)+(NZ204*$OB204)+(NZ205*$OB205)+(NZ6*$OB206)+(NZ207*$OB207)+(NZ208*$OB208)+(NZ209*$OB209)+(NZ210*$OB210)+(NZ211*$OB211)+(NZ212*$OB212)+(NZ213*$OB213)+(NZ214*$OB214)+(NZ215*$OB215)+(NZ216*$OB216)+(NZ217*$OB217)+(NZ218*$OB218)+(NZ219*$OB219)+(NZ220*$OB220)+(NZ221*$OB221)+(NZ222*$OB222)+(NZ223*$OB223)+(NZ224*$OB224)+(NZ225*$OB225)+(NZ226*$OB226)+(NZ227*$OB227)+(NZ228*$OB228)+(NZ229*$OB229)+(NZ230*$OB230)+(NZ231*$OB231)+(NZ232*$OB232)+(NZ233*$OB233)+(NZ234*$OB234)+(NZ235*$OB235)+(NZ236*$OB236)+(NZ237*$OB237)+(NZ238*$OB238)+(NZ239*$OB239)+(NZ240*$OB240)+(NZ241*$OB241)+(NZ242*$OB242)+(NZ243*$OB243)+(NZ244*$OB244)+(NZ245*$OB245)+(NZ246*$OB246)+(NZ247*$OB247)+(NZ248*$OB248)+(NZ249*$OB249)+(NZ250*$OB250)+(NZ251*$OB251)+(NZ252*$OB252)+(NZ253*$OB253)+(NZ254*$OB254)+(NZ255*$OB255)+(NZ256*$OB256)+(NZ257*$OB257)+(NZ258*$OB258)+(NZ259*$OB259)+(NZ260*$OB260)+(NZ271*$OB271)+(NZ272*$OB272)+(NZ273*$OB273)+(NZ274*$OB274)+(NZ275*$OB275)+(NZ276*$OB276)+(NZ277*$OB277)+(NZ278*$OB278)+(NZ279*$OB279)+(NZ280*$OB280)+(NZ291*$OB291)+(NZ292*$OB292)+(NZ293*$OB293)+(NZ294*$OB294)+(NZ295*$OB295)+(NZ296*$OB296)+(NZ417*$OB417)+(NZ418*$OB418)+(NZ419*$OB419)+(NZ420*$OB420)+(NZ421*$OB421)+(NZ422*$OB422)+(NZ423*$OB423)+(NZ424*$OB424)+(NZ425*$OB425)+(NZ426*$OB426)+(NZ427*$OB427)+(NZ428*$OB428)+(NZ429*$OB429)+(NZ430*$OB430)+(NZ431*$OB431)+(NZ432*$OB432)+(NZ433*$OB433)+(NZ434*$OB434)+(NZ435*$OB435)+(NZ436*$OB436)+(NZ437*$OB437)+(NZ438*$OB438)+(NZ439*$OB439)+(NZ440*$OB440)+(NZ441*$OB441)+(NZ442*$OB442)+(NZ443*$OB443)+(NZ444*$OB444)+(NZ445*$OB445)+(NZ446*$OB446)+(NZ297*$OB297)+(NZ298*$OB298)+(NZ299*$OB299)+(NZ300*$OB300)+(NZ301*$OB301)+(NZ302*$OB302)+(NZ303*$OB303)+(NZ304*$OB304)+(NZ305*$OB305)+(NZ306*$OB306)+(NZ307*$OB307)+(NZ308*$OB308)+(NZ309*$OB309)+(NZ310*$OB310)+(NZ311*$OB311)+(NZ312*$OB312)+(NZ313*$OB313)+(NZ314*$OB314)+(NZ315*$OB315)+(NZ316*$OB316)+(NZ317*$OB317)+(NZ318*$OB318)+(NZ319*$OB319)+(NZ320*$OB320)+(NZ321*$OB321)+(NZ322*$OB322)+(NZ323*$OB323)+(NZ324*$OB324)+(NZ325*$OB325)+(NZ326*$OB326)+(NZ327*$OB327)+(NZ328*$OB328)+(NZ329*$OB329)+(NZ330*$OB330)+(NZ341*$OB341)+(NZ342*$OB342)+(NZ343*$OB343)+(NZ344*$OB344)+(NZ345*$OB345)+(NZ346*$OB346)+(NZ347*$OB347)+(NZ348*$OB348)+(NZ349*$OB349)+(NZ350*$OB350)+(NZ361*$OB361)+(NZ362*$OB362)+(NZ363*$OB363)+(NZ364*$OB364)+(NZ365*$OB365)+(NZ366*$OB366)+(NZ367*$OB367)+(NZ368*$OB368)+(NZ369*$OB369)+(NZ370*$OB370)+(NZ371*$OB371)+(NZ372*$OB372)+(NZ373*$OB373)+(NZ374*$OB374)+(NZ375*$OB375)+(NZ376*$OB376)+(NZ377*$OB377)+(NZ378*$OB378)+(NZ379*$OB379)+(NZ380*$OB380)+(NZ381*$OB381)+(NZ382*$OB382)+(NZ383*$OB383)+(NZ384*$OB384)+(NZ385*$OB385)+(NZ386*$OB386)+(NZ387*$OB387)+(NZ388*$OB388)+(NZ389*$OB389)+(NZ390*$OB390)+(NZ391*$OB391)+(NZ392*$OB392)+(NZ393*$OB393)+(NZ394*$OB394)+(NZ395*$OB395)+(NZ396*$OB396)+(NZ397*$OB397)+(NZ398*$OB398)+(NZ399*$OB399)+(NZ400*$OB400)+(NZ401*$OB401)+(NZ402*$OB402)+(NZ403*$OB403)+(NZ404*$OB404)+(NZ405*$OB405)+(NZ406*$OB406)+(NZ407*$OB407)+(NZ408*$OB408)+(NZ409*$OB409)+(NZ410*$OB410)+(NZ411*$OB411)+(NZ412*$OB412)+(NZ413*$OB413)+(NZ414*$OB414)+(NZ415*$OB415)+(NZ416*$OB416)+(NZ567*$OB567)+(NZ568*$OB568)+(NZ569*$OB569)+(NZ570*$OB570)+(NZ571*$OB571)+(NZ572*$OB572)+(NZ573*$OB573)+(NZ574*$OB574)+(NZ575*$OB575)+(NZ576*$OB576)+(NZ577*$OB577)+(NZ578*$OB578)+(NZ579*$OB579)+(NZ580*$OB580)+(NZ591*$OB591)+(NZ592*$OB592)+(NZ593*$OB593)+(NZ594*$OB594)+(NZ595*$OB595)+(NZ596*$OB596)+(NZ597*$OB597)+(NZ598*$OB598)+(NZ599*$OB599)+(NZ600*$OB600)+(NZ611*$OB611)+(NZ612*$OB612)+(NZ613*$OB613)+(NZ614*$OB614)+(NZ615*$OB615)+(NZ616*$OB616)+(NZ617*$OB617)+(NZ618*$OB618)+(NZ619*$OB619)+(NZ620*$OB620)+(NZ621*$OB621)+(NZ622*$OB622)+(NZ623*$OB623)+(NZ624*$OB624)+(NZ625*$OB625)+(NZ626*$OB626)+(NZ627*$OB627)+(NZ628*$OB628)+(NZ629*$OB629)+(NZ630*$OB630)+(NZ631*$OB631)+(NZ632*$OB632)+(NZ633*$OB633)+(NZ634*$OB634)+(NZ635*$OB635)+(NZ636*$OB636)+(NZ637*$OB637)+(NZ638*$OB638)+(NZ639*$OB639)+(NZ640*$OB640)+(NZ641*$OB641)+(NZ642*$OB642)+(NZ643*$OB643)+(NZ644*$OB644)+(NZ645*$OB645)+(NZ646*$OB646)+(NZ647*$OB647)+(NZ648*$OB648)+(NZ649*$OB649)+(NZ650*$OB650)+(NZ651*$OB651)+(NZ652*$OB652)+(NZ653*$OB653)+(NZ654*$OB654)+(NZ655*$OB655)+(NZ656*$OB656)+(NZ657*$OB657)+(NZ658*$OB658)+(NZ659*$OB659)+(NZ660*$OB660)+(NZ661*$OB661)+(NZ662*$OB662)+(NZ663*$OB663)+(NZ664*$OB664)+(NZ665*$OB665)+(NZ666*$OB666)+(NZ667*$OB667)+(NZ668*$OB668)+(NZ669*$OB669)+(NZ670*$OB670)+(NZ671*$OB671)+(NZ672*$OB672)+(NZ673*$OB673)+(NZ674*$OB674)+(NZ675*$OB675)+(NZ676*$OB676)+(NZ677*$OB677)+(NZ678*$OB678)+(NZ679*$OB679)+(NZ680*$OB680)+(NZ691*$OB691)+(NZ692*$OB692)+(NZ693*$OB693)+(NZ694*$OB694)+(NZ695*$OB695)+(NZ696*$OB696)+(NZ697*$OB697)+(NZ698*$OB698)+(NZ699*$OB699)+(NZ700*$OB700)+(NZ711*$OB711)+(NZ712*$OB712)+(NZ713*$OB713)+(NZ714*$OB714)+(NZ715*$OB715)+(NZ716*$OB716)+(NZ717*$OB717)+(NZ718*$OB718)+(NZ719*$OB719)+(NZ620*$OB620)+(NZ721*$OB721)+(NZ722*$OB722)+(NZ723*$OB723)+(NZ724*$OB724)+(NZ725*$OB725)+(NZ726*$OB726)+(NZ727*$OB727)+(NZ728*$OB728)+(NZ729*$OB729)+(NZ730*$OB730)+(NZ731*$OB731)+(NZ732*$OB732)+(NZ733*$OB733)+(NZ734*$OB734)+(NZ735*$OB735)+(NZ736*$OB736)+(NZ737*$OB737)+(NZ738*$OB738)+(NZ739*$OB739)+(NZ740*$OB740)+(NZ741*$OB741)+(NZ742*$OB742)+(NZ743*$OB743)+(NZ744*$OB744)+(NZ746*$OB746)+(NZ746*$OB746)+(NZ747*$OB747)+(NZ748*$OB748)+(NZ749*$OB749)+(NZ750*$OB750)+(NZ751*$OB751)+(NZ752*$OB752)+(NZ753*$OB753)+(NZ754*$OB754)+(NZ755*$OB755)+(NZ756*$OB756)+(NZ757*$OB757)+(NZ758*$OB758)+(NZ759*$OB759)+(NZ760*$OB760)+(NZ761*$OB761)+(NZ762*$OB762)+(NZ763*$OB763)+(NZ764*$OB764)+(NZ765*$OB765)+(NZ766*$OB766)+(NZ767*$OB767)+(NZ768*$OB768)+(NZ769*$OB769)+(NZ770*$OB770)+(NZ771*$OB771)+(NZ772*$OB772)+(NZ773*$OB773)+(NZ774*$OB774)+(NZ775*$OB775)+(NZ776*$OB776)+(NZ777*$OB777)+(NZ778*$OB778)+(NZ779*$OB779)+(NZ780*$OB780)+(NZ791*$OB791)+(NZ792*$OB792)+(NZ793*$OB793)+(NZ794*$OB794)+(NZ795*$OB795)+(NZ796*$OB796)+(NZ797*$OB797)+(NZ798*$OB798)+(NZ799*$OB799)+(NZ800*$OB800)+(NZ811*$OB8

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Formula is too long

    Try an array formula...
    =Sum(NZ3:NZ811*OB3:OB811)
    you need to confirm it with ctrl shift and enter.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Formula is too long

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Formula is too long

    or may be..

    =Sumproduct(NZ3:NZ811,OB3:OB811)
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: Formula is too long

    Thanks to Debraj and Yudlugar. I had forgotten about SumProduct. To help the OP, Charlie Kyd has posted this to his blog recently on SumProduct. It is a good read

    http://www.exceluser.com/excel_help/...sumproduct.htm

  6. #6
    Registered User
    Join Date
    09-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula is too long

    Thank you, I will give it a go and let you know how it turned out.

  7. #7
    Registered User
    Join Date
    09-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Formula is too long

    Thank you! It worked great!!! Wish I had've asked for help sooner
    S

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Formula is too long

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A long IF formula
    By Arkman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2013, 08:50 AM
  2. Formula too long
    By g_adry in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-08-2010, 05:59 PM
  3. Long long formula not calc'ing all steps
    By jvautour in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2009, 10:26 AM
  4. formula too long
    By steve_domer in forum Excel General
    Replies: 4
    Last Post: 07-09-2009, 02:15 PM
  5. formula is too long
    By Rahul Nagar in forum Excel General
    Replies: 5
    Last Post: 11-14-2008, 10:40 AM

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