+ Reply to Thread
Results 1 to 4 of 4

Can this formula be shortened?

  1. #1
    Registered User
    Join Date
    12-26-2006
    Posts
    36

    Can this formula be shortened?

    How can I shorten below? You can see it is redundant but the only thing that changes is the number after 'PR'.

    ='H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR1'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR2'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR3'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR4'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR5'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR6'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR7'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR8'!$L$51+'H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR9'!$L$51
    Last edited by nandomer; 12-01-2011 at 05:10 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Can this formula be shortened?

    Hello,

    if the sheets PR1 to PR9 are sitting next to each other with no other sheets in between, you can use

    =sum('H:\Year 2011\NPM CONST\Sail Electric Inc - Casino Road & Rucker Ave\Pay Requests\[Invoices.xls]PR1:PR9'!$L$51)

    cheers,

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Can this formula be shortened?

    Provided the sheets are in the proper order, try:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    12-26-2006
    Posts
    36

    Re: Can this formula be shortened?

    Thanks so much teylyn and ConneXionLost!
    Very helpful!

+ 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