Results 1 to 9 of 9

Searching matching vertical and horizontal criteria in multiple sheets

Threaded View

  1. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2502
    Posts
    13,700

    Re: Searching matching vertical and horizontal criteria in multiple sheets

    Bloozntooz,

    I noticed your profile says Excel 2003, but you uploaded an .xlsx file; try this and see if it works for you. (I don't recall when COUNTIFS was introduced or if it will work in 2003 version.)

    With a helper column listing the sheet names in R2:R3 of Tracking sheet this array-entered formula in C3 filled down and across to G6
    Formula: copy to clipboard
    =IF(SUM(COUNTIFS(INDIRECT("'"&$R$2:$R$3&"'"&"!$B$3:$B$5"),$B3,INDIRECT("'"&$R$2:$R$3&"'"&"!$c$3:$c$5"),C$2,INDIRECT("'"&$R$2:$R$3&"'"&"!$d$3:$d$5"),{"Early","Ontime","Late"})),SUM(COUNTIFS(INDIRECT("'"&$R$2:$R$3&"'"&"!$B$3:$B$5"),$B3,INDIRECT("'"&$R$2:$R$3&"'"&"!$c$3:$c$5"),C$2,INDIRECT("'"&$R$2:$R$3&"'"&"!$d$3:$d$5"),{"Early","Ontime","Late"})),"")
    Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    The file is attached.

    Does this do what you want and is it scalable for your future use? The keys are the helper range and INDIRECT.
    Attached Files Attached Files
    Last edited by FlameRetired; 04-13-2015 at 04:38 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Summing Data with Multiple Criteria on Horizontal and Vertical Axis'
    By tlscowden in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2015, 03:11 PM
  2. [SOLVED] Matching multiple criteria in two books, one data is horizontal, the other is vertical.
    By udrmichelle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2015, 04:58 PM
  3. [SOLVED] 3 criteria for horizontal and vertical matching
    By mator in forum Excel General
    Replies: 5
    Last Post: 12-24-2014, 07:19 AM
  4. 3 criteria for horizontal and vertical matching from a table
    By mator in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-24-2014, 06:28 AM
  5. Replies: 5
    Last Post: 06-06-2013, 05:12 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