View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rebecca
 
Posts: n/a
Default Translation Exercise ...

Thanks, Roger for your useful advice. It is my fault for being so sloppy in
my explanations. Please bear with me one more time.

My spreadsheet (Excel 2007) has about 400,000 rows, from Genesis to 2
Chronicles in the Hebrew Bible (or Tanach, if you prefer). Each row has five
columns. See below for an example of a few rows (I can't use Hebrew fonts
here so I'll just make up some words):

A B C D E
Gen 1:1 gjgj nsf gggj (empty)
Gen 1:1 gss ndm gga (empty)
Gen 1:1 gjgj nsf gggj (empty)

In Col. A is the book, chapter, and verse (for the first three words in Gen.
1 you can see listed here)
In Col. B is the Hebrew word
In Col. C is the parsing of this word (case, gender, number, etc.)
In Col. D is the dictionary form of this Hebrew word
In Col. E is where the English translation of this word will go.

As you can see the first and third rows contain the same word (word,
parsing, and dictionary form) so as I proceed through the Bible, translating
into English row-by-row, if I can insert the English translation in all the
places where there is this (and subsequently others) three-column
combination, I can save a lot of time and insure translation consistency.
Peo kindly gave me a formula to work with, but I found it too cumbersome and
confusing to use with such a large spreadsheet. It would be nice if the
search and replace function could include several columns in the search box
(say three), and replace something in another column altogether. Alas, if
everything were so simple. Could you please give me some advice on how I can
do this, perhaps with a macro of something, though as I said above, I am a
new user, and I need things explained in easy English? Thanks.



"Roger Govier" wrote:

Hi Rebecca

It is difficult to understand exactly what you are after from your
description here (with various letter combinations) or your posting in
another ng with real words that Peo responded to.
You talk about 400,000 individual rows, each with a separate word, but
you then talk about wanting to replace items where each occurrence of
the word appears in various chapters and verses.
For the latter, you would just use a Vlookup formula on your dictionary
to insert the equivalent English/Hebrew translation.
I think we need a little clearer definition of what you are seeking in
order to be able to help you.

In the interim, (and hoping I do not cause any offence by referring you
to a Christian bible), John Walkenbach has set the whole of the King
James version of the Bible in an Excel workbook, with each chapter on a
separate tab and some Formulae to find occurrences of words and some VBA
code plus forms to extract verses.
I mention this as you might like to look at his methodology to see if it
offers you any assistance in designing and implementing what you are
trying to do.
You can find John's file at
http://j-walkblog.com/index.php?/web...ible_in_excel/

--
Regards

Roger Govier


"Rebecca" wrote in message
...
Thanks, Mr. Sjoblom, for your much-need help. I apologized for
posting in
another group, but as I said there, I am a new user, but since I am
already
here, well...

I hate to sound like a real dummy, but could you please explain your
solution step-by-step? Once I put the formula you suggested in the D
column,
then what do I do? Please read the rest of this post for some
details.

The entire spreadsheet has over 400,000 rows (and as I mentioned, each
row
has one Hebrew word, one parsing of this word, and the dictionary
definition
of this word -- three columns in all -- plus the empty D column where
the
English translation goes).

As I go down through the Bible, word by word, when I see the Hebrew
word for
"house," for example, I want to simply fill in the blanks where this
word
(and its parsing and dictionary form) is located throughout the
various
chapters and verses. It would be nice if I could simply seach on the
three
columns simultaneously-- A, B, and C -- and then replace in the empty
D
column. But alas!

"Peo Sjoblom" wrote:

This is what I answered when you posted a similar question in new
users
albeit with different words and A, B and C

In D2 (or whatever row your data starts) put

=IF(AND(A2="hat",B2="bug",C2="flower"),"tree","")


copy down, if you want some more flexibility you can use

=IF(AND(A2=$F$1,B2=$G$1,C2=$H$1),"tree","")

where you would put the 3 words in F1, G1 and H1 respectively




--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"Rebecca" wrote in message
...
Greetings, again. I think I asked for help in the wrong place, so
please
forgive me for posting this again (though I am a new user, indeed).
By
the
way, this is not a homework assignment, so feel free to give some
advice
(in
step-by-step easy English, please).

I am using MS Excel 2007 (beta). I have four columns: A, B, C, and
D (D
is
blank). If the Hebrew word in a particular row in Col. A is, say,
"gggg,"
the parsing (grammar) in the same row in Col. B for that word is
"nbcpd,"
and
the Hebrew word in the same row in Col. C is "gggdd" (the
dictionary form
for
gggg in Col. A), I want to place the word "tree" in the same row in
blank
column in Col. D (the English translation of the word in Col. A,
with the
information in Cols. B and C taken into consideration -- tense,
number,
gender, etc.).

I want to go down the spreadsheet one row / word at a time (each
row is
one
Hebrew word) and fill in every blank in Col D., but I want to
remain in
the
same row (or maybe come back to it, however this could be done) and
translate
all the other rows with the same A, B, and C combinations.

I hope I haven't been too clumsy in explaining what I am trying to
do. I
don't want to use Access for a reason I won't go into here (there
are
certain
calculations that I would like to do later in Excel). Could someone
please
help me with this problem? Thank you.