+ Reply to Thread
Results 1 to 4 of 4

Simple Question based on 2 Criteria

  1. #1
    Forum Contributor
    Join Date
    10-20-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    108

    Simple Question based on 2 Criteria

    A simple array that I am using isn't working as expected and I don't know why.

    Could anyone help?

    I have put into a simple format so it should be easy to assist.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Simple Question based on 2 Criteria

    AND doesn't give you separate results for each column, you will either get all 1s (only when all 8 values in A2:D3 = B5) or all zeroes (for all other scenarios) - to get a separate result for each column use * like this

    =IF((B5=A2:D2)*(B5=A3:D3),1,0)

    or just this will give the same result

    =(B5=A2:D2)*(B5=A3:D3)
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    10-20-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    108

    Re: Simple Question based on 2 Criteria

    Thank you for this answer.

    You showed me that arrays do not work with logical functions and enabled me to learn how to replace them to make them work.

    For anyone seeking an answer to this or similar, I am posting the link below.

    http://dailydoseofexcel.com/archives...rray-formulas/

  4. #4
    Registered User
    Join Date
    07-21-2021
    Location
    USA
    MS-Off Ver
    2014
    Posts
    1

    Importing word file and Access file into Excel.

    Hello, I try to import word file and Access file into Excel so I don't need to type the data again in Excel Sheet.
    How can I import them into Excel Form and is there any website showing the instruction step by step by using pictures?

+ 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. Replies: 7
    Last Post: 02-17-2014, 04:48 AM
  2. Simple solution. Criteria based conditional formatting. (Index match) HELP!
    By omni13 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-18-2013, 12:11 PM
  3. [SOLVED] Puzzled by a simple forumla to sum times based on date criteria
    By lsteinbach in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-10-2013, 02:58 PM
  4. Simple Criteria Question. Help appreciated
    By rename in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-13-2012, 07:02 AM
  5. A simple question requiring a simple answer
    By Pedros in forum Excel General
    Replies: 3
    Last Post: 07-18-2006, 06:45 AM
  6. [SOLVED] Criteria based sum question
    By masik in forum Excel General
    Replies: 6
    Last Post: 06-07-2006, 02:35 AM
  7. Simple Simple Excel usage question
    By BookerW in forum Excel General
    Replies: 1
    Last Post: 06-23-2005, 05:05 PM

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