+ Reply to Thread
Results 1 to 9 of 9

Trying to add numbers to a total based on the numbers above.

  1. #1
    Registered User
    Join Date
    07-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2007
    Posts
    8

    Trying to add numbers to a total based on the numbers above.

    I'm trying to make an inventory spreadsheet that scans for numbers in the spreadsheet and then adds the amount of the said item to a total value in another sheet. There is a warehouse and products can be everywhere, but I do not know exactly which products will be where.

    Numbers are written into said spreadsheet as 1001(ID);60(amount). Then underneath that I am pulling the numbers before the semicolon, and after the semicolon. These numbers are below in ID and AMOUNT sections in the spreadsheet. I just need a way to scan for all the numbers and then pull the number below it into a total value that when all the values for that product are pulled, will display the total amount. (Sorry for the convoluted and messy explanation).

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Trying to add numbers to a total based on the numbers above.

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2007
    Posts
    8

    Re: Trying to add numbers to a total based on the numbers above.

    Thanks for your quick response. I believe that this response will contain the sample file. Keep in mind that the numbers may change and there will be around 800 different items. Sorry, I understand that this may be very easy, but I am very inexperienced when it comes to any sort of VBA code like this requires (or I believe requires).
    Attached Files Attached Files
    Last edited by beeker223; 07-14-2017 at 10:51 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Trying to add numbers to a total based on the numbers above.

    What does ADD AMOUNT HERE mean? How can we help properly if your maths is off? We need accurate manually entered data so that we know what we are aiming to achieve for you. Could you please clarify what and where you are expecting us to provide a formula?

  5. #5
    Registered User
    Join Date
    07-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2007
    Posts
    8

    Re: Trying to add numbers to a total based on the numbers above.

    Add amount here is where I want the totals to be added, but I moved them 1 to the right to show this. The data should be entered correctly and what I want it to do is scan/search for a number, and based on the number, add it to the corresponding total value. (Sorry I know I can be messy sometimes). Again thanks for the quick response and the help sorry for the trouble.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Trying to add numbers to a total based on the numbers above.

    OK - have you corrected the maths?

  7. #7
    Registered User
    Join Date
    07-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2007
    Posts
    8

    Re: Trying to add numbers to a total based on the numbers above.

    Yes I believe they are correct.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,806

    Re: Trying to add numbers to a total based on the numbers above.

    Thanks. I have to go offline shortly, but I hope someone will see what they can do to help you.

  9. #9
    Registered User
    Join Date
    07-14-2017
    Location
    Miami, Florida
    MS-Off Ver
    2007
    Posts
    8

    Re: Trying to add numbers to a total based on the numbers above.

    Thank you very much Ali.

+ 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. [SOLVED] Highlight cell based on total quantity value based on repeated order numbers
    By PWilson0727 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2014, 02:02 PM
  2. [SOLVED] Separate total of negative numbers and positive numbers.
    By avidcat in forum Excel General
    Replies: 3
    Last Post: 04-06-2014, 07:26 PM
  3. Creating a Total values in a table based on cheque numbers
    By highlystrung in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-18-2013, 09:55 AM
  4. [SOLVED] Total progress based on weighted numbers
    By maximelling in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 09:14 AM
  5. Replies: 0
    Last Post: 05-14-2013, 05:12 PM
  6. Replies: 11
    Last Post: 11-23-2011, 04:39 AM
  7. Calculate total numbers based on percentages
    By FM1 in forum Excel General
    Replies: 2
    Last Post: 02-09-2009, 08:15 AM

Tags for this Thread

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