+ Reply to Thread
Results 1 to 4 of 4

Sumarize values into cells

  1. #1
    Forum Contributor
    Join Date
    12-23-2009
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    180

    Sumarize values into cells

    Hello again all smart folks,

    And i have to represent operation into cells but result have to be a real number,

    all this i tried to explain in mz attached sample.

    Thnk u in advance for your effort.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Sumarize values into cells

    In E2:

    =LEFT(A2,FIND("x",A2)-1)*RIGHT(A2,FIND("x",A2))+LEFT(B2,FIND("x",B2)-1)*RIGHT(B2,FIND("x",B2))+LEFT(C2,FIND("x",C2)-1)*RIGHT(C2,FIND("x",C2))+LEFT(D2,FIND("x",D2)-1)*RIGHT(D2,FIND("x",D2))

    Or you can use the below array:

    =SUM(LEFT(A2:D2,FIND("x",A2:D2)-1)*RIGHT(A2:D2,FIND("x",A2:D2)))

    This needs you confirming the formula by pressing CTRL+SHIFT+ENTER

    If you are unfamiliar with arrays then I recommend using the first method to avoid any issues.
    Say thanks, click *

  3. #3
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Sumarize values into cells

    In cell E2...

    =SUMPRODUCT(LEFT(A2:D2,FIND("x",A2:D2)-1)*RIGHT(A2:D2,LEN(A2:D2)-FIND("x",A2:D2)))

  4. #4
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Sumarize values into cells

    Ah good old sumproduct, I always overlook this function for some reason...

+ 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. Replies: 4
    Last Post: 07-17-2013, 07:20 PM
  2. Replies: 3
    Last Post: 04-24-2013, 05:33 PM
  3. Adding cells with values but if cells do not have values then return blank
    By jonnykhan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-13-2012, 12:07 PM
  4. [SOLVED] How to sumarize two different VAT amounts?
    By maxhyber in forum Excel General
    Replies: 3
    Last Post: 01-12-2010, 01:09 PM
  5. Replies: 6
    Last Post: 12-09-2008, 10:24 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