+ Reply to Thread
Results 1 to 6 of 6

Multiple variable count on a separate sheet

  1. #1
    Registered User
    Join Date
    07-23-2012
    Location
    Irvine ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    Multiple variable count on a separate sheet

    Primary Secondary
    F V
    P T
    F T
    L V
    H Y
    F V
    T T
    X V
    F I
    F T
    T T
    P V
    H V
    Z SC
    H V
    F V
    L V
    H Y
    F I
    Sheet 1 contains two columns (above) titled "Primary" and "Secondary". On sheet 2 needs to enter a formula that gives a count of e.g. "FV"s ("F" from "Primary" column that matches with "V" in "Secondary" column. This is for Excel 2003.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,988

    Re: Multiple variable count on a separate sheet

    You get better help if you post an Excel-example of your workbook, without confidential information.
    Make sure the workbook demonstrates your desired results if possible, or just highlight the cells you're trying to fix.
    Use BEFORE/AFTER sheets if that helps make it clearer.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    07-23-2012
    Location
    Irvine ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Multiple variable count on a separate sheet

    Primary Seconadry
    F

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,417

    Re: Multiple variable count on a separate sheet

    try something like (change the ranges according to your specification):

    Please Login or Register  to view this content.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  5. #5
    Registered User
    Join Date
    07-23-2012
    Location
    Irvine ca
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Multiple variable count on a separate sheet

    When i popsted the spread sheet it dstincly shows two columns "primary" and "secondary" with associated values. However, values from "secondary" column are shifted to "primary" column. Primary column has only a single letter as a value.

    ---------- Post added at 10:40 AM ---------- Previous post was at 10:33 AM ----------

    Tried this formula, did not work. Tried COUNTIF did not work.
    =SUMPRODUCT(Sheet1(A2:A10="F")*Sheet2(B2:B20="V"))

    Needs result that gives a ount of number of Flow (control) Valves (FVs).

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,417

    Re: Multiple variable count on a separate sheet

    ranges have got to be of identical size - Sheet1 and Sheet2 should be inside the bracket - "--" needs to be added:

    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)

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