Lookup Column and then Compare whther data is found in Column

Cai123

New Member
Joined
Mar 13, 2013
Messages
4
Hi Guys,

Appreciate some help over here.

I have 2 worksheets namely DataBase and Workings.

In Data Base, i have the first row as my header and some dates. Example as below

Column A :

USD
01-Jan-13</SPAN>
21-Jan-13</SPAN>
18-Feb-13</SPAN>

<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>


Column B :

CNY
01 Jan 2013
02 Jan 2013

In Workings, Column A has USD and Column B has some dates . Example, USD 01 Jan 2013.

What i am trying to do here is trying to is, in workings sheet, i am looking to Lookup data in "Database" with the header first, before going through the entire column to see whether the dates in Column (B) - in "Working"sheet is found.

Any ideas how to do it ? Been searching the entire day before posting this. Hope someone can help me here.



<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
What do you mean by, "i am looking to Lookup data in "Database" with the header first"

Not exactly sure what you're trying to do.
 
Upvote 0
It sounds like you may just need the vlookup formula to compare two vertical lists. Not sure what you mean by header first.
 
Upvote 0
Hi Guys,

Thanks for replying.

What i mean by ""i am looking to Lookup data in "Database" with the header first"

is that "Database" is my refrence table to lookup against to. They will have the title like USD, CNY and many more.

In "Working" sheet, there will be a KEY reference in Column A like CNY,USD and many others. Column B will have different dates.

So what i am trying to do is in Worksheet Sheet, i want to do a lookup against Database with the KEY reference against the reference table in "Database" and using the "Database" respective dates on it , to check whether they are of the same value.

Hope you can what i mean here. Again, thanks for your help.
 
Upvote 0
Hi Guys,

Appreciate some help over here.

I have 2 worksheets namely DataBase and Workings.

In Data Base, i have the first row as my header and some dates. Example as below

Column A :

USD
01-Jan-13
21-Jan-13
18-Feb-13

<tbody>
</tbody>


Column B :

CNY
01 Jan 2013
02 Jan 2013

In Workings, Column A has USD and Column B has some dates . Example, USD 01 Jan 2013.

What i am trying to do here is trying to is, in workings sheet, i am looking to Lookup data in "Database" with the header first, before going through the entire column to see whether the dates in Column (B) - in "Working"sheet is found.

Any ideas how to do it ? Been searching the entire day before posting this. Hope someone can help me here.



<tbody>
</tbody>

Looks like...

Workings, C2, just enter, and copy down:

=ISNUMBER(MATCH(B2,INDEX(DataBase!$A$2:$Z$600,0,MATCH(A2,DataBase!$A$1:$Z$1,0)),0))+0

A result of 1 means a hit, otherwise a miss.
 
Upvote 0

Forum statistics

Threads
1,203,600
Messages
6,056,204
Members
444,850
Latest member
dancasta7

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