Indexing and matching specific terms

chrisjako

New Member
Joined
Apr 10, 2014
Messages
28
Can anyone help me with this forumal please,

I'm trying to import data from another CSV file named "merged_assessment.csv"

I have this working so far

=INDEX([merged_assessment.csv]merged_assessment!$E:$E,MATCH(B2,[merged_assessment.csv]merged_assessment!$L:$L,0))

But i only want it to return the merged_assesment.csv L column value if also these conditions are also met

1) the same row in merged_assessment.csv Column H, is equal the text "Autumn2"
and
2) the same row in merged_assessment.csv Column F, equals the text "2022-2023"
 
Last edited:

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Excel Formula:
=INDEX([merged_assessment.csv]merged_assessment!$L:$L,MATCH(TRUE,([merged_assessment.csv]merged_assessment!$H:$H="Autumn2")*([merged_assessment.csv]merged_assessment!$F:$F="2022-2023"),0))
This is an array formula. You must press Ctrl+Shift+Enter together after paste.
 
Upvote 0
Excel Formula:
=INDEX([merged_assessment.csv]merged_assessment!$L:$L,MATCH(TRUE,([merged_assessment.csv]merged_assessment!$H:$H="Autumn2")*([merged_assessment.csv]merged_assessment!$F:$F="2022-2023"),0))
This is an array formula. You must press Ctrl+Shift+Enter together after paste.
I'm just getting #N/A as a result
Is the column E$:E$ getting matched with the same value that's in B2?
 
Upvote 0
Try like this:
Excel Formula:
=INDEX([merged_assessment.csv]merged_assessment!$L:$L,MATCH(1,([merged_assessment.csv]merged_assessment!$H:$H="Autumn2")*([merged_assessment.csv]merged_assessment!$F:$F="2022-2023")*([merged_assessment.csv]merged_assessment!$H:$H="Autumn2")([merged_assessment.csv]merged_assessment!$E:$E=B2),0))
 
Upvote 0

Forum statistics

Threads
1,215,831
Messages
6,127,148
Members
449,364
Latest member
AlienSx

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