How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask The-PC-Guy Your Own Question

The-PC-Guy
The-PC-Guy, Software Engineer
Category: Programming
Satisfied Customers: 1402
Experience:  Extensive Knowledge in PHP, MYSQL, CSS & Javascript
62934938
Type Your Programming Question Here...
The-PC-Guy is online now
A new question is answered every 9 seconds

Hi, You helped me earlier this year with Excel macros. I

Resolved Question:

Hi,

You helped me earlier this year with Excel macro's.

I need the same work done, I need to combine a couple of sheets into one, by matching the same two fields in both sheets and then adding the extra data.

Also when that's done I will need a search engine macro build, to search through the new combined worksheet and show the results on a results page. I can upload the file you created last time, so you can see the example.

Regards,
Danie
Submitted: 1 year ago.
Category: Programming
Expert:  The-PC-Guy replied 1 year ago.

The-PC-Guy :

Thanks for using JustAnswer. My name isXXXXX will do whatever I can to answer your question

The-PC-Guy :

thanks for requesting me

The-PC-Guy :

what can I do for you?

Customer:

Hi

Customer:

to what site can I upload a couple of files for you to view ?

The-PC-Guy :

www.wikisend.com

Customer:

http://wikisend.com/download/359660/bcb-1.xlsx

Customer:

that file has two sheets

Customer:

a main sheet

Customer:

and a sheet1

Customer:

there's one common column between the two

Customer:

a sessionname field

Customer:

I need to have all the data from sheet1 imported into the main sheet, so where the session name from main matches the session name from sheet1, sheet1's extra rows should be imported into main

Customer:

where the same session name is XXXXX XXXXX a couple of columns in main, i need them all to be populated with the matching data from sheet1

The-PC-Guy :

is this different from what was done last time?

Customer:

yes a little bit

Customer:

last time there was also a DVD refence field

Customer:

the search will work the same though

The-PC-Guy :

so essentially I am just modifying the formulas from last time to work with the new data.

Customer:

for the combine ? yes that should work

The-PC-Guy :

okay

The-PC-Guy :

that shouldn't be much of an issue

The-PC-Guy :

the 2nd part of your request though

The-PC-Guy :

can pose a bit of a problem

The-PC-Guy :

doing search macros in excel might not be the best idea

The-PC-Guy :

that functionality is already built in anyway

The-PC-Guy :

under find/replace

The-PC-Guy :

if you want to do reporting on specific data

The-PC-Guy :

then you would want a database

Customer:

I'm busy uploading the file with the search funtion

Customer:

http://wikisend.com/download/367354/BCB South Gauteng - 2013-08-13.xlsm

Customer:

On this one, the CFP sheet has all the main info

Customer:

The search input is where the search data is typed in

Customer:

and the results is shown on the results page

The-PC-Guy :

this is not one of my macros

The-PC-Guy :

ok, not exactly sure what you want me to do with this one

The-PC-Guy :

the first one I can do no problem

The-PC-Guy :

its the 2nd one I am not sure on

Customer:

when the first file is combined into one sheet

Customer:

I need the search sheet from the second excel file inserted into the first file

Customer:

to do it's lookup on the combined data

Customer:

and then operate the same as it currently does on the excel file I send you

Customer:

I'm trying to check who I used for the search macro, but can only find you in my email regarding excel macro's

The-PC-Guy :

so for the first sheet

The-PC-Guy :

we are going to take any rows that match the session id

The-PC-Guy :

and copy those to the main sheet

The-PC-Guy :

or let me put it another way

Customer:

yes, that's correct

The-PC-Guy :

any rows that match any session Id in the main sheet that don't already exist in the main sheet should be copied over

The-PC-Guy :

that solves the first problem

The-PC-Guy :

but for the 2nd one

Customer:

but it should not replace, only append to the main sheet

The-PC-Guy :

ok

The-PC-Guy :

i can create a little macro that does that

Customer:

should I upload you an example ?

Customer:

ok thanks

The-PC-Guy :

this assumes all the fields are the same between the 2 sheets.

Customer:

only the sessionname is XXXXX XXXXX

Customer:

that's why I need it combined

The-PC-Guy :

wait the fields dont match

The-PC-Guy :

oh i get it

The-PC-Guy :

i am adding the 5 addtional collumns

The-PC-Guy :

or 4 columns

The-PC-Guy :

from sheet 1

The-PC-Guy :

to sheet 2

The-PC-Guy :

im not appending entire rows

The-PC-Guy :

so a macro would not be necesaary for that

The-PC-Guy :

just a formula modification

The-PC-Guy :

ok

The-PC-Guy :

that takes care of the first 1

The-PC-Guy :

now for the 2nd workbook

The-PC-Guy :

you somehow want that merged with the first

The-PC-Guy :

can you explain what you are looking for with that?

Customer:

correct, first one should look like this then :

Customer:


























