+ Reply to Thread
Results 1 to 8 of 8

#VALUE Error when mapping fields between Excel tables

  1. #1
    Registered User
    Join Date
    11-26-2014
    Location
    Baltimore, MD
    MS-Off Ver
    2013
    Posts
    4

    #VALUE Error when mapping fields between Excel tables

    I am trying to consolidate data from tables in multiple worksheets (monthly expenses on each tab and then combine into a single worksheet). I have named each table (ex. JanExptbl) and have tried to use the simple "=" formula but cannot get it to work:

    =JanExptbl[Transaction Type] where "Transaction Type" is the column header name. However, no matter what I try I am consistently receiving the "#Value" error which doesn't seem to tell me much at all.

    Something tells me this is something very simple that I am missing since I haven't tried this before but I just can't figure it out.

    I have attached a very basic example of what I am trying to accomplish.

    Any help would be immensely appreciated!!!

    Thanks
    BrianTable Mapping Test.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: #VALUE Error when mapping fields between Excel tables

    If you just want it to display exactly as it shows and in the same order from the first table... just say =FIRST ITEM so in your example =C3
    -If you think you are done, Start over - ELeGault

  3. #3
    Registered User
    Join Date
    11-26-2014
    Location
    Baltimore, MD
    MS-Off Ver
    2013
    Posts
    4

    Re: #VALUE Error when mapping fields between Excel tables

    ELeGault, thanks for the response. But too bad that I am not following what you are suggesting.

    So I have figured out that by using my above formula (=JanExptbl[Transaction Type]), Excel is trying to perform a math function on the data but is unable to since it is text. When I add SUM or AVERAGE, it works like a champ without generating the error. But I don't want to perform any math function, I just want to map it to the table. I am trying to consolidate multiple tables into a single table is all.

    Is this not possible?
    -B

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: #VALUE Error when mapping fields between Excel tables

    The naming of the tables is causing the problem. As previously stated, instead of clicking on the cell, manually type in =C3. Then it will work. See attached.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: #VALUE Error when mapping fields between Excel tables

    It is... And I was saying to just put inside C13 this =C3.

    Now in order to combine tables you will need KEY columns. Meaning common values associated that can be utilized to lookup the corresponding records.

    If you have that then you can do it, if you don't have that it will simply throw data into the table without rhyme or reason.

  6. #6
    Registered User
    Join Date
    11-26-2014
    Location
    Baltimore, MD
    MS-Off Ver
    2013
    Posts
    4

    Re: #VALUE Error when mapping fields between Excel tables

    What i am trying to do is a little more complicated so i can't simply use =C13 in the example I initially provided. I have updated the spreadsheet with more information and a description of what I am attempting to accomplish. However, i am not sure it is even possible.

    In the attached workbook, Sheet 1 has 5 tables on it. However, it the real workbook, each of the 5 tables would be on separate worksheets. I put them all on one sheet for simplicity of the example.

    Each table will contain a "N" number of rows but will all have the exact same data/columns. I am trying to map all of the rows that contain information from each table into a single table (Table 1 in the example). I was going to use VLOOKUP but I don't have a column to reference and find a match. So I was going to use ISBLANK and map those cells that are not blank. But since the number of rows with information in each table can vary, I can't "hard code" the mapping as in the example of using =C13 since I won't know the last row in the table before proceeding onto the next table.

    I was trying to use this formula as a simple start just to see if I can map the data from one table column into another: =Table2[[#Data],[Transaction Type]] When I type in the formula into Table 1, the column in Table 2 is highlighted as to indicate a matching reference. However, all it returns in Table 1 is the #VALUE! error.

    I am unable to figure out why I am getting this error.

    Brian

    Table Mapping Test.xlsx

  7. #7
    Valued Forum Contributor
    Join Date
    11-22-2014
    Location
    Arizona, USA
    MS-Off Ver
    Office 365
    Posts
    973

    Re: #VALUE Error when mapping fields between Excel tables

    You need to decide what would create a unique qualifier, many on here refer to as a helper column in which you can append to your tables.

    As to why you are getting your error. By saying =Table2[#Data] you are saying that this column repeats the formula that it is equal to all of that column. You have to think about what is common and unique and if Unique does not exist, what columns can you concatenate to make a single unique thread in order to make a relationship between the various tables. Once you figure out that then you can build your table consolidated.

  8. #8
    Registered User
    Join Date
    11-26-2014
    Location
    Baltimore, MD
    MS-Off Ver
    2013
    Posts
    4

    Re: #VALUE Error when mapping fields between Excel tables

    Thanks, I'll see what I can come up with for a unique identifier

+ 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] Mapping fields in Excel to prepare them for Access import.
    By carden2 in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 10-04-2012, 08:10 PM
  2. Mapping Fields from separate worksheets
    By elfvis in forum Excel General
    Replies: 1
    Last Post: 11-04-2011, 09:01 AM
  3. Replies: 0
    Last Post: 05-06-2009, 03:09 PM
  4. Replies: 6
    Last Post: 10-11-2005, 05:05 PM
  5. Mapping Tables.Fields from a data source to my MS Access Table Structure
    By Mark Roach in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2005, 06:07 PM

Tags for this Thread

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