+ Reply to Thread
Results 1 to 5 of 5

Add column values including multiplications

  1. #1
    Registered User
    Join Date
    10-01-2017
    Location
    Maastricht
    MS-Off Ver
    2016
    Posts
    1

    Add column values including multiplications

    Hello,

    I've run into a small problem while making a database to keep track of some stuff .
    Here's what I'm trying to accomplish:

    I've got a column with values like these:


    2x €15,00
    1x €20,00
    1x €20,00; 2x €15,00
    3x €15,00


    I'd like to make a cell at the bottomthat counts how many times there's 15 and how many times there's 20 total.
    As in, the above example would mean 7x €15,00 and 2x €20,00.
    (If the output would be just "7;2" or 2 cells with just "7", "2", that would also be fine).

    If I need to split it into two columns instead of 1, that's fine, although 1 column would be preferred

    I hope someone can help me with this (if it's at all possible).

    Kind Regards,

    Chris

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Add column values including multiplications

    deleted by tim

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Add column values including multiplications

    Ok this will give an answer if pasted into A5

    However you need the custom function below

    Enter using Ctrl Shift and Enter

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


    Please Login or Register  to view this content.
    Last edited by mehmetcik; 10-01-2017 at 04:54 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Add column values including multiplications

    Sorry you also need this Macro Loaded:

    Please Login or Register  to view this content.

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Add column values including multiplications

    Enter in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter in C1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

    v A B C
    1 2x €15,00 1 0
    2 1x €20,00 1 1
    3 1x €20,00; 2x €15,00 2 1
    4 3x €15,00 3 0
    5 7;2
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Equation to check last 5 values in a column no including zeros
    By cching in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2016, 07:13 AM
  2. Replies: 5
    Last Post: 03-03-2016, 10:52 AM
  3. Summing many multiplications
    By CBR600 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2014, 06:51 AM
  4. [SOLVED] Standard Deviation for Last "n" values in a column not including blanks
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-27-2013, 11:16 AM
  5. [SOLVED] Linking Returns for Last "n" values in a column not including blanks
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2013, 05:30 PM
  6. Short way of doing this? Sum Many multiplications
    By StackOfPostItNotes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-29-2010, 08:24 PM
  7. [SOLVED] selectin all the values in a column including null values
    By Purnima Sharma in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-14-2005, 12:25 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