Need help with more than 8 IFs

smarinaj

New Member
Joined
Feb 7, 2011
Messages
5
Hi all!

This is the situation I have. Everyweek I receive a spreadsheet containing a lengthy list of destinations in English that I need to translate into Spanish. I would like to create a formula that will take the destination name from column A of the spreadsheet and compare it against a table where I have a column for the destinations in English and a column for the translation into Spanish. The formula will place the correct translation into column B of the weekly spreadsheet.

Thanks so much for your suggestions.

Sandra
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Welcome to the forums!

This sounds like a great place to use of VLOOKUP. Can you please give an example of your data, as well as your input and desired outcome?
 
Upvote 0
Thanks for your quick reply.

The weekly spread sheet contains only 1 column with about 200 names of destinations. This list changes everyweek. For instance:

Column A:
Atlantic Beach, North Carolina
Avon, Colorado
Branson, Missouri
Ozark Mountains, Arkansas

I already have a spread sheet with the names of all possible destinations in Column A and their translation in Colum B. For example:

Column A:
Paris, France
Atlantic Beach, South Carolina
Miami, Florida
Pocono Mountains, Pennsylvania


Column B:
París, Francia
Atlantic Beach, Carolina del Sur
Miami, Florida
Montañas Pocono, Pensilvania

What I want to accomplish is the following. Once I get the weekly spreadsheet, I want to have a formula in Column B of that spreadsheet that sees the destination name in Column A and gives me the correct translation in Column B, based on the translation table that I already have.

Let me know if you need me to provide you with more details. I don´t have experience in this forum.

Thanks so much.

Sandra
 
Upvote 0
Try this - column B in Sheet1, below, is generated based off of the table in Sheet2 (which is pictured below the first table):

Excel Workbook
AB
1DestinationsTranslations
2Atlantic Beach, South CarolinaAtlantic Beach, Carolina del Sur
3Pocono Mountains, PennsylvaniaMontaas Pocono, Pensilvania
4St. Louis, MissouriTranslation Not Found
Sheet1
Excel 2003
Cell Formulas
RangeFormula
B2=IF(ISERROR(VLOOKUP(A2,Sheet2!$A$1:$B$4,2,FALSE)),"Translation Not Found",VLOOKUP(A2,Sheet2!$A$1:$B$4,2,FALSE))



Excel Workbook
AB
1Paris, FrancePars, Francia
2Atlantic Beach, South CarolinaAtlantic Beach, Carolina del Sur
3Miami, FloridaMiami, Florida
4Pocono Mountains, PennsylvaniaMontaas Pocono, Pensilvania
Sheet2
Excel 2003
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,914
Members
449,132
Latest member
Rosie14

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