+ Reply to Thread
Results 1 to 5 of 5

Searching table for text, when table contains blanks

  1. #1
    Registered User
    Join Date
    02-20-2015
    Location
    New Jersey, USA
    MS-Off Ver
    Excel for Mac 2011
    Posts
    14

    Searching table for text, when table contains blanks

    Hello. Very frustrated, as I've been working on this for several days.
    I am working with a Profit & Loss statement from Quickbooks, and exporting that P&L to a spreadsheet. In doing so, Quickbooks arranges the P&L information into a total of 9 columns (and roughly 300 rows) of information; each row has a unique account name written in one of the columns. Thus, the 9th column is the dollar amount associated with a specific account that is listed in one of the first 8 columns - in other words., the account name that references that dollar amount (in the 9th column) might show up in any of the 8 columns, and the other 7 columns for that account row are blank. (I've verified the blank spaces are always blank and don't contain extra spaces/letters/etc.)

    I need a formula (and have been trying index/match without success) that searches all the columns for a specific account name, and then returns the dollar amount from the 9th column once it finds the account name. The third post has a spreadsheet attached, and shows the example of what I'm trying to achieve.
    An example of how the chart could look is:
    Col1 Col2 Col3 DollarAmount
    Income (blank) (blank) $100
    (blank) Cash (blank) $200
    (blank) (blank) Checks $300

    So, if the search field had "Cash" written into it, I would want it to display "$200" as the result. The error I keep getting is that it says the formula "refers to empty cells".
    Any assistance would be greatly appreciated!
    Last edited by jimavet; 02-22-2015 at 12:43 PM.

  2. #2
    Registered User
    Join Date
    11-16-2014
    Location
    New York
    MS-Off Ver
    2011
    Posts
    25

    Re: Searching table for text, when table contains blanks

    Give an example? Looks like its a simple function. Attached a spread sheet that shows the data and the result you want.

  3. #3
    Registered User
    Join Date
    02-20-2015
    Location
    New Jersey, USA
    MS-Off Ver
    Excel for Mac 2011
    Posts
    14

    Re: Searching table for text, when table contains blanks

    ExampleProfitLoss.xlsx
    Here is a quick version of what I am working with. I have not set up any index names, but only created fictitious data to show what I want. The data from Quickbooks will be copied into the first three columns in this example. I will have pre-existing accounts listed in the tan-colored cells; the green-colored cells will then search the first three columns and match all the accounts listed in the tan-colored cells to display a summation result in the green-colored cells. In the spreadsheet I've attached the results in the green-colored cells have obviously been manually written in, to show you what the final display should look like. Thank you!

  4. #4
    Registered User
    Join Date
    02-20-2015
    Location
    New Jersey, USA
    MS-Off Ver
    Excel for Mac 2011
    Posts
    14

    Re: Searching table for text, when table contains blanks

    Bumping in case anyone is able to help solve this for me - thanks!
    Last edited by jimavet; 02-24-2015 at 12:49 PM.

  5. #5
    Registered User
    Join Date
    02-20-2015
    Location
    New Jersey, USA
    MS-Off Ver
    Excel for Mac 2011
    Posts
    14

    Re: Searching table for text, when table contains blanks

    Help, anyone?

+ 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] Pivot table blanks
    By behrensf84 in forum Excel General
    Replies: 7
    Last Post: 03-31-2014, 04:48 PM
  2. Looking for the best way to condense table with blanks
    By InterstateRentals in forum Excel General
    Replies: 2
    Last Post: 01-23-2014, 07:20 PM
  3. searching a particular row of Table 2 in Table 1
    By aks_p123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-25-2013, 08:33 AM
  4. Pivot table with blanks
    By timlocke in forum Excel General
    Replies: 4
    Last Post: 07-15-2011, 02:19 PM
  5. Get Pivot Table To Ignore Blanks
    By StevenAFC in forum Excel General
    Replies: 2
    Last Post: 09-11-2007, 05:06 AM

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