+ Reply to Thread
Results 1 to 2 of 2

Look Up with variable values

  1. #1
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Canada
    MS-Off Ver
    Office 2010
    Posts
    129

    Look Up with variable values

    Hello,

    I'm comparing 2 sets of data for accounts that are of the same value.

    My V-Look Up is comparing column A in the 'Account Summary' tab with column D in the 'Tableau April' tab. The result is shown in column C in the 'Account Summary' tab.

    My problem is one set of data may have ending zeros that the other set of data does not. For example on the "Account Summary" tab cell A3 has the value "4352.1" and cell D13 has the value "43521.100" this would be the same account.

    Would it be possible to change the look-up formula to disregard the ending zeros if the numbers preceeding the zeros are match?

    Any help on this would be greatly appreciated
    Last edited by leebird; 06-11-2020 at 07:02 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Look Up with variable values

    Quote Originally Posted by leebird View Post
    ...My problem is one set of data may have ending zeros that the other set of data does not....
    No, your problem is that Summary Acc No contains (mostly) values, but Month Acc No contains text - they are not the same.

    Try this...
    =IFERROR(VLOOKUP(A3&"*",'Tableau April'!D:P,13,FALSE),"Not Found")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Variable list of Variable Values
    By jacob@thepenpoint in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2014, 11:23 AM
  2. Summing variable values across variable sheets in multiple columns
    By rdelosh74 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 02:16 PM
  3. [SOLVED] Assign entire row to variable, how do you paste variable values in a new workbook?
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 08:01 PM
  4. Replies: 0
    Last Post: 08-13-2012, 09:09 AM
  5. [SOLVED] Sum values in column based on variable values in 3 other columns
    By Winon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-03-2012, 10:13 AM
  6. Assigning variable values to Values and XValues
    By molap in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-12-2012, 04:15 AM
  7. Copy Variable Values to another sheet for Matching Values
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2009, 06:52 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