+ Reply to Thread
Results 1 to 20 of 20

Comparing two columns, and returning values in the 4th column from the 3rd column

Hybrid View

  1. #1
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Comparing two columns, and returning values in the 4th column from the 3rd column

    This should give you a start. There is a problem with your drop down list. It is showing an error of numbers stored as TEXT. This is a result of the formula that produces the numbers for the drop down list. They are TEXT numbers. To convert them to "real" numbers multiply the formula that creates the list by 1 or do some other math operation like +0. The formula then becomes:
    Formula: copy to clipboard

    =IFERROR(INDEX($A$2:$A$120, MATCH(0, IF(LEN($A$2:$A$120), COUNTIF($K$1:$K1, $A$2:$A$120), 1), 0))*1, "")
    enter with Ctrl + Shift + Enter

    The formula for the name ABC can now be:

    Formula: copy to clipboard
    =OFFSET(BillExpenses!$K$2, 0, 0, COUNT(BillExpenses!$K$2:$K$120))


    This makes ABC a dynamic list.

    I filled in part of the PV worksheet, the rest if needed, I think you can figure out.

    The numbers in column A of the first worksheet were again TEXT. I clicked on the error message and converted the numbers to real numbers. Unless there is a reason to have numbers as TEXT leave them as NUMBERS by default.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Replies: 2
    Last Post: 11-14-2013, 01:44 PM
  2. Comparing 2 columns and returning a value of a 3rd column
    By usmc0331 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2013, 10:55 AM
  3. Replies: 8
    Last Post: 12-25-2011, 08:39 PM
  4. comparing values and returning different column
    By JustMe602 in forum Excel General
    Replies: 12
    Last Post: 06-01-2007, 11:40 AM
  5. [SOLVED] Comparing values and returning the column heading
    By Steven Brobst in forum Excel General
    Replies: 3
    Last Post: 02-04-2005, 10:06 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