Nested match?

Patrick Niedermeyer

New Member
Joined
Apr 10, 2020
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I'm trying to update historical data tables where each entry I need transferred will have to match two qualifiers: location and chemical. Each location has 9 different chemicals in the new data table. What function should I use to populate my historical table with the new results that will find both and fetch the appropriate concentration data?
Missouri_Example.xlsx
CDEFGHIJKLMNOPQ
8Historical data table
9locationdateChemicalNew Data, Date: 6
10blue, (mg/L)green, (mg/L)red, (mg/L)purple, (mg/L)orange, (mg/L)yellow, (mg/L)grey, (mg/L)white, (mg/L)black, (mg/L)LocationChemicalConc, (mg/L)
11A121723184614224010Ablue1
12A21726812282041238Agreen2
13A333423133639321923Ared3
14A42831723319194946Apurple4
15A516244132241162026Aorange5
16A6Ayellow6
17B14845338371204132Agrey7
18B235362583710171343Awhite8
19B331231252912393933Ablack9
20B4213446220731047Bblue10
21B5525425105112548Bgreen11
22B6Bred12
23C149393425126122Bpurple13
24C2333437333430302644Borange14
25C32443441421488618Byellow15
26C4174350491850383724Bgrey16
27C5373418234827311519Bwhite17
28C6Bblack18
29Cblue19
30Cgreen20
31Cred21
32Cpurple22
33Corange23
34Cyellow24
35Cgrey25
36Cwhite26
37Cblack27
Sheet1
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,954
Messages
6,175,603
Members
452,660
Latest member
Zatman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top