Index match with conditional formating

SAXON10

Board Regular
Joined
Jun 1, 2017
Messages
109
Hi,

Good evening Excel Legends,

I am trying to apply conditional formatting to a column in Excel using the "Use a formula to determine which cells to format" feature.

In DATA sheet have a list of names in column A with corresponding reference numbers in column B and type in column C. In DATA sheet I have a longer list of reference numbers in row G4. I want the conditional formatting rule to look up the reference numbers in DATA Sheet against the row G4 and highlight the cell conditional formatting

File attached for your reference. Please assist me.

https://www.dropbox.com/s/78v00v0lbpcgpxk/ME.xlsx?dl=0

DATA;

SUBJECTID NOTYPECOLOR CODE
AA13320MATHS HIS
AA23321MATHS MATHS
AA37320MATHS SCI
AA47520MATHS ENG
AA57521MATHS
AA6WAIT
AA79900MATHS
AA86500MATHS
AA96586ENG
AA106530HIS
AA118600MATHS
AA125321MATHS
AA13WAIT
AA142255SCI
AA158581SCI
AA168580MATHS
AA175320MATHS
AA185325SCI
AA191100SCI
AA202233MATHS
AA212230HIS
AA229500MATHS
AA239531MATHS
AA249680MATHS
AA259681SCI
AA263500ENG
AA273501ENG
AA284500MATHS
AA294501SCI
AA304502ENG
AA314503ENG


<colgroup><col><col span="4"></colgroup><tbody>
</tbody>

DESIRED RESULT

SUBJECTAA1AA2AA3AA4AA5AA6AA7AA8AA9AA10AA11AA12AA13AA14AA15AA16AA17AA18AA19AA20AA21AA22AA23AA24AA25AA26AA27AA28AA29AA30AA31
ID NO33203321732075207521WAIT990065006586653086005321WAIT225585818580532053251100223322309500953196809681350035014500450145024503

<colgroup><col><col span="5"><col><col span="3"><col span="3"><col><col span="18"></colgroup><tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I think you can
Select B2:B32
Ctrl+C
Select H4
Paste Special; All, and check Transpose

M.
 
Upvote 0
thank for your reply. There is no another way. I have a more data. Its more hard to apply transpose every time. Please help me.
 
Upvote 0
I think you should
Turn-on the macro recorder
Do the copy + paste/transpose manually
Turn-off the macro recorder
So you have a code to automate the process

M.
 
Upvote 0

Forum statistics

Threads
1,216,140
Messages
6,129,105
Members
449,486
Latest member
malcolmlyle

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