Best way to lookup & replace.
Scenario: I have a freight bill with column F showing the origin & destination of deliveries across all states (eg: Newark/Springfield). In column
G I want Excel to read column
F & add a charge code. The charge code is usually the state of the destination town.
As an example, the sheet would look something like this:
New Jersey/Los Angeles LA
There could be as many as 1,000 plus deliveries so column F can be made up of many variables albeit consistent. My Excel experience is limited but I think the best way to do it is have a second sheet containing origin/destination details in column A & the
related charge code in column B. I'm just not sure of the easiest/fastest way to link the 2nd sheet to column G ......
assuming a 2nd sheet is best way to do it.
Appreciate the help.
Keys to the Problem Best way to lookup & replace.
I'm surprised you got not answer yet, Tom.
This does require a vlookup.
Here's how I do it.
Put your origins/destinations on the 2nd sheet, which you can later hide.
Select the 2 columns and give them a named range called "mytable".
Then to look up one of the cities, when the city is in B2: =vlookup(b2,mytable,2,0)
The 0 makes it so it doesn't find a NEAR value, but only an exact value.
Now, what I'd do, too, is select all the cities on the 2nd sheet and give it a name "cities".
Then create a Data Validation on your home page that uses =cities as the list.
Then you should never have one that's not found.
A long time ago, I wrote this article:
Make Sure that your System Meets the System Requirements
You need to double-check your computer's hardware configuration against the following Microsoft requirements. If your computer hardware is not up to par, then make sure you update where necessary before continuing:
Microsoft Windows Requirements :
- 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
- 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
Another Safe way to Fix the Problem: Best way to lookup & replace.:
How to Fix Best way to lookup & replace. with SmartPCFixer?
1. You can Download Error Fixer here. Install it on your computer. When you open SmartPCFixer, it will perform a scan.
2. After the scan is finished, you can see the errors and problems which need to be repaired.
3. When the Fixing part is done, your computer has been speeded up and the errors have been removed
Related: Autologon and AutoLogonCount Parameters for Windows Unattended Setup Error Fixer,How To Resolve Cyberbit Unicode Font Does Not Return Correct Charset Problem,How To Use the Office Profile Wizard to Create an OPS File in Office XP Error Fixer,Error Sys Msg 22 Invalid period, please reenter. in MC in 4.x Solution,Why am I Getting a Upgrades from 3.01 to 3.60 or 3.01 to 3.70 Involving Serial Numbers and Revaluations Are Overstating the Valuation Entries on the Purchases Error?,How Can I Fix - Error 16389?,How to Fix - Internetopen?,Mcafee Virus Scan Online,How Can I Fix - Qos Packet Scheduler Failed?,Solution to Problem: Windows 2000 Boot Repair,How to Fix ashoutxt.dll Not Found Error,Best Method to Fix cxcore096.dll Error,Where can I Find dsauth.dll File,msde.dll Corrupted - How to Resolve,psizewizres.dll Corrupted - How to Fix,How to Download ASUS XGI Compatible Super VGA Driver Package Version R1.13.00/Driver Version 126.96.36.1990 for Windows XP 32/64 bit(WHQL),Windows Server 2003 32/64 bit(WHQL),Windows Vista 32/64 bit(WHQL),Windows Server 2008 32/64 bit(WHQL),Windows 7 32/64 bit(WHQL),Window,Download NeoMagic® MagicMedia 256AVP Display Adapter Driver,Download NVIDIA RIVA TNT2 Model 64,How to Update Realtek ALC850 AC'97 Driver V188.8.131.5200 WHQL for Windows 2000/XP/2003 & 64bit XP/2003.,How to Update Realtek LAN V6.203.0214.2008,Microsoft.PowerShell.GraphicalHost.dll Error Code Fixer
,Fix Error Code Netapi32 (4).dll
,Qa_auth_client.dll Error Code Fixer
,Fix Error Code Tdc (3).ocx
,Vwipxspx.dll Error Code Fixer
,Way to Download Toshiba Qosmio X505-Q832 Intel Wireless LAN Driver v.184.108.40.206.0.s64_wCAT,Download Toshiba Satellite C650D-ST6N02 Assist Utility v.220.127.116.11 driver,How Can You Update & Download Toshiba Satellite L645-S4026RD Value Added Package v.1.6.0130.640202 driver,Method to Download Toshiba Satellite L755-S9511D Assist Utility v.18.104.22.168 driver,Method to Download Toshiba Satellite P875-S7200 Fingerprint Utility v.2.0.0001.000408 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17
Read More: Troubleshoot:Battery Notification icon disappeared and Im unable to turn it on (on option is greyed out),[Solved] Black screen on wake-up, but mouse moves cursor arrow,Tech Support: Belkin F5U237v1 7-Port USB Hub,Backup Windows 7 and Restore without removing other partitions Tech Support,Black screen on boot up Windows 7 Home Premium [Solved]