Translation of texts contained in Excel formulae

Dear Community!

I need help with the settings of an excel containing the following formulae:

Excel screenshot showing a formula bar with a nested IF statement and cells with '#VALUE!' errors in columns 'Probabilidad' and 'Impacto en Talgo'.

I have translated the texts in Columns "Probabilidad" and "Impacto en Talgo", replacing them with "High " and "Very high", however, as you can see, the referenced values in the two Columns on the right show an error.

Above, you can see the formula, containing the same parameters (high, low, etc.).They are not translated and this is what causes the errors.

Any idea on how to make this embedded content visible in Trados and avoid the error? Seems like it is impossible to do it manually. 

Thanks in advance!

emoji
Parents Reply Children
  •  

    I didn't really understand this comment:

    *Establecer acción is in herited from the original file (does not require fixing)

    But I did manage to get rid of the error... but I have some questions over the result because I could not test exactly what you had since I have an English version and the syntax is a  bit different (SI vs IF etc.).  But essentially, I translated the values in the Ayuda worksheet only, then replaced this:

    =IF(H13="","",AVERAGE(IF(H13="5 (Muy alto)", 5, IF(H13="4 (Alto)",4, IF(H13="3 (Medio alto)",3, IF(H13="2 (Medio bajo)",2, IF(H13="1 (Bajo)", 1, IF(H13="0 (Nulo)",0,"--")))))),IF(I13="5 (Muy alto)", 5, IF(I13="4 (Alto)",4, IF(I13="3 (Medio alto)",3, IF(I13="2 (Medio bajo)",2, IF(I13="1 (Bajo)", 1, IF(I13="0 (Nulo)",0,"--")))))), IF(I13="5 (Muy alto)", 5, IF(I13="4 (Alto)",4, IF(I13="3 (Medio alto)",3, IF(I13="2 (Medio bajo)",2, IF(I13="1 (Bajo)", 1, IF(I13="0 (Nulo)",0,"--"))))))))

    With this:

    =IF(AND(H13<>"", I13<>"", J13<>""), AVERAGE(IF(H13="5 (Very high)",5,IF(H13="4 (High)",4,IF(H13="3 (Average high)",3,IF(H13="2 (Average low)",2,IF(H13="1 (Low)",1,IF(H13="0 (Null)",0,0)))))), IF(I13="5 (Very high)",5,IF(I13="4 (High)",4,IF(I13="3 (Average high)",3,IF(I13="2 (Average low)",2,IF(I13="1 (Low)",1,IF(I13="0 (Null)",0,0)))))), IF(J13="5 (Very high)",5,IF(J13="4 (High)",4,IF(J13="3 (Average high)",3,IF(J13="2 (Average low)",2,IF(J13="1 (Low)",1,IF(J13="0 (Null)",0,0))))))), "")

    And I have no error.  I also changed this:

    =IF(J13="","",IF(J13>4,"Establecer acción!",IF(J13=4,"Establecer acción!","--")))

    with this:

    =IF(J13="","",IF(J13>4,"Set action!",IF(J13=4,"Set action!","--")))

    To be honest I can't put my finger on exactly why this worked, and I can't check it properly as I think I'm missing data to make the formulae return a realistic result, but at least I was able to use the translated values without an error.  So I do think the only stuff you should be translating is on the Auyuda worksheet.

    Then your problem will be to update the spreadsheet.  If the lookups used a range reference instead of static text then the new values would be displayed automatically.  The current dropdown stores values like "4 (High)", but Excel treats this as plain text because this is essentially what it is now.  If instead, sthe spreadsheet was written to store the numeric value (4, 5, etc.), and used a formula to display the translated version then it would all work automagically :-)

    Quite a challenge for you this one!!

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Paul, 

    so you mean that you just replaced the words in the formula manually? with a search and replace function?? This is what I did and then the errors appeared...

    As for the "Ayuda" sheet, I have just tried this option and no...the document did not update automagically...

    True...this one IS a challenge for me... :(

    emoji
  • Oh, no! there was an update:

    Partial screenshot showing a pop-up list within Trados Studio with numerical values and their corresponding labels in Spanish, ranging from 0 (Null) to 5 (Very high).

    But only in the pop-up lists.... and this is basically what you are explaining in your reply....then...it means I have to choose the newly "updated" value cell by cell?? Lost! I am lost! In translation Joy

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 2:30 PM (GMT 0) on 27 Feb 2025]
  •  

    so you mean that you just replaced the words in the formula manually? with a search and replace function??

    Not quite... the formula would not work for me at all and I had to make some corrections.  But this could have been because youi removed data that it was expecting to find for the forumula to work.  So I had to cater for null values etc.

    But essentially, your approach should have worked.  If it didn't I would try looking at your formula again and make sure you didn't break something because it is a complicated one.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • But only in the pop-up lists.... and this is basically what you are explaining in your reply....then...it means I have to choose the newly "updated" value cell by cell??

    Correct!

    And this is because of the way the spreadsheet has been built.  Excel cannot automatically update this solution because the values are text and not numbers.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji
  • Ok, I see...besides, the error appeared only in some numerical values...others worked out fine...hmmm. So looks like the batch text replacement command failed...

    emoji
  • Well, at least, the next time, I will first go for the texts from the drop-down lists and update the document before creating the project in Trados (of course, it will depend on how that Excel will be built)...thank you very much for your time, Paul. 

    emoji