+ Reply to Thread
Results 1 to 3 of 3

Tricky formula to match data in 3 column or disregard a column if not applicable

  1. #1
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Tricky formula to match data in 3 column or disregard a column if not applicable

    I need assistance with a formula to look up 3 criteria - Job, State and Location (if applicable) otherwise if Location is not applicable, then only pull based on Job and State. Basically, I'm trying to pull in rates for different locations that have a unique rate (ie: Location 1 1) but for all other locations in Arizona (Location 2) it would disregard column L and just use the standard rate in column N. Column L throws me off since I want to say that if the name is not listed in column L and it's blank, then just use the standard rate.

    I've already tried a sumproduct formula and an index match array but neither fully work. Although they both seem sound and logical, they don't always pull in the correct data. Please help!!!

    =(C$10>=$B11)*SUMPRODUCT(($K$5:$K$18=$A11)*($L$5:$L$18=IF(COUNTIF($L$5:$L$18,$A$5),$A$5,""))*($M$5:$M$18=$A$7)*$N$5:$N$18)

    ={(IF(C$10>=$B11,INDEX($K$5:$N$18,IFERROR(MATCH($A11&$A$7&$A$5,$K$5:$K$18&$M$5:$M$18&$L$5:$L$18,0),MATCH($A11&$A$7,$K$5:$K$18&$M$5:$M$18,0)),4),"-"))}
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Tricky formula to match data in 3 column or disregard a column if not applicable

    try below formula in c11, copy and paste across
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    02-08-2020
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    66

    Re: Tricky formula to match data in 3 column or disregard a column if not applicable

    Perfect. Thank you!

+ 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. [SOLVED] Help with Sumproduct formula to disregard a column if not applicable.
    By tml2424 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-24-2020, 02:00 AM
  2. [SOLVED] Compare 1 column with another column and match data in next column
    By screambeam in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2015, 02:49 AM
  3. [SOLVED] Copy data in column A to every applicable row in group
    By cindywylie in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-14-2014, 06:50 AM
  4. Copy data from column K to column B if Column C and column I match
    By goog2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2013, 12:19 PM
  5. [SOLVED] Tricky: Sum if either column contains value AND third column contains EITHER of two values
    By omahacrab in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-10-2012, 02:17 PM
  6. Tricky problem with column reference in formula
    By judasdac in forum Excel General
    Replies: 5
    Last Post: 08-14-2009, 03:44 PM
  7. Conditional formatting applicable to entire column
    By jackalx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-26-2005, 12:20 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