+ Reply to Thread
Results 1 to 2 of 2

How to return a value in a row if column A contains "income" and column b does not contain

  1. #1
    Registered User
    Join Date
    01-25-2016
    Location
    Utah
    MS-Off Ver
    2015
    Posts
    1

    How to return a value in a row if column A contains "income" and column b does not contain

    I'm trying to create a sheet that automatically rearranges the financial reports generated from quickbooks.

    In column A, I have our accounting codes (i.e. "income")
    In column B, I have the actual performance numbers.
    In column C, I have the budgeted numbers.

    If nothing has been booked in the month, column B shows 0.

    I need Excel to find a code in column A ("Income") and return the value on the same row in column B (actual performance) unless that value is 0 (month hasn't happened yet), in which case I need it to return the value in the same row in column C (the budgeted amount).

    I was using this: =IF(B1=0,C1,INDEX(A:A,MATCH("Income",B:B,0))) but the IF statement will break if my rows change from month to month (which they will depending on if codes are unused during that month).

    I'm starting to see double and am getting Excel-brain-overload. Can anyone help out?
    Last edited by nghodges; 01-25-2016 at 07:15 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Complicated

    title updated....

    Try:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 01-25-2016 at 08:09 PM.
    Ben Van Johnson

+ 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. Its complicated....
    By JacksonC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2015, 06:33 PM
  2. [SOLVED] Complicated Look UP
    By Excel Dumbo in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-03-2013, 09:39 PM
  3. complicated SUM
    By dz6kb4 in forum Excel General
    Replies: 3
    Last Post: 12-07-2008, 10:38 AM
  4. This is more complicated than it looks.
    By dollarbill79 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-13-2006, 06:35 PM
  5. [SOLVED] Something perhaps a little complicated
    By brodiemac in forum Excel General
    Replies: 1
    Last Post: 06-13-2006, 10:15 AM
  6. [SOLVED] Complicated
    By Brett in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2006, 11:35 AM
  7. It's getting a bit complicated
    By Ctech in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2005, 05:24 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