+ Reply to Thread
Results 1 to 6 of 6

multiply countifs by value in different column of same row

  1. #1
    Registered User
    Join Date
    08-23-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    multiply countifs by value in different column of same row

    Hey all,

    I'm trying to do a countifs formula that find the last value in a row, and counts it if it meets the criteria, but multiplies that count by a quantity in the same row before counting it up. That's probably a poor job explaining, so I've attached a worksheet with an example.

    Currently I'm using =COUNTIFS(E9:Q12,"BO",F9:R12,"") to essentially count the "BO" if it's the last item in the row. If that case is true, I want to multiple that count of "1" by the value in column D of the same row, then sum up those cases for "A" and "T" as well. I'm wondering if a sumproduct needs to be used, but no idea how to use it to make what I'm looking for work. Any help would be greatly appreciated.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: multiply countifs by value in different column of same row

    can you look at the attachment, thanks.


    sumiftodayindex.xlsx

    i used

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    i unmerge the cells in the date rows.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    08-23-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: multiply countifs by value in different column of same row

    A real good shot, but unfortunately cant count on today().

    I wish I could use the match formula with today(), but these statuses are not automatically input. They're a manual input by people, who don't necessarily do it first thing in the morning. It may not status until late morning or early afternoon, so I need it to be whatever the farthest right value in each row to be the value it counts.

    There are about 300 sections just like this, for different part numbers, all calculated separately, so they may also only have half everything updated, so even just picking any one column won't necessarily work. It needs to just count whatever is the farthest right value in each row. Using index seems like a real good bit though, if there's someway to reference whatever column has the last value in each row (so essentialy moving column reference for each row), then that would work.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: multiply countifs by value in different column of same row

    any possibility of uncomplete entry in a certain column say

    oct 10 column

    blank so this cell is blank but the remaing contains entry
    BO
    A
    T

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: multiply countifs by value in different column of same row

    try this

    array formula press ctrl+shift+enter

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-23-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: multiply countifs by value in different column of same row

    Quote Originally Posted by vlady View Post
    any possibility of uncomplete entry in a certain column say

    oct 10 column

    blank so this cell is blank but the remaing contains entry
    BO
    A
    T
    Yes, this is quite possible.

+ 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. how to multiply row and column
    By dinatamrakar in forum Excel General
    Replies: 1
    Last Post: 09-20-2013, 08:52 AM
  2. Replies: 1
    Last Post: 07-12-2012, 02:29 PM
  3. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  4. multiply column
    By jokerboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2011, 11:04 AM
  5. Replies: 8
    Last Post: 08-06-2009, 09:02 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