+ Reply to Thread
Results 1 to 8 of 8

Make a formula shorter

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    Sweden
    MS-Off Ver
    2014
    Posts
    51

    Make a formula shorter

    Hello, any budy know how to make this formula shorter:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Basicly ut's this code just repeted many times:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    Re: Make a formula shorter

    How about:

    Please Login or Register  to view this content.
    Cheers,
    Last edited by ConneXionLost; 07-03-2014 at 12:09 PM.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    07-01-2014
    Location
    Sweden
    MS-Off Ver
    2014
    Posts
    51

    Re: Make a formula shorter

    Hey, Thank's mate, That was realy helpful. I appreciate it.

  4. #4
    Registered User
    Join Date
    07-01-2014
    Location
    Sweden
    MS-Off Ver
    2014
    Posts
    51

    Re: Make a formula shorter

    I also cant get this formula to work. In collumn A2:A99 i have names eg, Anna Boman and in AY2:AY99 i have prices. So i want to calculate the total price for Anna Boman. I have this formula that do not work, it calculates avery price from AY2:AY99.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The same name can accure several times.

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Make a formula shorter

    Try

    SUMMA.OM(A2:A99;"Anna Boman";AY2:AY99)

  6. #6
    Registered User
    Join Date
    07-01-2014
    Location
    Sweden
    MS-Off Ver
    2014
    Posts
    51

    Re: Make a formula shorter

    This seme to work, Is there a way to put the name before the sum? like Anna Boman "totalsum"

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Make a formula shorter

    You could do

    ="Anna Boman " &SUMMA.OM(A2:A99;"Anna Boman";AY2:AY99)

    But then the result is just a text string, the sum value would be useless in further calculations.

    I'd recommend keeping the Summa.Om formula in a cell by itself, say B2
    Then in C2 do
    ="Anna Boman " & B2

  8. #8
    Registered User
    Join Date
    07-01-2014
    Location
    Sweden
    MS-Off Ver
    2014
    Posts
    51

    Re: Make a formula shorter

    Thank's i'l try this. Is there a way for excel to automaticly pick the names in cell: A2:A99?
    What i mean is that i want to automaticly put the different names in to the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by PatrikIden; 07-03-2014 at 01:51 PM.

+ 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. Alternative Formula for multiples IFs (to make my formula shorter)
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-07-2013, 12:37 AM
  2. Make VBA code shorter
    By juanrmz24 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2013, 12:11 PM
  3. [SOLVED] How to make formula shorter ?
    By nur2544 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2012, 02:14 PM
  4. make variable shorter
    By miso.dca in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2011, 05:56 AM
  5. Make code shorter
    By Aquila in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2010, 11:09 PM

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