+ Reply to Thread
Results 1 to 3 of 3

Return Value Based on Two Conditions

  1. #1
    Registered User
    Join Date
    02-06-2015
    Location
    Philadelphia, PA
    MS-Off Ver
    2010
    Posts
    9

    Return Value Based on Two Conditions

    Excel Help 2-12.png

    I'm trying to get Excel to return a value to one cell based on it two conditions are met. I've highlighted everything to match in the picture attached, but I will try to explain in as much detail as I can what I'm looking for. I would like to be able to put a formula in to C4 that I can copy down. I would like to have Excel check the information contained within J4 through M13 for two conditions. If the Facility Code in Column A and Column J Match and the Account Code in Cell C1 and Column K match, then it should return the account balance in Column M.

    I’ve tried VLoopUp as well as Index and Match formulas without much luck (although admittedly, I may have entered some information incorrectly or used them improperly as I’m still a bit green when it comes to those formulas :P). Is this something even possible in Excel? I have to sort through about 1500 lines of data total out each different account, so I was hoping there was a formula to make it easier.

    Any help would be greatly appreciated. Thank you!

  2. #2
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: Return Value Based on Two Conditions

    Take a look at the Sumifs function
    Please consider adding a * if I helped.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Return Value Based on Two Conditions

    Hi Jill,

    Find the attached with the needed formula. This is one of those Ctrl+Shift+Enter formulas where you can't just press enter when you are done with the formula. You need to hold down the Ctrl+Shift keys and then press Enter. They call these types of formulas CSE or Array formulas.

    Here is my example workbook showing how they work.

    Also look at this site for more help on this question:
    http://spreadsheets.about.com/od/loo...s-tutorial.htm
    Last edited by MarvinP; 02-12-2015 at 06:03 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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] Lookup and Return Value Based On 2 Conditions
    By PatrickDC in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-18-2013, 01:40 AM
  2. [SOLVED] return count value based on several conditions
    By Arturas in forum Excel General
    Replies: 3
    Last Post: 05-06-2012, 12:23 PM
  3. return count value based on several conditions
    By Arturas in forum Access Tables & Databases
    Replies: 3
    Last Post: 05-06-2012, 12:23 PM
  4. return value based on two conditions
    By sly424 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-07-2007, 01:43 PM
  5. How do I return a value based on multiple possible conditions?
    By nevermore627 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2006, 08: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