+ Reply to Thread
Results 1 to 4 of 4

Use Sumif function looking up values from another worksheet

  1. #1
    Registered User
    Join Date
    09-01-2017
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    2

    Use Sumif function looking up values from another worksheet

    Hello,

    Trying to create a macro to carry out certain functions from a csv file. First step is to create a new worksheet (Sheet1) which is labelled as merged.
    1) Use only a certain set of Headers from the csv file , currently doing this using WorkSheet.Function.Match
    2) Copy two of the headers from the csv file to the new worksheet (merged), this is currently doable.
    3) remove duplicates based on Column 2 (the name is duplicated). This is currently doable.

    Problems:
    1) I need the other selected headers from WorkSheet.Function.Match in the new worksheet
    2) To do Sumif function in the new worksheet(merged) using data from the csv file, I have to do sumif for all the Match function selected headers.

    Any help is greatly appreciated.

    Thank you,
    thekid

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by vip2017; 02-21-2020 at 04:17 AM.

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Use Sumif function looking up values from another worksheet

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    - Battle without fear gives no glory - Just try

  3. #3
    Registered User
    Join Date
    09-01-2017
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    2

    Re: Use Sumif function looking up values from another worksheet

    Hello,

    Thank you for the update. I did look around and found close to a solution in one of the forms, but not exactly what I would need : ozgrid.com/forum/index.php?thread/145758-sum-of-sumif-across-multiple-sheets-using-vba/

    I was unable to post the link the first time since I got an error: You can post a link, video or image till I have posted a few times.

    thank you,

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Use Sumif function looking up values from another worksheet


+ 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. Using VBA with a SUMIF Function to populate a report worksheet
    By noboffinme in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-11-2015, 06:43 AM
  2. Sumif function using a variable worksheet name?!
    By blackcat_78uk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 06:51 AM
  3. A question about the SUMIF worksheet function.
    By mbu in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2008, 12:16 AM
  4. SUMIF function using Criteria on different worksheet
    By Taxed Mind in forum Excel General
    Replies: 2
    Last Post: 04-14-2006, 09:10 AM
  5. [SOLVED] Can I use two criteria in the SUMIF worksheet function?
    By Alan in forum Excel General
    Replies: 4
    Last Post: 11-02-2005, 06:20 PM
  6. Can I use two criteria in the SUMIF worksheet function?
    By Patricia in forum Excel General
    Replies: 0
    Last Post: 11-02-2005, 06:17 PM
  7. [SOLVED] SUMIF function referring to values on different Worksheet
    By TeeBee0831 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-03-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