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 John D Your Own Question

John D
John D, BS Degree in Engineering
Category: Mac
Satisfied Customers: 9659
Experience:  Worked on Macs and PC's for 20+ years.
53785
Type Your Mac Question Here...
John D is online now
A new question is answered every 9 seconds

Hi, I am using Microsoft Excel for Mac 2011 Ver. 14.0.0. I

Customer Question

Hi,
I am using Microsoft Excel for Mac 2011 Ver. 14.0.0.
I have two worksheets with data. The first worksheet contains inventory data. It is arranged on the worksheet as such: Column A = unique id, Column B = product description, Column C = inventory numbers. The second worksheet is identical with the exception that Column C = number of items sold for 2010. I would like to merge the two sets of data onto a new worksheet that would have 4 Columns. Example : Column A = unique id, Column B = product description, Column C inventory numbers and Column D = items sold. The only possible difficulty I see is that the data in Column A does not always match up with the other worksheet because some of the products have been discontinued thus putting things out of sequence.
Please advise.
Thanks
Joseph
Submitted: 3 years ago.
Category: Mac
Customer: replied 3 years ago.
How does a MACRO work?
Expert:  John D replied 3 years ago.

Hi,

 

Would it be possible to send me the file so I can set it up for you on your file

 

Customer: replied 3 years ago.
Sure. Give me about 10 mins. Thanks.
Expert:  John D replied 3 years ago.

Ok, let me know if you need instructions for uploading files.

 

A macro is a series of code instructions which can be run by say clicking a button and it will execute the task assigned to it

 

 

Customer: replied 3 years ago.
How do I upload the file?
Expert:  John D replied 3 years ago.
Ok, go to www.wikisend.com and upload the file there (no need to sign up). You will then get a page that has the download link and File ID. Copy the download link or the File ID and come back here and paste it in your reply.

If the file has sensitive information let me know before you upload it
Customer: replied 3 years ago.
http://wikisend.com/download/607136/MacrosTest.xls

[URL=http://wikisend.com/download/60713
Expert:  John D replied 3 years ago.

Got it thanks.

 

So you want both sheets to be combined into one sheet having both Qty Sold and Qty Available columns. And where columns A and column B are exactly the same (i.e. duplicates) it should appear only once on the final sheet with the quantities combined. Correct

 

 

Customer: replied 3 years ago.
Correct.
Expert:  John D replied 3 years ago.

Ok before proceeding with writing the macro I want to make sure that your excel configuration allows you to run macros. If not you will need to change it so macros can run

 

Here is a test file

 

http://wikisend.com/download/177760/Test.xls

 

When you click the button you should get a pop up box confirming that macros are enabled

 

 

Customer: replied 3 years ago.
macros enabled.
Expert:  John D replied 3 years ago.

Great!

 

Give me 30 min or so and I will have it ready for you...

 

 

Customer: replied 3 years ago.
Will I be able to apply this to other data sets in the future?
Expert:  John D replied 3 years ago.

Yes, but if you are not familiar with transferring macros to other files you can instead simply paste the data from your other files into this 'master' file and run the macro on the new data

 

 

Customer: replied 3 years ago.
Thanks.
Expert:  John D replied 3 years ago.

Ok, here you go

 

http://wikisend.com/download/929306/Master.xls

 

The macro is triggered by clicking the Go! button on the 'Inventory' sheet. The combined list will be generated on the sheet 'Combined'

 

Hope this is ok. Let me know if you have any questions, and thank you for clicking Accept if you are satisfied with the solution

 

 

John D, BS Degree in Engineering
Category: Mac
Satisfied Customers: 9659
Experience: Worked on Macs and PC's for 20+ years.
John D and 7 other Mac Specialists are ready to help you
Customer: replied 3 years ago.
Hi,
I just found a problem. On the 'combined' worksheet item number 1-05-043 Doll Mermaid 'Coral' shows qty sold as 5 when in fact the 'qty sold' worksheet shows 1,326 sold!
Expert:  John D replied 3 years ago.

Yes you are right.

 

Here is the corrected version

 

http://wikisend.com/download/929218/Master.xls

 

Again please feel free to get back to me if you find that it needs anything else

 

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:

 
 
 
  • Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
< Last | Next >
  • Hi John, Thank you for your expertise and, more important, for your kindness because they make me, almost, look forward to my next computer problem. After the next problem comes, I'll be delighted to correspond again with you. I'm told that I excel at programing. But system administration has never been one of my talents. So it's great to have an expert to rely on when the computer decides to stump me. God bless, Bill Bill M. Schenectady, New York
  • The Expert answered my Mac question and was patient. He answered in a thorough and timely manner, keeping the response on a level that could understand. Thank you! Frank Canada
  • 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
 
 
 

Meet The Experts:

 
 
 
  • Mike

    Mac Medic

    Satisfied Customers:

    6256
    Over 20 years IT experience with Apple computers in publishing, marketing and design.
< Last | Next >
  • http://ww2.justanswer.com/uploads/macthelife/2009-10-20_1899_mikesebaharsquare64.jpg Mike's Avatar

    Mike

    Mac Medic

    Satisfied Customers:

    6256
    Over 20 years IT experience with Apple computers in publishing, marketing and design.
  • http://ww2.justanswer.com/uploads/AS/ashiknasameen/2012-5-15_141836_final2.64x64.jpg Ashik's Avatar

    Ashik

    Mac Helper

    Satisfied Customers:

    5282
    7+ Years of Experience in troubleshooting Macs, iPhone, iPad, iPod etc
  • http://ww2.justanswer.com/uploads/DP/dpean/2012-6-6_172828_avatorme1.64x64.JPG Daniel's Avatar

    Daniel

    Mac Genius

    Satisfied Customers:

    4670
    Apple certified on desktop and portable, help desk qualified. Have owned and used Macs since 1989.
  • http://ww2.justanswer.com/uploads/VI/vinodvmenon2005/1.64x64.jpg Vinod Menon's Avatar

    Vinod Menon

    Support Specialist

    Satisfied Customers:

    2068
    worked as a Tech support Associate for Apple products
  • http://ww2.justanswer.com/uploads/BE/beboo/2011-1-14_201648_n5063313142021801763.64x64.jpg Brandon M.'s Avatar

    Brandon M.

    Mac Support Specialist

    Satisfied Customers:

    1501
    10+ Years Mac Support as contractor and currently an IT Manager for law firm
  • http://ww2.justanswer.com/uploads/MA/MacDruid/IMG_0232.64x64.JPG John T. F.'s Avatar

    John T. F.

    Mac Druid

    Satisfied Customers:

    1408
    20+ years in the computer/Mac industry
  • http://ww2.justanswer.com/uploads/MA/MacHelpdesk/1d2d506.64x64.jpg David's Avatar

    David

    Mac Support Specialist

    Satisfied Customers:

    1236
    BSc, H.Dip, Apple Certified
 
 
 

Related Mac Questions