+ Reply to Thread
Results 1 to 5 of 5

matching with two condition

Hybrid View

  1. #1
    Registered User
    Join Date
    03-23-2012
    Location
    Haryana, Delhi NCR, Bangalore.
    MS-Off Ver
    Excel 2003, 2007
    Posts
    44

    matching with two condition

    Hi,
    i want to match a column with 2 condition.

    Ist is Number and 2nd is date but where i want to match my date is in header. excel sheet attach.
    Attached Files Attached Files
    Thanx & Regards,
    Naveen Pundir

  2. #2
    Forum Contributor CheshireCat's Avatar
    Join Date
    10-11-2011
    Location
    Victoria, Canada
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    258

    Re: matching with two condition

    Try this:

    =SUMPRODUCT(--($A$2:$A$14=$G2),--($C$2:$C$14=H$1),$B$2:$B$14)
    Docendo discimus.

  3. #3
    Registered User
    Join Date
    07-19-2012
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: matching with two condition

    I might have misundestood the question but this
    formula look up the count corresponding to the date.
    Paste this formula in H2 and copy to the right.
    =INDEX($B$2:$C$14,MATCH(H$1,$C$2:$C$14,0),1)

    Vidar

  4. #4
    Registered User
    Join Date
    03-23-2012
    Location
    Haryana, Delhi NCR, Bangalore.
    MS-Off Ver
    Excel 2003, 2007
    Posts
    44

    Re: matching with two condition

    thanx a lot ...it working..

    ---------- Post added at 11:39 PM ---------- Previous post was at 11:37 PM ----------

    Quote Originally Posted by CheshireCat View Post
    Try this:

    =SUMPRODUCT(--($A$2:$A$14=$G2),--($C$2:$C$14=H$1),$B$2:$B$14)
    Thanx a lot ..it's working..

  5. #5
    Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 360
    Posts
    600

    Re: matching with two condition

    Or this...

    =SUMIFS($B$2:$B$14,$A$2:$A$14,$G2,$C$2:$C$14,H$1)

+ 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