COURTCASENUMBERDEFENDANTFIRSTNAMEDEFENDANTLASTNAMEPEOPLEFIRSTNAMEPEOPLELASTNAMEDATETIMEDIVISIONCOURTROOMNUMBERJUDGELASTNAMEJUDGEFIRSTNAME
SS20/2002MARIUS & 5 ANDERVAN DER WESTHUIZENG (5ACC)ABRAHAMS2002-03-04CRIMENO NUMBERERASMUS(J) N C
Customer:

the second file's search macro sheet needs to be applied to the first excel file

Customer:

so after you have run the macro and combined the data

Customer:

the best may be, to create a new excel file, from your macro sheet, copy and special paste the results, so the macro's are removed and only the data remains

The-PC-Guy :

well the macro wasn't mine

The-PC-Guy :

but i will see if I can modify it

The-PC-Guy :

i actually think the best bet

The-PC-Guy :

would be to combine the first sheet via formula

The-PC-Guy :

then copy and paste the combined data into a new sheet

The-PC-Guy :

in the 2nd one

The-PC-Guy :

and modify the search macro to point to the new sheet

The-PC-Guy :

does this sound correct to you?

Customer:

special paste it as values

Customer:

that sounds correct yes :)

The-PC-Guy :

ok

The-PC-Guy :

let me try

The-PC-Guy :

can you check back in a couple of hours?

Customer:

ok sure, it's 8:24PM in South Africa

The-PC-Guy :

ok

The-PC-Guy :

its 225 here

Customer:

so I'm going to bed in 2.5 hours

The-PC-Guy :

in eastern us

Customer:

but will check my mail

The-PC-Guy :

i will have something within an hour, then you can check

The-PC-Guy :

so check back at 9:30

The-PC-Guy :

your time

The-PC-Guy :

then we can go through corrections

The-PC-Guy :

worst case

The-PC-Guy :

if it doesn't get finished today

The-PC-Guy :

we can pick it up tomarow

The-PC-Guy :

thanks

Customer:

ok thanks, XXXXX XXXXX back in an hour

The-PC-Guy :

ok

The-PC-Guy :

here is what I have

The-PC-Guy :

let me switch to Q&a to make this easier

Expert:  The-PC-Guy replied 1 year ago.
ok here is what I have

here is the completed first sheet

http://ge.tt/8wzMHvq/v/0?c

here is the 2nd

http://ge.tt/50MgHvq/v/0?c

I modified the macro to point to the new sheet in the 2nd

let me know if you need anything else.

Thanks
Customer: replied 1 year ago.

Hi,


 


Can you please re-upload the second file, it's 0bytes.


 


Regards,
Danie

Expert:  The-PC-Guy replied 1 year ago.
somehow it must have gotten corrupted.
I am uploading now
Expert:  The-PC-Guy replied 1 year ago.
try this one

http://ge.tt/3L0fVvq/v/0?c

let me know if you have any further problems accessing the file
The-PC-Guy, Software Engineer
Category: Programming
Satisfied Customers: 1402
Experience: Extensive Knowledge in PHP, MYSQL, CSS & Javascript
The-PC-Guy and 3 other Programming Specialists are ready to help you
Expert:  The-PC-Guy replied 1 year ago.
did you have a chance to try it yet?
Customer: replied 1 year ago.

Thanks, XXXXX XXXXX I changed the sheet name, but managed to also change the macro to work with the new sheet name, so everything is good.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
< Last | Next >
  • http://ww2.justanswer.com/uploads/SP/spatlanta2010/2011-6-23_12450_photo.64x64.gif ATLPROG's Avatar

    ATLPROG

    Computer Software Engineer

    Satisfied Customers:

    7463
    MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Computer Software Engineer

    Satisfied Customers:

    5603
    Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
  • http://ww2.justanswer.com/uploads/unvadim/2010-11-15_210218_avatar.jpg unvadim's Avatar

    unvadim

    Computer Software Engineer

    Satisfied Customers:

    1158
    Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.
  • http://ww2.justanswer.com/uploads/lifesaver333/2010-10-17_191349_ls.jpeg lifesaver's Avatar

    lifesaver

    Computer Software Engineer

    Satisfied Customers:

    950
    Several years of intensive programming and application development experience in various platforms.
  • http://ww2.justanswer.com/uploads/EH/ehabtutor/2012-8-2_202016_1.64x64.jpg ehabtutor's Avatar

    ehabtutor

    Computer Software Engineer

    Satisfied Customers:

    864
    Bachelor of computer science, 5+ years experience in software development, software company owner
  • http://ww2.justanswer.com/uploads/RA/rajivsharma086/2012-6-6_17128_displaypic.64x64.jpg Raj's Avatar

    Raj

    Computer Engg.

    Satisfied Customers:

    860
    BE CS, 4+ Experience in Programming and Database (ERP)
  • http://ww2.justanswer.com/uploads/eljonis/2010-01-06_130406_eljon2.jpg Eljon's Avatar

    Eljon

    Consultant

    Satisfied Customers:

    590
    11 yrs of programming (PHP, WordPress, XSL, SQL, JavaScript)
 
 
 

Related Programming Questions

Chat Now With A Programmer
The-PC-Guy
The-PC-Guy
553 Satisfied Customers
Extensive Knowledge in PHP, MYSQL, CSS & Javascript