+ Reply to Thread
Results 1 to 8 of 8

using Countif but also taking into account multiplier values

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    5

    using Countif but also taking into account multiplier values

    Hi,

    I have been creating a spreadsheet to track samples.

    I have been using a 'Data Validation' lists to ensure the data input can only match the desired data from a list.

    I have then created a list of the various data input option and using a 'countif' to add up the number of each sample type being tested, however sometimes the data input has only one type of test but it is repeated multiple times.

    So I need to know how can I 'countif' but also check that there is possible a multiple of the selected test and allow for a multiplication to take place. The majority of the data is only 1 test but on occasion the same test is repeated multiple times.

    I have taken some screenshots but can't get them uploaded for some reason.

    Regards

    Rezarf

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,598

    Re: using Countif but also taking into account multiplier values

    Hi

    it would be easier to attach a sample workbook(no screenshots). 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 use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    08-13-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    5

    Re: using Countif but also taking into account multiplier values

    this shows the data to be counted.

    lab book.png

    This is the countif, but it does not calculate the multiple counts for 'BLANKS', 'CUT IN', CD117 etc..

    lab book countif.png

    Regards

    Rezarf

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,598

    Re: using Countif but also taking into account multiplier values

    A picture is nice to look at but useless. Please post a sample sheet

  5. #5
    Registered User
    Join Date
    08-13-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    5

    Re: using Countif but also taking into account multiplier values

    I'm going to try it once I'm home as it doesn't seem to work while at work.

  6. #6
    Registered User
    Join Date
    08-13-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    5

    Re: using Countif but also taking into account multiplier values

    here is an extract from the spreadsheet all sensitive material removed.

    Hope this helps

    log book test.xlsx

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: using Countif but also taking into account multiplier values

    In B31

    =SUMPRODUCT(($B$2:$I$27=A31)*$A$2:$A$27)

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  8. #8
    Registered User
    Join Date
    08-13-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    5

    Re: using Countif but also taking into account multiplier values

    Quote Originally Posted by Ace_XL View Post
    In B31

    =SUMPRODUCT(($B$2:$I$27=A31)*$A$2:$A$27)

    Copy down
    ...........

    Thank you so much, works perfect.

    Rezarf

+ 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] Countif not taking entire cell into account.
    By Phixer in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-27-2014, 01:31 PM
  2. Countif Formula taking into account start dates
    By Revolution in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2013, 12:17 PM
  3. Taking into account lead times when ordering
    By Turvy86 in forum Excel General
    Replies: 5
    Last Post: 12-30-2009, 03:57 PM
  4. Taking into account lead times ...
    By Turvy86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2009, 02:25 PM
  5. Taking in account additional rows
    By JB12 in forum Excel General
    Replies: 3
    Last Post: 12-27-2005, 02:10 PM

Tags for this Thread

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