+ Reply to Thread
Results 1 to 5 of 5

VBA/ Macro to total columns with matching text in cells

  1. #1
    Forum Contributor
    Join Date
    05-11-2020
    Location
    Kansas City
    MS-Off Ver
    Office 365
    Posts
    142

    VBA/ Macro to total columns with matching text in cells

    Good Morning,

    I am trying to create VBA/ Macro that will be used to total columns F and I when the data in those specific cells match. I will be pasting data daily that is retrieved from a database into this sheet on a new tab that will be named by the date the data is pulled (Ex. 11.20.2020). I have a separate tab named Position Totals that I would like the data pulled to. If it is possible I would like for the date to be populated based on the current date. I am very new to this and probably butchered what I am actually trying to do, but any help would be greatly appreciated. I am currently inserting rows between each group and placing a COUNTA formula to total each group. I know that there has to be a more efficient way to accomplish this.

    Thank you in advance,

    Adam
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: VBA/ Macro to total columns with matching text in cells

    Please share what the final result should look like. It is not clear what the final result should look like.

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: VBA/ Macro to total columns with matching text in cells

    I made an assumption that you wanted the position sheet filled with this information

    pp.png

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by maniacb; 11-23-2020 at 11:09 AM.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,464

    Re: VBA/ Macro to total columns with matching text in cells

    Try
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-11-2020
    Location
    Kansas City
    MS-Off Ver
    Office 365
    Posts
    142

    Re: VBA/ Macro to total columns with matching text in cells

    Thank you maniacb! That is exactly what I was trying to do. I appreciate your help!

+ 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: 6
    Last Post: 11-16-2017, 08:21 PM
  2. [SOLVED] sum up n cells from 1 to n and color them if total isn't matching
    By Tr33 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2017, 05:33 AM
  3. [SOLVED] Macro to Total a Column Up 15 cells and place total in cell of last row
    By guitarsweety in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2014, 05:25 PM
  4. [SOLVED] Macro to Check if Cells Contain Matching Text
    By rmmohan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2013, 05:40 PM
  5. Creating a total (sum) of items matching a text value
    By Decibel_116 in forum Excel General
    Replies: 4
    Last Post: 03-16-2012, 10:27 AM
  6. Replies: 4
    Last Post: 06-28-2011, 07:14 PM
  7. Compare cells/columns and highlight matching text strings
    By luxbelle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-25-2005, 06:06 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