lookup between two excel files

dbashyam

New Member
Joined
Sep 2, 2010
Messages
6
Hi,

I have two files with the following data:

File1:

Code:
Name                                Severity
userDefined                           3
dhmNoticeDegradedIO             3

File2:

Code:
Name                                  Severity
userDefined                          Warning
dhmNoticeDegradedIO             Warning
dhmNoticePFAEvent                 Critical
emergencyTrap                       Critical
alertTrap                                Major

I want to compare these two File1 and File2 and

Update File1 with the Severity of File2 in a separate field

So basically I am looking the output like this either in file1 itself or in a separate file.

Code:
 <table height="136" border="0" cellpadding="0" cellspacing="0" width="396"><colgroup><col style="mso-width-source:userset;mso-width-alt:5595;width:115pt" width="153">  <col style="width:48pt" width="64">  <col style="mso-width-source:userset;mso-width-alt:3218;width:66pt" width="88">  </colgroup><tbody><tr style="height:15.0pt" height="20">   <td class="xl65" style="height:15.0pt;width:115pt" height="20" width="153">Name</td>   <td class="xl65" style="border-left:none;width:48pt" width="64">Severity 
</td>   <td class="xl65" style="border-left:none;width:66pt" width="88">Trap Severity</td>  </tr>  <tr style="height:15.0pt" height="20">   <td class="xl66" style="height:15.0pt;border-top:none" height="20">userDefined</td>   <td class="xl67" style="border-top:none;border-left:none">3</td>   <td class="xl66" style="border-top:none;border-left:none">Warning</td>  </tr>  <tr style="height:15.0pt" height="20">   <td class="xl66" style="height:15.0pt;border-top:none" height="20">dhmNoticeDegradedIO</td>   <td class="xl67" style="border-top:none;border-left:none">3</td>   <td class="xl66" style="border-top:none;border-left:none">Warning</td>  </tr>  <tr style="height:15.0pt" height="20">   <td class="xl66" style="height:15.0pt;border-top:none" height="20">dhmNoticePFAEvent</td>   <td class="xl66" style="border-top:none;border-left:none">NA</td>   <td class="xl66" style="border-top:none;border-left:none">Critical</td>  </tr>  <tr style="height:15.0pt" height="20">   <td class="xl66" style="height:15.0pt;border-top:none" height="20">emergencyTrap</td>   <td class="xl66" style="border-top:none;border-left:none">NA</td>   <td class="xl66" style="border-top:none;border-left:none">Critical</td>  </tr>  <tr style="height:15.0pt" height="20">   <td class="xl66" style="height:15.0pt;border-top:none" height="20">alertTrap</td>   <td class="xl66" style="border-top:none;border-left:none">NA</td>   <td class="xl66" style="border-top:none;border-left:none">Major</td>  </tr> </tbody></table>

Any help on this please?

Thanks
Dinesh
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,219,162
Messages
6,146,660
Members
450,706
Latest member
LGVBPP

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