Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-15-2019, 04:05 AM
ArviLaanemets ArviLaanemets is offline Match two columns with display name and output with user name Windows 8 Match two columns with display name and output with user name Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

You can't put formulas into csv-file. It is a text file!

You need a separate Excel file, and you copy data from scv-file into Excel file, or for every export you convert (with Save As) the csv-file to excel file, and then add formulas into it.

In attached file is an example, how you can read info from another table (Users) based on some ID field (PersonŃame). You have to be aware, that;

The 1st occurrence of key field (PersonName) in lookup table (Users) is referred. When you have several John Smith's (When you are from English-speaking country, you have more than 10 users, and there really is user John Smith, then there is very high probability you have several different persons with name John Smith ), then you get for all of them same result (Username) returned;

The searched ID's must match absolutely! A single typing error, and no match is found;

In lookup range (users table), the leftmost column must be the ID you use to look for (PersonName). 3rd parameter of formula indicates the number of column with return value in lookup table (2nd column in users table is Username). 0 as 4th parameter means, that exact match is wanted. Other values for this parameter assume, that the lookup table is ordered, and that you know what you do.
Attached Files
File Type: xlsx VLookupExample.xlsx (11.3 KB, 11 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Match two columns with display name and output with user name Need to add columns that match other column cell size mmurphy613 Word Tables 4 07-19-2017 04:07 PM
Match two columns with display name and output with user name Compare cells in 2 columns in separate WBs and return data in Col 38-40 if there is match krispykreme Excel Programming 1 09-09-2016 11:25 AM
Match two columns with display name and output with user name How to compare two columns and match data Neydo222 Excel 2 09-12-2015 02:49 AM
Match two columns with display name and output with user name match two columns of data gbaker Excel 1 08-03-2014 04:01 PM
Match two columns with display name and output with user name Match information from 2 different columns gbaker Excel 2 08-18-2012 06:07 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft