Index Match for Access help please

CBONG

New Member
Joined
Mar 17, 2016
Messages
4
Hi, I am new to access and trying to use index match function.

This is what I am trying to do

2 Tables

tblVal

ValidationPhaseValidation date
VAL1A??
VAL2B
VAL3C
VAL2A

<tbody>
</tbody>

which mean Val 1-3 can be any phase or vice versa

tblValDate

VALIDATIONPHASE APHASE BPHASE C
VAL1JANFEBMAR
VAL2APRMAYJUN
VAL3JULAUGSEP

<tbody>
</tbody>


I would like to pull the data from tblValDate to tblVal under the Validation Date
Hope this makes sense

How can I do this?

Thanks in advance
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
This is not the best way to set up table relationships in a database, for exactly the problem you have run in to. Since you are new to Access, you should spend time reading about how to set up relational tables.

The answer to your question is to set up tblValDate like this:

Validation, Phase, Month
Val1, A, JAN
Val1, B, FEB
Val1, C, MAR

Then join your two tables on Validation-to-Validation, and Phase-to-Phase, then you can easily set "Validation date" = "Month"

You end up with rows that look like they contain duplicate/redundant information (ie repeating VAL1 three times), but this is the way databases work, so you can easily do joins and queries.
 
Upvote 0

Forum statistics

Threads
1,221,825
Messages
6,162,166
Members
451,750
Latest member
dofrancis

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