M
Mary
Tom you have been a lot of help. I have been checking out
the functions command - Index and Match vs. VLookup.
I am beginning to understand you answer. Because of that I
think I can give a more clear explanation of what I want to
do. Need to get this finish today. Here is the what I am
trying to do - forget previous posting.
1. Have 3 Workbooks.
2. WkBk 1 & 2 have a common field called S.O.#. Need to
match the exact S.O.# in WkBk 1 & 2. Then have the data on
the same row ( about 3-4 columns) import into WKBK one, but
on the same row as the matching S.O.#. This will then
create a field called P.O. # in wkbk1.
3. Now I need the P.O. # field to match the exact P.O. #
and import or return the value (text) on the same row as
the matching P.O. # in wkbk1. The result will be that the
that the S.O.# and P.O.# have the related data on 1 row.
4. Now this report will possible extracted daily, weekly
and will be overwritten.
5. The process is a report is ran in crystal to extract
data from an accounting program using Betrieve database.
6. When this report is ran it will be exported into Excel.
I want to write a macro to enter the formula every time.
7. The spreadsheet names will remain the same.
If not these command then what?
Thanks very very much in advance
the functions command - Index and Match vs. VLookup.
I am beginning to understand you answer. Because of that I
think I can give a more clear explanation of what I want to
do. Need to get this finish today. Here is the what I am
trying to do - forget previous posting.
1. Have 3 Workbooks.
2. WkBk 1 & 2 have a common field called S.O.#. Need to
match the exact S.O.# in WkBk 1 & 2. Then have the data on
the same row ( about 3-4 columns) import into WKBK one, but
on the same row as the matching S.O.#. This will then
create a field called P.O. # in wkbk1.
3. Now I need the P.O. # field to match the exact P.O. #
and import or return the value (text) on the same row as
the matching P.O. # in wkbk1. The result will be that the
that the S.O.# and P.O.# have the related data on 1 row.
4. Now this report will possible extracted daily, weekly
and will be overwritten.
5. The process is a report is ran in crystal to extract
data from an accounting program using Betrieve database.
6. When this report is ran it will be exported into Excel.
I want to write a macro to enter the formula every time.
7. The spreadsheet names will remain the same.
If not these command then what?
Thanks very very much in advance