+ Reply to Thread
Results 1 to 3 of 3

Extacting select rows to email

  1. #1
    Registered User
    Join Date
    03-21-2018
    Location
    Cleveland, Ohio
    MS-Off Ver
    Office 365
    Posts
    1

    Extacting select rows to email

    I have a situation where I have a report that I receive every week, that needs to be parsed by a value in column A, and copied and pasted into an email for distribution.

    Location Values Values
    001 $12,350 $12,000
    001 $12,450 $13,000
    001 $12,550 $14,000
    002 $12,650 $15,000
    002 $12,850 $16,000
    003 $12,350 $17,000
    003 $12,250 $18,000
    004 $12,150 $19,000


    I want to send an email to location 001, which has a unique email address, that includes all of rows for location 001. Then I want to send an email to location 002, which has a unique email address, that includes all rows for that location, and so on for each loaction. Can anyone help this newbie? I'm using Office 365.

    Thanks!

    Rob

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Extacting select rows to email

    I'd make use of a pivot table to get the unique list of names in column A and then a second pivot table to gather data by those names and then mail the results.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Extacting select rows to email

    the code below will filter the data by each email then send only that data

    but your data has no addresses...you must add them (according to LOCATION?) ...
    below it gets the email in col(F)

    Please Login or Register  to view this content.

+ 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] Select last row in column A and select 49 rows up, copy results to A2
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2016, 02:59 PM
  2. Extacting text up to a SPECIFIC CHARACTER. How?
    By JPWRana in forum Excel General
    Replies: 7
    Last Post: 11-08-2015, 06:10 PM
  3. Email Reminder for Highlighted Rows & Email Addresses
    By xerksis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2015, 02:46 AM
  4. [SOLVED] Re: Loop through the rows and extract unique email id's to generate email drafts
    By spiwere in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 01-28-2014, 04:12 AM
  5. Code to prevent user to Select COLUMNS but allow to select ROWS
    By tengrosita in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-05-2011, 03:46 AM
  6. Replies: 1
    Last Post: 02-16-2010, 03:02 PM
  7. Extacting data according to cell contents
    By WTB in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-11-2009, 12:51 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