+ Reply to Thread
Results 1 to 5 of 5

Checking 2 values to update a cell

Hybrid View

  1. #1
    Registered User
    Join Date
    10-01-2012
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    51

    Checking 2 values to update a cell

    Hey guys, I'm making an excel calendar of sorts but am running into trouble when I want to mark a line item as 'Scheduled'. Now, it is only 'Scheduled' if the Item ID and Regional Name match from the calendar to the deals list. So, there are multiple Item IDs but in different regions meaning a simple countif wouldn't work.

    Any help would be appreciated. A sample of the workbook has been attached.

    Thanks and KCCO
    Attached Files Attached Files
    KCCO

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Checking 2 values to update a cell

    =SUMPRODUCT((Calendar!$C$2:$C$16=B2)*(Calendar!$D$2:$CQ$16=A2))>0 ??
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

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

    Re: Checking 2 values to update a cell

    In D2 of 'Deals list'

    =COUNTIF(INDEX(INDEX(Calendar!$D$2:$CQ$16,MATCH(B2,Calendar!$C$2:$C$16,0),0),0),A2)>0

    TRUE indicates 'scheduled', FALSE indicates 'not scheduled'
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Checking 2 values to update a cell

    Hi,

    In D2:

    =IF(SUMPRODUCT((Calendar!$D$2:$CQ$16=[@StorefrontItemID])*(Calendar!$C$2:$C$16=[@[Storefront Item Region]]))>0,"Yes","")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Registered User
    Join Date
    10-01-2012
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: Checking 2 values to update a cell

    Great that's perfect. Thanks guys!

+ 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