+ Reply to Thread
Results 1 to 2 of 2

Trying to add number in columns

  1. #1
    Registered User
    Join Date
    12-13-2016
    Location
    Germantown TN
    MS-Off Ver
    office 16
    Posts
    1

    Trying to add number in columns

    Tying to add the totals for each each month for the same item. Have a list of about 200 different MFGID numbers and done want to just go through each one and insert a row and then add.


    MFGID DIV LTFCST Oct Nov Dec Jan Feb
    16S2-25SG10M 002 22.85 0 0 1 1 0
    16S2-25SG10M 004 17.53 2 7 6 7 6
    16S2-25SG10M 005 19.57 0 1 1 1 1
    16S2-25SG10M 006 43.31 0 0 0 0 0
    16S2-25SG10M 007 15.00 9 8 8 9 8
    16S2-25SG10M 009 21.08 0 0 1 0 1
    16S2-38GAL 009 21.08 0 0 0 0 0
    16S4-31SG10M 002 14.42 0 1 1 1 1
    16S4-31SG10M 004 17.53 1 5 4 5 4
    16S4-31SG10M 005 19.57 0 1 1 1 1
    16S4-31SG10M 006 18.73 0 0 0 0 0
    16S4-31SG10M 007 15.66 0 1 0 0 0
    16S4-31SG10M 009 22.16 1 3 2 0 0
    16S4-50SG10M 002 14.42 1 2 2 2 2
    16S4-50SG10M 004 25.49 5 18 8 3 7
    16S4-50SG10M 005 19.57 3 10 10 11 9
    16S4-50SG10M 006 15.85 0 3 4 4 4
    16S4-50SG10M 007 15.00 1 5 4 5 4
    16S4-50SG10M 009 21.08 0 3 1 1 2

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Trying to add number in columns

    Hi, welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

    I would probably use the SUMIF function though.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Adding columns based on start column and number of columns...
    By zSarzie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2017, 11:30 PM
  2. VBA: Multiple text and number columns. Find list and number of unique words
    By first_jaguar in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-14-2017, 09:58 PM
  3. [SOLVED] Copy multiple columns x number of times based on variable number?
    By nobodyukno in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2017, 04:13 PM
  4. Replies: 6
    Last Post: 11-25-2015, 01:01 PM
  5. sorting columns based on row criteria, with variable number of columns
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-02-2014, 04:02 PM
  6. [SOLVED] Define a range of fixed number of columns, but unlimited number of rows
    By ccopac in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-22-2012, 02:23 PM
  7. [SOLVED] Compare columns, replace matching number with reference number and fill down random amount
    By datadigger in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-04-2012, 10:53 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