# How can filter and match the exact state with their aligned values to a set of calculations?values

#### Shawn716

##### New Member
I have been receiving some help online creating a spreadsheet. So far...I have gotten what I wanted.... But I am stuck at this point...

On sheet 2 ,Values in Column A rows; values in Col B-F are multiples of ColA (12x,13x,37x,101x,111x). List pairs of Lottery names and values are in Col H/I & J/K. Using conditional formatting, values in Col A-F that match a value in Col IorJ are highlighted. My goal: 1) identify cells in ColA that match a value in Col I or J AND have one or more matching values in Col B-F on the same row; 2) display only the matching row/column values (ignore non-matching values) AND show the relevant Lottery name for matching values in Columns B-F. Could anyone assist?

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### Peter_SSs

##### MrExcel MVP, Moderator
Welcome to the MrExcel board!

That is quite complex to follow in written form like that. Some sample data with expected results and any further explanation might help.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

#### Shawn716

##### New Member
Welcome to the MrExcel board!

That is quite complex to follow in written form like that. Some sample data with expected results and any further explanation might help.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Could I simply share a link to the document

#### Peter_SSs

##### MrExcel MVP, Moderator
Could I simply share a link to the document
You can, but some helpers will not be permitted to access the link due to workplace security restrictions so you will reduce your pool of potential helpers somewhat.
You should also make sure that any sample file is representative of your data but not so big that it will put people off by having too much data to wade through.
Don't forget to include the expected results and make sure it is clear why they are the expected results.

Replies
5
Views
180
Replies
8
Views
138
Replies
15
Views
403
Replies
10
Views
526
Replies
1
Views
146

1,140,999
Messages
5,703,645
Members
421,307
Latest member
morrden86

### 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.

### Which adblocker are you using?

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

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