+ Reply to Thread
Results 1 to 2 of 2

Small function and row formula help

Hybrid View

  1. #1
    Registered User
    Join Date
    10-06-2014
    Location
    Cincinnati
    MS-Off Ver
    2013
    Posts
    56

    Small function and row formula help

    Hello, I have a formula and I have it working partially. The issues I have are that I need the row(1:1) to remain constant and not change. I need it to perform all 3 criteria:
    1.If A3 is in 'Reg TOD Hours'!$B$2:$B$1000
    2. B3 is in 'Reg TOD Hours'!$A$2:$A$1000
    3. D2 is in 'Reg TOD Hours'!$C$2:$C$1000

    I am trying to build it so that if ALL three criteria is met that it will pull the data in the 4th column over the hours column.

    My setup for Reg TOD Hours is Column A: Date B: Client C: Code D: Hours
    Here is the formula: =INDEX('Reg TOD Hours'!$B$2:D$1000,SMALL(AND(MATCH($A3,'Reg TOD Hours'!$B$2:$B$1000,0),MATCH($B3,'Reg TOD Hours'!$A$2:$A$1000,0),MATCH($D$2,'Reg TOD Hours'!$C$2:$C$1000,0)),ROW(1:1)),3)

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Small function and row formula help

    Maybe this array formula**:

    =INDEX('Reg TOD Hours'!D:D,SMALL(IF('Reg TOD Hours'!B$2:B$1000=A$3,IF('Reg TOD Hours'!A$2:A$1000=B$3,IF('Reg TOD Hours'!C$2:C$1000=D$2,ROW('Reg TOD Hours'!D$2:D$1000)))),ROWS(A$1:A1)))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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 Small Function works when small(array,1),small(array,2) are same ?
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2015, 02:00 AM
  2. Need a small macro function or formula
    By mrk79blr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-19-2010, 02:45 PM
  3. Use SMALL function
    By excelhelp456 in forum Excel General
    Replies: 4
    Last Post: 06-23-2009, 02:43 PM
  4. small function
    By navigator25 in forum Excel General
    Replies: 2
    Last Post: 10-24-2008, 12:24 AM
  5. Small Function
    By windme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2008, 03:13 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