+ Reply to Thread
Results 1 to 2 of 2

Using IF function across separate tables

  1. #1
    Registered User
    Join Date
    06-15-2017
    Location
    London, England
    MS-Off Ver
    Excel 2016
    Posts
    6

    Using IF function across separate tables

    Hi There,

    I work in retail and the till software I use produces two spreadsheets for me. The first contains all the items sold and gives an order ID to show which ones where sold together. The Second tells me what store each order ID happened at.

    I have added a column to the first spreadsheet and I want to show what store each item was sold at. However I am unable to get the IF function to work properly.

    Hope this makes senses, see example of spreadsheets attached.

    Please help.

    Many thanks,
    Richard
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Using IF function across separate tables

    Don't use an if function for that but a vlookup

    =VLOOKUP([@[Order ID]];Table3;2;0)

    Table3 contains the transaction example (see attachment)

    Also don't drop new columns in the middle of an existing table. Put new columns of data looked up in other tables at after or before the item table columns.
    this way you can always copy and paste new item transactions into the new file.
    if you put a column in between the columns you have to reorganise the columns each time you have new output file from the till.
    Attached Files Attached Files

+ 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] Merging variables from two separate tables into a separate table
    By QuintinZN in forum Excel General
    Replies: 16
    Last Post: 07-10-2018, 10:55 AM
  2. Replies: 1
    Last Post: 11-26-2015, 12:42 AM
  3. [SOLVED] Macro needed to Concatenate data in 2 separate tables of 2 separate sheets
    By 823 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-08-2015, 02:02 PM
  4. Pivot Tables - need to do separate pivot tables for multiple sheets in same format
    By tconnell1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 07:04 AM
  5. Link two tables on two separate sheets
    By doubled191 in forum Excel General
    Replies: 1
    Last Post: 04-07-2013, 08:15 AM
  6. Merging Data from Separate Tables
    By william. in forum Access Tables & Databases
    Replies: 2
    Last Post: 11-02-2012, 05:07 PM
  7. Multiply intersection of 2 separate tables
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2012, 08:07 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