+ Reply to Thread
Results 1 to 6 of 6

Want to use count if in one worksheet and take data from another filtered worksheet

  1. #1
    Registered User
    Join Date
    02-04-2019
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    15

    Want to use count if in one worksheet and take data from another filtered worksheet

    Hello!
    I have a problem. I have two worksheets in a workbook. One worksheet have a table that is filtered. The other worksheet is the one where I want the data to go.

    So, I want to count if there are "S1" in a column and that table is filtered in another column. (if that makes any sense)
    I want that info to go in to the cell under 3.
    Capture.PNG

    The "S1" is in column C in worksheet "V". (worksheet "V" is filtered. I don't want the hidden data)
    I want the data to go into a cell in worksheet "VA"

    Thanks

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Want to use count if in one worksheet and take data from another filtered worksheet

    hi there. maybe:
    =SUMPRODUCT(SUBTOTAL(3,OFFSET(V!$C$2,ROW(V!$C$2:$C$5)-ROW(V!$C$2),)))

    it's explained in the file of my link below*Tips & Tutorials I Compiled, sheet 10

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-04-2019
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    15

    Re: Want to use count if in one worksheet and take data from another filtered worksheet

    Does that only sum the total of "S1" or does it sum the total of everything in that column? Because I have "S1", "S2", "S3" and "S4", but I only want "S1".

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Want to use count if in one worksheet and take data from another filtered worksheet

    ahh. missed that:
    =SUMPRODUCT(SUBTOTAL(3,OFFSET(V!$C$2,ROW(V!$C$2:$C$5)-ROW(V!$C$2),))*(V!$C$2:$C$5="S1"))

  5. #5
    Registered User
    Join Date
    02-04-2019
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    15

    Re: Want to use count if in one worksheet and take data from another filtered worksheet

    Okay, thank you! I will try that

  6. #6
    Registered User
    Join Date
    02-04-2019
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    15

    Re: Want to use count if in one worksheet and take data from another filtered worksheet

    It doesn't work. Does that formula look through all of column "C" or just between C2 and C5?

+ 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] How to Count Rows from Another Filtered Worksheet that Meet Certain Criteria
    By Leeny127 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2018, 03:24 PM
  2. Populate Worksheet # 2 based on Filtered Worksheet # 1 Data
    By parkinson5 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2014, 07:49 PM
  3. [SOLVED] Filtered Data into New Worksheet
    By bmasella in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2014, 07:46 PM
  4. Copy filtered rows in one worksheet and paste to other worksheet
    By tsiddiq23 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-04-2013, 05:13 AM
  5. Copying filtered data from one worksheet to a worksheet in another workbook
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2011, 09:13 AM
  6. Data from master worksheet auto filtered onto different worksheet
    By gdutilh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2010, 08:23 PM
  7. Transferring specific rows from fast filtered worksheet to another worksheet
    By Beginner99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2008, 04:16 AM

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